Project

General

Profile

Re-Grid of netcdf data, ERROR -bounds not found.

Added by Nesha Wright over 5 years ago

Hi all,

I am trying to re-grid 'states_hist.nc' to match the grid of 'UVic_grid.nc'. I get the following error:

+ cdo -r -remapbil,UVic_grid.nc states_hist.nc LU_hist_UVic_grid.nc
Warning (cdfScanVarAttributes) : NetCDF: Variable not found - bounds_time
Warning (cdfScanVarAttributes) : NetCDF: Variable not found - bounds_lat
Warning (cdfScanVarAttributes) : NetCDF: Variable not found - bounds_lon

cdo remapbil (Abort): Unsupported grid type: generic

Is there a command similar to the one I am using or an alternative way of doing this? I have attached pics of the descriptions as the files are far too large to upload.
Thanks!

Nesha


Replies (3)

RE: Re-Grid of netcdf data, ERROR -bounds not found. - Added by Karin Meier-Fleischer over 5 years ago

Hi Nesha,

without your data I can only guess that the bound_times, bounds_lat, and bounds_lon variables are not stored in the destination/target grid file. Can you upload the data or the output of 'ncdump -h' of both files.

-Karin

RE: Re-Grid of netcdf data, ERROR -bounds not found. - Added by Nesha Wright over 5 years ago

Hi

I have uploaded screenshots using ncdump -h as you recomended. The ones of states_hist.nc don't included the middle section (there are a crazy number of variables) however I think the sections I have included should be sufficient. Thank you for your time.

Cheers,
Nesha

RE: Re-Grid of netcdf data, ERROR -bounds not found. - Added by Karin Meier-Fleischer over 5 years ago

Unfortenuately, I can't see if there are the bounds_lon, bounds_lat and bounds_time
variables included in the file states_hist.nc.

Please, send the output of the following commands

ncdump -h states_hist.nc | grep bounds_lat
ncdump -h states_hist.nc | grep bounds_lon
ncdump -h states_hist.nc | grep bounds_time

The file UVic_grid.nc is ok.

-Karin

    (1-3/3)