Skip to content

How to get 2d Gaussian Grid areas added to 2d diagnostic output files? #313

Closed Answered by lharris4
aschuh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, Andrew. The areas on the remapped Gaussian grid would have to be written out from the regridding software or computed analytically. The area of a grid cell bounded by latitude and longitude circles is simple to compute: I believe it is $$R_e^2 \times \Delta \lambda \times \Delta \cos \phi.$$

On the native cubed-sphere grid the coordinates of the grid cell centroids, corners, and grid-cell areas can be written to history files by adding the following lines to your diag table (assuming the grid_spec file is not defined elsewhere in this file):

"grid_spec",              -1,  "months",   1, "days",  "time"
 "dynamics", "grid_lon", "grid_lon", "grid_spec", "all", .false.,  "none", 2,
 "dyn…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by aschuh
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants