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 do you change the level of the model top?

covey1@llnl_gov

New Member
For "extraterrestrial CAM" application, I want to change the position of the top of the model (TOM). I'm pretty ignorant of these things. My glance at the CAM description document indicates that TOM is set to a particular pressure level. However, when I search the User's Guide, I find nothing about how one can change the TOM pressure level.

Can someone put me on the right track?

- Curt Covey (curtcovey@yahoo.com)
 

rneale

Rich Neale
CAM Project Scientist
Staff member
The data structures which define the different ak and bk hybrid levels are set in
models/atm/cam/src/dynamics/fv/dynamics_vars.F90

You would have to define your own data structures in here to generate the ressure levels
p(i,j,k)= AkP0+ BkPs(i,j)
 

eaton

CSEG and Liaisons
The vertical levels should be defined in the initial file, which needs to be created with the fields defined on the new levels. The hybrid coefficients are read from the initial file. As Rich mentioned it would be possible (in cam3 release code) to define these arrays in dynamics_vars.F90, but those values will only be used if the namelist variable use_eta is set to true. Since we require the hybrid coordinates to be in the initial file, having them in two places is error prone, hence the ability to put them in dynamics_vars.F90 has been removed from the development code.
 
Top