Is there a way to convert Yin-Yang grid to latitude-longitude grid without looksing the overlapping areas?
Added by ep gupal over 1 year ago
I have an issue while converting Yin-Yang grid (https://www.mpa-garching.mpg.de/184309/Yin-Yang) data into latitude-longitude grid. But, during the process, I am loosing the overlapping parts of the Yin-Yang grid. Is there a way to preserve the overlapping parts? I am trying to convert GEM (https://doi.org/10.1029/2019MS001781) model simulation data into latitude-longitude grid.
Here is the command that I use to convert Yin-Yang grid data to latitude-longitude data.
cdo remapcon,target.grid.txt -setgrid,grid.file.nc input.nc output.nc
the target.grid.txt
contains target grid information like the following
# 0.25 degree latitude-longitude grid gridtype = lonlat gridsize = 1038240 xsize = 1440 ysize = 721 xname = lon xlongname = "longitude" xunits = "degrees_east" yname = lat ylongname = "latitude" yunits = "degrees_north" xfirst = -180.0 xinc = 0.25 yfirst = -90.0 yinc = 0.25
The grid.file.nc
contains the grid information of the GEM model, which is Yin-Yang grid.
Thank you.
Replies (2)
RE: Is there a way to convert Yin-Yang grid to latitude-longitude grid without looksing the overlapping areas? - Added by ep gupal over 1 year ago
For the reference this is what I get when I convert it.
gem.sample.pdf (609 KB) gem.sample.pdf |
RE: Is there a way to convert Yin-Yang grid to latitude-longitude grid without looksing the overlapping areas? - Added by Karin Meier-Fleischer over 1 year ago
In my opinion it is not possible to keep 'overlapping parts'.