Project

General

Profile

maskregion problem

Added by Taixia Wu over 8 years ago

Hi, I used ncl_convert2nc to convert a OMI L3 data(.he5) to *.nc. CDO selname works good for the *.nc file, see the attached file. However, when I used cdo maskregion for this 200502sel.nc, it shows "*cdo maskregion (Abort): No regular grid found". The mask file have no problem. Should some problems of this 200502sel.nc data format? This problem confused me for a long time, is there anyone can help me. Thanks.


Replies (2)

RE: maskregion problem - Added by Ralf Mueller over 8 years ago

Hi!

The file does not contain any coordinated, only plain integers for gridsize (x,y). Hence, any kind of selection based on locations cannot work. You can use cdo to add location with w proper griddes

cdo -griddes -topo,r1440x720 > gd
cdo setgrid,gd 200502sel.nc 200502sel_withGrid.nc

but you have to check the locations of cource!

hth
ralf

RE: maskregion problem - Added by Taixia Wu over 8 years ago

Hi Ralf,

It works perfect for my data.Thank you for the great help!

Taixia

    (1-2/2)