[MITgcm-support] Saving grid coordinates in the output files
Sanjiv Ramachandran
sramachandran at umassd.edu
Wed Dec 26 11:55:54 EST 2018
Hi all,
The 'X' and 'Y' variables in my output files (state*nc, grid*nc) do not appear to be saving the coordinates but are merely 1-dimensional arrays 1:Nx and 1:Ny, respectively, where Nx and Ny are the number of grid points. How can I get the X and Y variables to save:
(i) The physical values of X and Y (in meters or km) for simulations with Cartesian grids?
(ii) The latitude and longitude (in degrees) for simulations with spherical grids?
The meta data for 'X' suggests the variable contains the "longitude of cell center" in units "degrees east." Perhaps I am failing to set some option in the 'data' files.
Thanks for your help.
Sanjiv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20181226/fa54b1f3/attachment.html>
More information about the MITgcm-support
mailing list