Project

General

Profile

setlatlonbox error with goes16 netcdf files

Added by Rodrigo Sousa almost 4 years ago

Hello,

I'm trying to select a box from a GOES16 netcdf file (attached) but the command return this error:

cdo -r -b 64 -sellonlatbox,-48,-40,-18,-25 20200501130000-STAR-L2P_GHRSST-SSTsubskin-ABI_G16-ACSPO_V2.70-v02.0-fv01.0.nc out.nc

cdo sellonlatbox: Unsupported grid type: projection  
cdo sellonlatbox (Abort): Unsupported grid type!

Even if I select the variable before:

cdo -r -b 64 -selname,sea_surface_temperature -sellonlatbox,-48,-40,-18,-25 20200501130000-STAR-L2P_GHRSST-SSTsubskin-ABI_G16-ACSPO_V2.70-v02.0-fv01.0.nc out.nc

cdo selname: Started child process "sellonlatbox,-48,-40,-18,-25 20200501130000-STAR-L2P_GHRSST-SSTsubskin-ABI_G16-ACSPO_V2.70-v02.0-fv01.0.nc (pipe1.1)".              
cdo(2) sellonlatbox: Unsupported grid type: projection
cdo(2) sellonlatbox (Abort): Unsupported grid type!

Also attached is the cdo griddes ifile.

Can anyone help me?


Replies (1)

RE: setlatlonbox error with goes16 netcdf files - Added by Ralf Mueller almost 4 years ago

hi Rodrigo!

you input is not on a grid in lon/lat but a projection in radians. your have to
  • interpolate the data onto a grid in lon/lat or
  • compute the lon/lat coordinates of your projection coordinates
    for using CDO with it

Maybe there is a proj6 solution, but I don't know it.

hth
ralf

    (1-1/1)