Skip to content

Implement POLARCAP & NATL grids + L58 inic for all other SE-VR grids #1287

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

Open
wants to merge 8 commits into
base: cam_development
Choose a base branch
from

Conversation

adamrher
Copy link

@adamrher adamrher commented Mar 24, 2025

Fixes #979
Fixes #1330

This PR also adds L58 ncdata files for the three other SE var-res grids (ARCTIC, ARCTICGRIS, CONUS).

Copy link
Collaborator

@cacraigucar cacraigucar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know you haven't asked for review yet, but in case we decide to try to commit this quickly - I looked in here. You probably would have remembered these changes without me saying anything

@@ -254,6 +255,7 @@
<ncdata dyn="se" hgrid="ne0np4CONUS.ne30x8" nlev="32" ic_ymd="101">atm/cam/inic/se/F2000climo_CONUS_30x8_mt12_mg3_01-01-00000_c200421.nc</ncdata>
<ncdata dyn="se" hgrid="ne0np4.ARCTIC.ne30x4" nlev="32" ic_ymd="101">atm/cam/inic/se/FHIST_ARCTIC_ne30x4_mt12_1979bc-mg3_01-01-00000_c200424.nc</ncdata>
<ncdata dyn="se" hgrid="ne0np4.ARCTICGRIS.ne30x8" nlev="32" ic_ymd="101">atm/cam/inic/se/FHIST_ARCTICGRIS_ne30x8_mt12_1979bc-mg3_01-01-00000_c200428.nc</ncdata>
<ncdata dyn="se" hgrid="ne0np4.POLARCAP.ne30x4" nlev="58" ic_ymd="101">/glade/work/aherring/grids/var-res/ne0np4.POLARRES.ne30x4/inic/betacast_ERA5ml_20200101_POLARCAP_c250322.nc</ncdata>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files need to be moved into the /glade/p/cesmdata/inputdata section of derecho and make sure they have the "mandatory metadata" https://www2.cesm.ucar.edu/working_groups/Atmosphere/amwg_datasets.html

@adamrher adamrher changed the title implement POLARCAP grid in CAM implement POLARCAP grid, add L58 inic for all other SE-VR grids Jun 17, 2025
adamrher added 2 commits June 17, 2025 16:11
An alternative method for zonal-mean TEM diagnostics
@adamrher adamrher marked this pull request as ready for review June 17, 2025 22:17
@adamrher adamrher changed the title implement POLARCAP grid, add L58 inic for all other SE-VR grids implement POLARCAP & NATL grid, add L58 inic for all other SE-VR grids Jun 18, 2025
@adamrher adamrher changed the title implement POLARCAP & NATL grid, add L58 inic for all other SE-VR grids Implement POLARCAP & NATL grids + add L58 inic for all other SE-VR grids Jun 18, 2025
@adamrher adamrher changed the title Implement POLARCAP & NATL grids + add L58 inic for all other SE-VR grids Implement POLARCAP & NATL grids + L58 inic for all other SE-VR grids Jun 18, 2025
@adamrher
Copy link
Author

@rcjwills please check the inputdata sets I've set up for the NATL grid (click "Files changed" tab). In particular, the ncdata file for L32. Note I generated an L58 ncdata file, interpolated from ERA5.

@rcjwills
Copy link

@adamrher With that ncdata file (cami-mam4_0000-01-01_ne0np4.NATL.ne30x8_L32_c201109.nc), an extensive spinup with substepping was needed to get the configuration running stably. The other file in the same directory (NATL_F2000_initial.cam.i.0001-01-06-00000.nc) is from after that spinup, but it has some unusual anomalies in the stratosphere. Would it make sense to output a new cam.i file from later in one of the existing simulations? I'm not sure what's done for the other grids.

@adamrher
Copy link
Author

@rcjwills I can generate an L32 file from ERA5 using betacast. The ERA5 top is ~80 km, so it should have reasonable temperatures all the way to the model top (~40 km).

@rcjwills
Copy link

@adamrher I think that's a good idea considering that the cami-mam4_0000-01-01_ne0np4.NATL.ne30x8_L32_c201109.nc initial condition took quite some effort to get running.

@adamrher
Copy link
Author

@cacraigucar I needed to update the externals ccs_config_cesm1.0.48 and cmeps1.1.2, which has the new NATL grid support. However, these new externals are breaking CLM at the compile stage:

Building lnd with output to /glade/derecho/scratch/aherring/cam-polarcap_FHISTC_LTso_ne0ARCTICne30x4_ne0ARCTICne30x4_mt12_2304pes_250620_test/bld/lnd.bldlog.250620-163528
/glade/campaign/cgd/amp/aherring/src/cam-polarcap/components/clm/src/biogeochem/VOCEmissionMod.F90(613): error #6460: This is not a component name that is defined in the encompassing structure. [COEFF]

Is this something to bring up with Erik at the CSEG meeting, or should we include him in this thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants