Skip to content

Commit 97dcc39

Browse files
committed
misc updates
1 parent 62646a0 commit 97dcc39

File tree

10 files changed

+22
-21
lines changed

10 files changed

+22
-21
lines changed

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you wish to add a new ocean and sea-ice mesh you will need to use the compass
1313

1414
1. [Generate a new grid file ](adding-grid-support-step-by-step-guide/generate-new-grid-file.md)
1515
1. [Generate mapping files ](adding-grid-support-step-by-step-guide/generate-mapping-files.md)
16-
1. [Generate domain files ](/generate_domain_files/)
16+
1. [Generate domain files ](../../generate_domain_files/index.md)
1717
1. [Generate a topography file ](adding-grid-support-step-by-step-guide/generate-topo-file.md)
1818
1. [Generate atmospheric initial condition ](adding-grid-support-step-by-step-guide/generate-atm-initial-condition.md)
1919
1. [Generate land input data (*fsurdat*) ](adding-grid-support-step-by-step-guide/generate-lnd-input-data.md)

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-RRM-grid-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Generate a RRM Grid File with SQuadGen
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
<!-- disable linter checks for inline html to allow collapsable code sections -->
64
<!-- markdownlint-disable MD033 --> <!-- no-inline-html -->
75

@@ -256,3 +254,5 @@ RRM "quality" can be measured with the “Max Dinv-based element distortion” m
256254
This metric measures how distorted the elements become in the mesh transition region. It is the ratio of the two singular values of the 2x2 derivative matrix of the element map to the unit square, representing the ration of the largest length scale to the smallest length scale.
257255

258256
A grid of perfect quadrilaterals will have a value of 1.0. The equal-angle cubed-sphere grid has a value of 1.7. A high quality regionally refined grid will have a value less than 4. With a high quality grid, usually one can run with the timesteps used in a uniform grid with matching fine resolution. RRM grids with a value > 4 may require smaller timesteps for stability. Very large values indicate a problem with the grid and it should be redesigned.
257+
258+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generate Atmospheric Initial Condition
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
!!!WARNING
64
This page is still under construction
5+
6+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generate Land Initial Condition (*finidat*)
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
!!!WARNING
64
This page is still under construction
5+
6+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generate Land Input Data (*fsurdat*)
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
!!!WARNING
64
This page is still under construction
5+
6+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-mapping-files.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Generate mapping files
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
In order to pass data between different components at runtime, a set of mapping files between each component is generated offline.
64

75
See [Recommended Mapping Procedures for E3SM Atmosphere Grids](https://acme-climate.atlassian.net/wiki/spaces/DOC/pages/178848194/Recommended+Mapping+Procedures+for+E3SM+Atmosphere+Grids) for a discussion of different remap algorithms and when to use each.
@@ -45,7 +43,7 @@ Chrysalis (LCRC):
4543

4644
## Create Mapping Files
4745

48-
ncremap provides a convient
46+
ncremap provides a convient
4947

5048
We can use ncremap to generate ALL the needed mapping files between two grids, in this example the ne4 atmosphere and the oQU240 ocean grid (for the moment, we will put the land on the same grid as the atmosphere):
5149

@@ -54,3 +52,5 @@ atm_grid_file=ne4.g
5452
ocn_grid_file=/global/cfs/cdirs/e3sm/inputdata/cpl/gridmaps/oQU240/ocean.QU.240km.scrip.151209.nc
5553
cd ${output_root} && ncremap -P mwf -s $ocn_grid_file -g $atm_grid_file --nm_src=oQU240 --nm_dst=ne4np4 --dt_sng=20181114
5654
```
55+
56+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-new-grid-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Generate a new Grid File
22

3-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
4-
53
In order to generate mapping files between a new atmosphere grid and the surface component grids, we need a file that describes the new grid. [TempestRemap](https://github.com/ClimateGlobalChange/tempestremap) is our preferred tool for grid file generation because it can handle the spectral element grids used by the atmosphere dycore. The initial grid file will be saved in an "exodus" file with a `.g` extension (see [Types of Grid Description Files](../adding-grid-support-grid-types.md) for more info). TempestRemap can be installed via conda.
64

75
## Generating a Standard Exodus Grid File
@@ -36,3 +34,5 @@ GenerateCSMesh --alt --res ${NE} --file ${GRID_FILE_PATH}/ne${NE}.g
3634
GenerateVolumetricMesh --in ${GRID_FILE_PATH}/ne${NE}.g --out ${GRID_FILE_PATH}/ne${NE}pg2.g --np 2 --uniform
3735
ConvertMeshToSCRIP --in ${GRID_FILE_PATH}/ne${NE}pg2.g --out ${GRID_FILE_PATH}/ne${NE}pg2_scrip.nc
3836
```
37+
38+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)

docs/dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide/generate-topo-file.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
# Generate a Topography File
2+
13
<!-- disable certain linter checks here for more readable nested markdown -->
24
<!-- markdownlint-disable MD007 --> <!-- ul-indent -->
35
<!-- markdownlint-disable MD033 --> <!-- no-inline-html -->
46

5-
# Generate a Topography File
6-
7-
[Back to Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)
8-
97
Topography needs to be interpolated from a high resolution dataset, and then doctored a bit to allow the model to run stably with the new topography. More information can be found in the following paper:
108

119
[P.H. Lauritzen, J.T. Bacmeister, P.F. Callaghan, M. Taylor, NCAR_Topo (v1.0): NCAR global model topography generation software for unstructured grids, Geosci. Model Dev., 8, 3975-3986, 2015.](https://www.geosci-model-dev.net/8/3975/2015/)
@@ -617,3 +615,5 @@ To submit the slurm batch job use `sbatch <script>`
617615
#---------------------------------------------------------------------------
618616
```
619617
</details>
618+
619+
Back to step-by-step guide for [Adding Support for New Grids](../adding-grid-support-step-by-step-guide.md)

docs/dev-guide/adding-grid-support/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<!-- disable certain linter checks here to allow vertical alignment of links -->
44
<!-- markdownlint-disable MD039 --> <!-- no-space-in-links -->
55

6-
<!-- - [Atmosphere Grid Overview ](/EAM/atmosphere-grid-overview.md) -->
7-
- [Atmosphere Grid Overview ](/EAM/tech-guide/atmosphere-grid-overview)
6+
- [Atmosphere Grid Overview ](../../EAM/tech-guide/atmosphere-grid-overview.md)
87
- [Grid Description File Overview ](adding-grid-support-grid-types.md)
9-
- [Step-by-Step Guide to Support a new Grid ](adding-grid-support-step-by-step-guide.md)
8+
- [Step-by-Step Guide to Support a New Grid ](adding-grid-support-step-by-step-guide.md)

tools/generate_domain_files/docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ NE=30
4545
MAP_FILE=${MAP_FILE_ROOT}/map_oEC60to30v3_to_ne${NE}pg2_traave.20240313.nc
4646
python generate_domain_files_E3SM.py -m ${MAP_FILE} -o oEC60to30v3 -l ne${NE}pg2 --date-stamp=9999 --output-root=${OUTPUT_ROOT}
4747
```
48+
49+
Back to step-by-step guide for [Adding Support for New Grids](../dev-guide/adding-grid-support/adding-grid-support-step-by-step-guide.md)

0 commit comments

Comments
 (0)