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

Update namelist_defaults_cam.xml for EW mpasa grids #4

Merged
merged 11 commits into from
Oct 3, 2023

Conversation

gdicker1
Copy link

@gdicker1 gdicker1 commented Aug 29, 2023

Add default values for mpasa120, mpasa60, and mpasa30 grids. These change should reduce the amount of commands needed to setup FHS94, FKESSLER, F2000climo, and QPC6 compsets.

These files have been generated using MPAS-A init-atmosphere core for
CAM-MPAS grids (case 13) based on standard 60 and 30km MPAS meshes.

Also add default values for mpasa60 and mpasa30 hgrids. Needed default
values for mpas_dt and mpas_len_disp since they are affected by hgrids.
These modifications should let QPC6 and F2000climo test cases to run by
default for these grids.

Added values for:
- ncdata for 32 level cases starting 01-01-2000T00:00:00Z
- bnd_topo
- drydep_srf_file
@gdicker1 gdicker1 force-pushed the ew_updateDefaultFiles branch from 9245564 to 7561c30 Compare August 29, 2023 23:15
This is a simplification specific to EarthWorks. All QPC6/aquaplanet
compsets on mpasa hgrids also use
analytic_ic_type='us_standard_atmosphere'
Adds redundant entry to list of ncdata since QPC6 cases using mpasa120
grids mistakenly use mpasa120_L32_topo_coords_c201022.nc
@gdicker1 gdicker1 force-pushed the ew_updateDefaultFiles branch from 7561c30 to 5987bbc Compare August 30, 2023 16:56
@dazlich dazlich marked this pull request as ready for review August 31, 2023 17:05
Copy link

@dazlich dazlich left a comment

Choose a reason for hiding this comment

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

I was giving this a test at 30km and the file /glade/p/cesmdata/inputdata/atm/cam/inic/mpas/cami_01-01-2000_00Z_mpasa30_L32_CFSR_230302.nc didn't exist. The bnd_topo and dry_dep files looks to be there.

@gdicker1
Copy link
Author

gdicker1 commented Sep 1, 2023

@dazlich, understood. I copied that file from the /glade/p/univ/ucsu0085/inputdata and the F2000 runscript, so I don't think we can expect that to be in the cesmdata dir or server.

If you point your case to "/glade/p/ucsu0085/inputdata2" (either with ./xmlchange DIN_LOC_ROOT=... or using the --input-dir "..." flag with create_newcase) does it work?

@dazlich
Copy link

dazlich commented Sep 1, 2023

Ah, got it @gdicker1. I've modified my scripts and all is good. Somewhere along the way I missed that inputdata2 directory.

Copy link

@dazlich dazlich left a comment

Choose a reason for hiding this comment

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

Good to go!

@gdicker1
Copy link
Author

gdicker1 commented Sep 1, 2023

That's because it's new (today)! It might not have everything (esp. for FullyCoupled), but I'm going to keep adding to it and adjusting our externals so hopefully it will in the coming weeks.

@dazlich
Copy link

dazlich commented Sep 1, 2023 via email

Copy link

@dazlich dazlich left a comment

Choose a reason for hiding this comment

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

@gdicker1 , could you add the following line to the namelist_defaults_cam.xml file?

atm/cam/inic/mpas/x1.40962.pel.58levels_2000010100_init.nc

I've already copied the file over to inputdata2.

Later, I'll make a similar request for a 58L 15km file I have.

I've been working with ocn and ice files, but I can't copy them into their directories, you're the only one with write permission.

Copy link

@dazlich dazlich left a comment

Choose a reason for hiding this comment

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

Can you also add this line to the namelist_defaults_cam.xml file?

<bnd_topo hgrid="mpasa120" nlev="58" >atm/cam/topo/mpasa120_gmted2010_modis_bedmachine_nc3000_Laplace0100_20220728.nc</bnd_topo>

The 58L initial condition file I added was generated with this topo file.

@gdicker1
Copy link
Author

gdicker1 commented Sep 8, 2023

@dazlich I've added the ncdata and bnd_topo files you requested but I haven't pushed it yet. I'd like some context on x1.40962.pel.58levels_2000010100_init.nc and to maybe align it better with other ncdata files already in the namelist_defaults.xml.

  • What's the significance of "pel" in the file name? "PE layout"?
  • Did you use CFSR data to initialize or some other data source?

Given that, would "cami_01-01-2000_00Z_mpasa120_L58_CFSR_230901.nc" be an acceptable name?

@dazlich
Copy link

dazlich commented Sep 8, 2023 via email

@dazlich
Copy link

dazlich commented Sep 9, 2023 via email

Files generated by Don Dazlich for use in EarthWorks compsets
@gdicker1 gdicker1 force-pushed the ew_updateDefaultFiles branch from 7fa798e to 9319a64 Compare September 16, 2023 04:03
@gdicker1
Copy link
Author

Force push 7fa798e to 9319a64 corrects an ndata starting tag to be ncdata. Thanks to dazlich for the catch!

@dazlich
Copy link

dazlich commented Sep 18, 2023

Shouldn't we get some 15km defaults defined as well since the new release is supposed to support it?

@gdicker1
Copy link
Author

That would be good. Do you have a 15km case working that I could grab some filepaths from?

@dazlich
Copy link

dazlich commented Sep 18, 2023 via email

Includes ncdata for 58 levels along with corresponding bnd_topo and
drydep_srf_file
@gdicker1 gdicker1 force-pushed the ew_updateDefaultFiles branch from c470936 to 069ddc6 Compare September 19, 2023 17:54
@gdicker1
Copy link
Author

Alright, I got these files added to namelist_defaults_cam.xml and inputdata2

  • bnd_topo: atm/cam/topo/mpas_15_nc3500_c20230315.nc
  • ncdata: atm/cam/inic/mpas/cami_01-01-2000_00Z_mpasa15_L58_c230316.nc
  • drydep_srf_file: atm/cam/chem/trop_mam/atmsrf_mpasa15_c20210804.nc

The fsurdat file was already added to EarthWorksOrg/CTSM#1

@dazlich
Copy link

dazlich commented Sep 19, 2023 via email

@dazlich
Copy link

dazlich commented Sep 19, 2023 via email

@gdicker1
Copy link
Author

Looks like line 343 setting bnd_topo for mpasa15 is incomplete and needs to be terminated with </bnd_topo>

Sorry looks like I didn't get that into the cam-ew1.0.004 tag I pushed. Try again now.

It would be handy to define mpas_len_disp for 15, 7.5 and 3.75km in the defaults

Agreed. I'll add those soon

@gdicker1
Copy link
Author

With the addition of a 32 level 15km notopo file, I think this PR can be wrapped up.

@gdicker1 gdicker1 merged commit 54816c2 into EarthWorksOrg:ew-develop Oct 3, 2023
gdicker1 pushed a commit that referenced this pull request Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants