Issue with remapping
Added by Bimochan Niraula over 4 years ago
Hi everyone,
I am trying to remap some data that is in an unstructured grid, to a polar stereographic grid. I have the file Datainfile1.nc, the grid description file gridescp.nc and a sample polar stereographic datafile polstarfile.nc
I first tried to remap to a regular Gaussian grid, eg N32, by doing: cdo remapycon,N32 -setgrid,gridescp.nc Datainfile1.nc Remap_outfile1.nc
This works, and gives me a gaussian grid as expected. Now I wanted to try the same thing, but for the polar stereographic and somehow it is not working.
I tried: cdo remapycon,polstarfile.nc -setgrid,gridescp.nc Datainfile1.nc Remap_outfile2.nc
I have used this file (polstarfile) for remapping another data (where the infile was on a Lambert Azimuthal Equal Area polar projection) with no issue. But here I think I am missing something.
Thanks,
Bimo
Replies (2)
RE: Issue with remapping - Added by Bimochan Niraula over 4 years ago
Forgot to mention that the error it gives (for cdo remapycon,polstarfile.nc -setgrid,gridescp.nc Datainfile1.nc Remap_outfile2.nc )is
cdo remapcon (Abort): Target grid cell corner coordinates missing!
RE: Issue with remapping - Added by Bimochan Niraula over 4 years ago
Issue has been solved!
For anyone with the same issue, solution was to make a grid description file for the target grid. This can be just a txt with the imp info (that can be found by doing cdo -griddes polstarfile.nc
Then you can use that file to remap
cdo remapcon,PolGriddes.txt -setgrid,originalgriddescp.nc Datainfile.nc Remap_outfile2.nc