3. Example: Adding levels to a field
3. Example: Adding levels to a fieldThis example will describe how to add height agl levels to the SPFH field in the postcntrl_gfs.xml and postcntrl_gfs_f00.xml configuration files. Using your favorite text editor, edit each configuration file by adding the bold highlighted levels to the field ‘Specific humidity on flight levels’.
<param>
<shortname>SPFH_ON_SPEC_HGT_LVL_ABOVE_GRND_FDHGT</shortname>
<level>20. 30. 40. 50. 80. 100.</level>
<scale>4.0</scale>
</param>
<shortname>SPFH_ON_SPEC_HGT_LVL_ABOVE_GRND_FDHGT</shortname>
<level>20. 30. 40. 50. 80. 100.</level>
<scale>4.0</scale>
</param>
Leave no whitespace between the opening <level> and 20. and between 100. and the closing </level>
For the list of available levels for each level type, please reference the UPP documentation on ‘Controlling which levels UPP outputs’.
You may also easily remove levels from the <level> tag by simply deleting them from the list.
* Formatting is important; use other entries in the file as a guide.