Hi All,
I found that the coordinates in the output netcdf files (e.g., ocean_his.nc) of my simulation are lat/lon despite that I only defined the x/y coordinates of each grid points in the grid file. The lat/lon coordinate variables in the output files are all zero matrices. I am wondering if the there is a switch or setting in ocean.in that can change the lat/lon coordinates in the output files to x/y?
Thanks!
Guangyu
write x,y coordinates instead of lat/lon into output files
Re: write x,y coordinates instead of lat/lon into output fil
There's a switch, all right, but it's in the grid file, not ocean.in. It is called "spherical" and is true for lat/lon grids, false for x/y grids.
Re: write x,y coordinates instead of lat/lon into output fil
Got it. Thanks a lot!