Skip to content

Commit fcd54c4

Browse files
authored
Merge pull request #7 from jimmielin/main
Update namelist instructions with example for attributes for default values
2 parents 436c368 + eaaef2a commit fcd54c4

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

docs/conversion/create-namelist-xml.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,27 @@ The CCPP Framework will autogenerate the namelist reader based on the elements i
3535
<entry_id_pg version="2.0">
3636
3737
38-
<entry id="rayk0">
39-
<type>integer</type>
40-
<category>rayleigh_friction</category>
41-
<group>rayleigh_friction_nl</group>
42-
<standard_name>rayleigh_friction_center_vertical_index</standard_name>
43-
<units>1</units>
38+
<entry id="cldfrc_premit">
39+
<type>real</type>
40+
<category>cldfrc</category>
41+
<group>cldfrc_nl</group>
42+
<standard_name>tunable_parameter_for_top_pressure_bound_for_mid_level_clouds_for_cloud_fraction</standard_name>
43+
<units>Pa</units>
4444
<desc>
45-
Variable to specify the vertical index at which the
46-
Rayleigh friction term is centered (the peak value).
45+
Top pressure bound for mid level cloud.
4746
</desc>
4847
<values>
49-
<value>2</value>
48+
<value dyn="mpas">75000.0D0</value>
49+
<value dyn="se">40000.0D0</value>
50+
<value>40000.0D0</value>
5051
</values>
51-
</entry>
52+
</entry>
5253
5354
5455
</entry_id_pg>
5556
```
5657
!!!Note "namelist values"
57-
When populating the value fields, you don't need to port all of them at this time. You need to put in the value that is used by default by CAM, but the rest will be ported once all schemes have been ported.
58+
When porting namelist values from CAM namelist defaults, the attributes supported in CAM-SIMA can be retrieved by printing out `cam_nml_dict` (or `cam_nml_dict.keys()`) in `cime_config/buildnml` [at the end of the function call](https://github.com/ESCOMP/CAM-SIMA/blob/3699359ebfe81b00273a9815d128cae903a26208/cime_config/buildnml#L355). An example of supported attributes that may be commonly used are: `phys_suite`, `ic_ymd`, `dyn`, `hgrid`, `analytic_ic`, `ocn`.
5859

59-
Once you have made your namelist file, proceed to [4 - Interstitials](interstitials.md)
60+
61+
Once you have made your namelist file, proceed to [4 - Interstitials](interstitials.md)

0 commit comments

Comments
 (0)