Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Table of contents, anchors

...

For instructions on connecting to derecho or casper see: https://ncar.github.io/CESM-Tutorial/notebooks/prereqs/prereqs_overview.html   

Table of Contents
maxLevel1

Anchor
Intro
Intro
Naming Conventions

grid_name = ne0np4.NAME.ne30xR where NAME is a unique name for your grid, ne30 is for the base resolution,  R is for the refinement factor of the highest resolution region.  All variable resolution grids with 4 GLL points must begin with ne0np4.

...

  • $REPO =  /glade/work/emmons/tutorial_Nanjing/ne0np4.Nanjing.ne30x8/

Anchor
Create Grid
Create Grid
Create a new variable resolution mesh (VRM)

In your repository directory, create a 'grids' subdirectory.

...

Plot EXODUS file with /glade/u/home/emmons/tutorial_Nanjing_notebooks/Plot_exodus_grid.ipynb

Anchor
Create mesh files
Create mesh files
Create grid files

Several types of grid files need to be created.  These grids are described on the overview page.

...

This creates the ESMF mesh file: Nanjing_ne30x8_np4_MESH.nc

Anchor
Input files
Input files
Generate CESM input files on new grid

To keep with previous conventions for the structure of your new grid repository create directories inic, maps, atmsrf and topo in your repository:

...

This creates the netcdf files that will be used in your simulation, specified in user_nl_clm: fsurdat = '/repo_path/land/surfdata_ ... .nc' and flanduse_timeseries = '/repo_path/land/landuse.timeseries_ ... .nc'.  In your $REPO, create a directory 'land' (mkdir $REPO/land) and copy these 2 nc files to it.

> conda deactivate

Anchor
Add grid to CESM
Add grid to CESM
Set up CESM3 with new grid

On derecho, checkout a CESM3 beta tag (that uses ctsm5.2).  It is recommended the source code is cloned into your work (or scratch, if necessary; you might run out of space in home) directory where sufficient storage is available. CESM3 has replaced manage_externals with git-fleximod, which requires the following commands:

...

Note the “grid name” must match the ”domain name”  in component_grids_nuopc.xml.

Anchor
Run CAM
Run CAM
Set up a CAM case for testing new grid

On derecho, go to the directory (or create one) for all your CESM cases (in your /glade/u/home/$USER or /glade/work/$USER directory). Create a new case with FHIST compset:

...

Save the final CLM restart file (*.clm2.r.*.nc) to use for finidat in user_nl_clm in future runs.

Anchor
Run CAM-chem
Run CAM-chem
Set up a CAM-chem case for production

Create a case with FCnudged compset

...