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

The problems of the dimension of variables in CESM

Dears

The dimensions of variables of u, v and q (refers to state%u, state%v and state%q in CESM) are two, like this pattern of var (:ncol,:pver). The first dimension of ncol indicates the number of grids. It means the two-dimensional spatial information was transformed to one dimension in source code of CESM. The question is that how to determine the south-north, and west-east directions in the calculation of wind divergence and wind gradient.

Thanks for any helps
Yours
 

peverley

Courtney Peverley
Moderator
Staff member
Hello!

A couple places to look that should help you:

1. $CAM/src/dynamics/<DYCORE>/dyn_grid.F90
subroutine: get_dyn_grid_info
2. $CAM/src/infrastructure/phys_grid.F90
subroutine: phys_grid_init()

Let me know if that doesn't help.
Courtney
 
Top