Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to add a new variable in mod_domfile

Hi all,I am using CCSM4 F component to do my research. I plan to change the heat flux over the ocean. At first I tried to change the mask (1 for ocean, and 0 for land), say change the mask to -999 over the region where I want to modify the heat flux. However, the model cannot run because the maximum allowable difference of mask is 1. Now I am thinking to add a new variable to mod_domfile (in docn.buildnml.csh) as a "marker". Similarly, change the heat flux where the marker equals, say -999. But I do not know how to modify the source code, e.g., which file should I change to let the model read this new variable?Thanks in advance. 
 
Top