Project

General

Profile

Question on interpolations when latitude_bounds missing

Added by Ed Maurer almost 9 years ago

Hello,

I'm using remapbil to extract single points from a regular (1/8-degree lat-lon netcdf file) lat-lon grid. the command looks like:
cdo outputtab,date,value -remapbil,lon=238.12936_lat=37.24711 <inputfile> > junk.txt

I receive a warning like:
Warning (cdfScanVarAttributes) : NetCDF: Variable not found - bounds_latitude
Warning (cdfScanVarAttributes) : NetCDF: Variable not found - bounds_longitude
But there are no errors and the output seems reasonable.

What does remapbil do when there are no lon/lat bounds defined in the file? I'd guess it just sets the bounds at the midpoint between the nearest coordinates. Is that correct?

Thanks,
Ed


Replies (2)

RE: Question on interpolations when latitude_bounds missing - Added by Uwe Schulzweida almost 9 years ago

Hello Ed,

Yes, if the cell bounds of a regular lonlat grid are needed and not available, then they will be set to the midpoint between the nearest coordinates. remapbil does not need the grid cell bounds.
The warning message refers to the netCDF file. It seems that the lonlat coordinates contains a link (attribute) to the lonlat bounds but these bounds are not stored in the netCDF file.

Cheers,
Uwe

RE: Question on interpolations when latitude_bounds missing - Added by Ed Maurer almost 9 years ago

Thanks for the quick reply, Uwe. That's just what I wanted to hear!

    (1-2/2)