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

Accessing SE grid corners in CAM physics

andreasb

New Member
Hi,I am wondering if there is a way to access the grid corners (in spherical coordinates) in CAM physics modules when using the spectral element core. It seems like there is no simple straightforward way to implement this , but I'd appreciate any help that I can get. From what I see, the elements have corners saved in gnomonic and 3D coordinates. So to access them in the physics modules, could I do the following?1. In element_mod, add spherical corners to element_t2. In cube_mod subroutine coordinates_atomic, add call to cart_to_spherical to calculate corners in spherical coordinates3. In dyn_grid, add subroutine analagous to get_horiz_grid_d to get corners
Thanks,Andreas
 

eaton

CSEG and Liaisons
This is an unusual thing to do since the physics package is designed to be independent of which dycore is used.  Nonetheless, the strategy you outline seems about right.  The dycore is always responsible for knowledge of the grid, and the dyn_grid module contains the methods used by the physics package to get grid information. 
 
Top