-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create F1850SC5-CMIP6 compset #2721
Conversation
Create the F1850SC5-CMIP6 compset, since the following settings will be different from the F1850C5-CMIP6 compset used by the companion coupled compset (piControl, A_WCYCL1850S_CMIP6) * l_ieflx_fix flag default to .false. * Atmosphere and land initial condition data use results at the end (0501-01-01) of the DECK piControl simulation. * SST and sea ice data use the CMIP6 climatology calculated from 1870-1879. [BFB] - Bit-For-Bit [NML] - Namelist Changing
set check_finidat_year_consistency = .false. [BFB] - Bit-For-Bit [NML] - Namelist Changing
Hi @tangq , if the intention of this F compset is to use the piControl spun-up cam and clm initial conditions, the changes look all good to me. But do we really want that, esp. for clm initial condition from a coupled run? When land simulation has substantial biases, it would have (probably unintended) consequence on simulations using this F-case. |
Hi @wlin7 , the land initial condition is usually taken from a long-time land-only simulation. @golaz and I thought that the DECK piControl simulation spun-up the land for another hundreds of years, so it should provide a better land state than its original initial state. Therefore, we would like to replace the land IC for the F-case. |
I see @tangq . My concern is that the land state from coupled simulation may contain larger biases than that from land-only spun-up. Ideally, I think an extended land-only spin up might suit better for general purpose of F-case. That said, this special compset can have its own purpose. |
*********1*********2*********3*********4*********5*********6*********7** Turn off IEFLX fixer by setting ieflx_opt = 0. l_ieflx_fix = .false. is not effective, and thus removed. [BFB] - Bit-For-Bit [NML] - Namelist Changing
After discussing with @kaizhangpnl , I found that to turn off IEFLX fixer, ieflx_opt should be 0. l_ieflx_fix = .false. is not effective, and thus removed from the use case xml file. |
Do we also want this compset in the master? |
We eventually want it on master as well. But the land IC file from the DECK piControl run doesn't work with current master due to post-deck changes. We will need new land input files. |
Got it @tangq . Thanks for the reminder of the land IC format change. |
Sorry if I've asked this question before, but why is l_ieflx_fix still in the model at all if it doesn't actually do anything? Keeping things like this is dangerous, as this PR shows... @kaizhangpnl - can you answer this question? |
I think @wlin7 asks a good question about which finidat file to use. It would be good to use as realistic a finidat as possible because even though our current goal is F2000 vs F1850 sensitivity runs, these F compsets will (hopefully) be what the atmos team uses for all their F runs for v2 and beyond. In this context @thorntonpe describes best practices as spinning up the land using prescribed atmosphere data from reanalysis, using this to run an F case with high-frequency output, then using that output to spin up another prescribed-atmosphere run (see https://acme-climate.atlassian.net/wiki/spaces/Docs/pages/872579110/Adding+support+for+new+atmosphere+resolutions for full description). This 3 step process seems more complex than I expect to be able to convince anyone to do, and it is unclear where we'd get reanalysis for 1850. For our F2010 compset, an alternative (which I prefer) is to use the end of the F20TR simulation. Perhaps the strategy for F1850 should be to start with the F2010 finidat and run it until the land equilibrates, then use that? As an aside, I just looked in namelist_defaults_clm4_5.xml for what I think are the current F1850 and F2000 finidat files. They start with "climi.I", which makes me think they come from an "I" run = prescribed atmosphere rather than following Peter T's suggestion. Note that 1850_CMIP6_control.xml also sets finidat to to a file that starts with I... which is inconsistent with what I thought @golaz told me... The files from the previous paragraph are: |
I looked through the changes and they look good to me. My understanding is that the 1850S_cam5_CMIP6.xml file you added differs from 1850_cam5_CMIP6.xml only in adding ieflx_opt=0 and 1850_SCMIP6_control.xml differs only from 1850_CMIP6_control.xml in using a different finidat. Is this true? If so, would it be worth adding comments to these files explaining this difference and saying they were needed because the build infrastructure doesn't allow one to build new compsets by copying an old one then changing a thing or two? |
Also, did you try a model run with this new compset yet? |
I went back and looked at PR #1303 and it looks like l_ieflx_fix was introduced there but not used. @kaizhangpnl , was it supposed to be used at some point? That should have been caught in review. If its not used in the code, it should be removed from the namelist and all use cases that try to set it. |
Thanks for the sleuthing, Rob! Should we create a separate issue to remove l_ieflx_fix and assign it to @kaizhangpnl? |
|
@PeterCaldwell , regarding your test run question, I successfully ran this new compset for 1 day on Edison with the new input files on my local directories. I uploaded those new files to the E3SM input data server: https://web.lcrc.anl.gov/public/e3sm/inputdata/, but I don't know the procedures for testing downloading files from the input data server. Can I do such tests before the PR is reviewed and approved? The only instructions I could find are on this page (https://acme-climate.atlassian.net/wiki/spaces/Docs/pages/707002387/E3SM+Input+Data+Servers). |
Once we have a plan for the land initial condition, I can work on it and change the setting in this PR to pick it up. |
@bishtgautam, maybe you want to chime in regarding the best option for land initial condition for the new F1850 compset? |
l_ieflx_fix was removed from the namelist definition file in PR1498 (https://github.com/E3SM-Project/E3SM/pull/1498/files) , but it seems that it was brought back again by 8afcf7d#diff-c93f649e7d1adfaa25adaf15495ea615. It should have been removed from phys_control.F90 to avoid the confusion. After checking PR1498 and its merge to master again, I just found that the branch "kaizhangpnl/atm/ieflx_cleanup" has the correct code implementation/cleanup. l_ieflx_fix in both namelist definition file and in all the related F90 files was removed. However, the final merge (8abf0b8 ) missed one file (phys_control.F90). This is why when l_ieflx_fix was brought back again in namelist_definition.xml (8afcf7d ) the model still compiled and ran well. Should I create a separate PR to remove l_ieflx_fix? |
It seems that we all agree with the method @PeterCaldwell proposed to generate the land IC. I will work on it. How long is a good length for equilibrium? 50 years? |
Which namelist has the path to the sst file? I assume its docn so the file should go in inputdata/ocn/docn7/SSTDATA |
@rljacob , it is ice_in and docn.streams.txt.prescribed. The file is used by both docn and cice. Historically, such sst/ice files required by F-cases are put on inputdata/atm/cam/sst. Starting to see some compsets assuming the the path of inputdata/ocn/docn7/SSTDATA. |
The sst file path is the file ice_in and docn.streams.txt.prescribed and controlled by the setting in cime/src/components/data_comps/docn/cime_config/config_component.xml. What the latest default path for those files? I will make change to this PR and consistently on the input data server. |
Lets start using inputdata/ocn/docn7/SSTDATA. The cam one is from when CAM had a true standalone mode an its own data ocean model. Those don't exist anymore. |
I think the strategy should be to run for ~20 yrs, look at timeseries some measure of land spin-up, and continue running until that timeseries stabilizes. @bishtgautam and @thorntonpe - what variable(s) do you think would be appropriate to use to measure land spin up? |
I modified the path to use inputdata/ocn/docn7/SSTDATA. The SST and sea ice file was also moved to that directory on the input data server. |
I retrieved the land restart file at 2015-01-01 from the DECK A1 simulation and configured a run to use this F1850SC5-CMIP6 compset with that land restart file. I will do one submission. It can finish about 18 years. I will post the link to the results here when it's done. |
That sounds great. Thanks! |
The F1850SC5-CMIP6 land IC simulation will finish 18 years today. The results are on Edison:/global/cscratch1/sd/tang30/ACME_simulations/edison.20190125_maint-1.0.F1850SCMIP6_landIC.ne30_oECv3/run. Next, we will need to know the state of land spin-up to decide if it is necessary to extend this run. |
Use the same land IC file as the transient compset F20TRC5-CMIP6 [BFB] - Bit-For-Bit [NML] - Namelist Changing
@PeterCaldwell and I discussed options about the land IC, we decided to use the same land IC file as the transient compset (F20TRC5-CMIP6) to maintain consistency between F1850 and AMIP simulations. I have made the change on this PR. |
Hi @kaizhangpnl , @PeterCaldwell , @golaz , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ieflx setting looks fine to me.
Does this need to be on master as well as maint-1.0? |
Eventually we want this on master too. My understanding is that some new files will be needed to make this compset compatible with master, but I don't know how to create those files. So I only added it to maint-1.0. |
@tangq , do you want all your suggested reviewers to approve for this PR? I feel it is safe to merge. |
@wlin7 , I think so too. It should be save to merge. |
Sorry for being tardy in my review. Feel free to merge without my review. If you want to wait, I'll try to find time tomorrow. |
No problem at all, @PeterCaldwell . It is definitely very helpful if you can find time to take a look. There is no hurry for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It all looks great to me. Thanks Qi!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It all looks great to me. Thanks Qi!
Thanks @PeterCaldwell . I am going to merge it today. |
Create F1850SC5-CMIP6 compset Create the F1850SC5-CMIP6 compset (letter "S" in the name stands for special), since the following settings will be different from the F1850C5-CMIP6 compset used by the companion coupled compset (piControl, A_WCYCL1850S_CMIP6) l_ieflx_fix flag default to .false. Atmosphere and land initial condition data use results at the end (0501-01-01) of the DECK piControl simulation. This is particularly useful to have a better spun-up land state. SST and sea ice data use the CMIP6 climatology calculated from 1870-1879. All the new input files were uploaded to the E3SM input data server. [BFB]
Merged to maint-1.0. |
…rf_fixes Automatically Merged using E3SM Pull Request AutoTester PR Title: Change perf suite. Add test mod PR Author: jgfouca PR LABELS: AT: AUTOMERGE, AT: Integrate Without Testing
Create the F1850SC5-CMIP6 compset (letter "S" in the name stands for special), since the following settings will be different from the F1850C5-CMIP6 compset used by the companion coupled compset (piControl, A_WCYCL1850S_CMIP6)
All the new input files were uploaded to the E3SM input data server: https://web.lcrc.anl.gov/public/e3sm/inputdata/