Skip to content
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

Merged
merged 6 commits into from
Mar 13, 2019
Merged

Create F1850SC5-CMIP6 compset #2721

merged 6 commits into from
Mar 13, 2019

Conversation

tangq
Copy link
Contributor

@tangq tangq commented Feb 3, 2019

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: https://web.lcrc.anl.gov/public/e3sm/inputdata/

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
@tangq tangq added compset BFB PR leaves answers BFB maint-1.0 PRs for or issues about maint-1.0 labels Feb 3, 2019
@wlin7
Copy link
Contributor

wlin7 commented Feb 4, 2019

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.

@tangq
Copy link
Contributor Author

tangq commented Feb 4, 2019

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.

@wlin7
Copy link
Contributor

wlin7 commented Feb 4, 2019

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
@tangq
Copy link
Contributor Author

tangq commented Feb 4, 2019

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.

@wlin7
Copy link
Contributor

wlin7 commented Feb 4, 2019

Do we also want this compset in the master?

@tangq
Copy link
Contributor Author

tangq commented Feb 4, 2019

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.

@wlin7
Copy link
Contributor

wlin7 commented Feb 4, 2019

Got it @tangq . Thanks for the reminder of the land IC format change.

@PeterCaldwell
Copy link
Contributor

PeterCaldwell commented Feb 4, 2019

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?

@PeterCaldwell
Copy link
Contributor

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:
clmi.I1850CLM45.ne30_oEC.1155ba0.clm2.r.nc
clmi.ICRUCLM45.ne30_g16.1155ba0.clm2.r.nc
I1850CLM45.ne30_oECv3.edison.intel.36b43c9.clm2.r.0001-01-06-00000_c20171023.nc
for 1850,2000, and CMIP6 1850, respectively. I ncdumped them, but they don't have any identifying metadata.

@PeterCaldwell
Copy link
Contributor

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?

@PeterCaldwell
Copy link
Contributor

Also, did you try a model run with this new compset yet?

@rljacob
Copy link
Member

rljacob commented Feb 5, 2019

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.

@rljacob
Copy link
Member

rljacob commented Feb 5, 2019

Thanks for the sleuthing, Rob! Should we create a separate issue to remove l_ieflx_fix and assign it to @kaizhangpnl?

@golaz
Copy link
Contributor

golaz commented Feb 5, 2019

  • We should get rid of l_ieflx_fix everywhere it appears. Since both @tangq and I were confused by it (even though I should have remembered it!), others might as well.
  • Regarding initial conditions, I'm open to any reasonable (doable) option. The methodology suggested by @thorntonpe is probably the best, but I suspect that nobody would volunteer to apply it. Furthermore it's not obvious how to extend it for 1850. @PeterCaldwell suggestion above seems also reasonable (reuse land initial conditions from the CMIP6 AMIP simulations) and equilibrate it further for 1850. @wlin7, do you think this is a better option?

@tangq
Copy link
Contributor Author

tangq commented Feb 5, 2019

@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).

@tangq
Copy link
Contributor Author

tangq commented Feb 5, 2019

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.

@golaz
Copy link
Contributor

golaz commented Feb 5, 2019

@bishtgautam, maybe you want to chime in regarding the best option for land initial condition for the new F1850 compset?

@kaizhangpnl
Copy link
Contributor

kaizhangpnl commented Feb 5, 2019

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?

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?

@tangq
Copy link
Contributor Author

tangq commented Feb 7, 2019

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?

@rljacob
Copy link
Member

rljacob commented Feb 7, 2019

Which namelist has the path to the sst file? I assume its docn so the file should go in inputdata/ocn/docn7/SSTDATA

@wlin7
Copy link
Contributor

wlin7 commented Feb 7, 2019

@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.

@tangq
Copy link
Contributor Author

tangq commented Feb 7, 2019

Which namelist has the path to the sst file? I assume its docn so the file should go in 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.

@rljacob
Copy link
Member

rljacob commented Feb 7, 2019

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.

@PeterCaldwell
Copy link
Contributor

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?

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?

@tangq
Copy link
Contributor Author

tangq commented Feb 7, 2019

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 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.

@tangq
Copy link
Contributor Author

tangq commented Feb 8, 2019

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?

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 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.

@PeterCaldwell
Copy link
Contributor

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?

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 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!

@tangq
Copy link
Contributor Author

tangq commented Feb 9, 2019

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
@tangq
Copy link
Contributor Author

tangq commented Feb 14, 2019

@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.

@wlin7
Copy link
Contributor

wlin7 commented Mar 7, 2019

Hi @kaizhangpnl , @PeterCaldwell , @golaz ,
Can you please take a look of this PR? Qi requested you to give a review. I have also reviewed and performed tests with this PR. Thanks.

Copy link
Contributor

@kaizhangpnl kaizhangpnl left a 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.

@rljacob
Copy link
Member

rljacob commented Mar 7, 2019

Does this need to be on master as well as maint-1.0?

@tangq
Copy link
Contributor Author

tangq commented Mar 7, 2019

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.

@wlin7
Copy link
Contributor

wlin7 commented Mar 12, 2019

@tangq , do you want all your suggested reviewers to approve for this PR? I feel it is safe to merge.

@tangq
Copy link
Contributor Author

tangq commented Mar 12, 2019

@wlin7 , I think so too. It should be save to merge.

@PeterCaldwell
Copy link
Contributor

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.

@wlin7
Copy link
Contributor

wlin7 commented Mar 13, 2019

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.

Copy link
Contributor

@PeterCaldwell PeterCaldwell left a 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!

Copy link
Contributor

@PeterCaldwell PeterCaldwell left a 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!

@wlin7
Copy link
Contributor

wlin7 commented Mar 13, 2019

Thanks @PeterCaldwell . I am going to merge it today.

@wlin7 wlin7 merged commit b7b056a into maint-1.0 Mar 13, 2019
wlin7 added a commit that referenced this pull request Mar 13, 2019
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]
@wlin7
Copy link
Contributor

wlin7 commented Mar 13, 2019

Merged to maint-1.0.

@tangq tangq deleted the tangq/atm/F1850-LR-compset branch May 28, 2019 00:26
bartgol pushed a commit that referenced this pull request Mar 27, 2024
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB compset maint-1.0 PRs for or issues about maint-1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants