Project

General

Profile

Unsupported generic coordinates

Added by Chandrakant Singh over 4 years ago

I have a dataset I created using python. Now I want to use remap on the file but I get an error 'Unsupported generic coordinates (Variable: Evaporation)'.

Remap command I am using:
`cdo remapnn,r1440x720 file_input.nc file_output.nc`

The `ncdump` gives the following output:
```
netcdf BESS_ET_2001-2015 {
dimensions:
lon = 720 ;
lat = 360 ;
time = 180 ;
variables:
float lon(lon) ;
float lat(lat) ;
double time(time) ;
time:units = "days since 2001-01-01 00:00:00" ;
float Evaporation(time, lat, lon) ;
Evaporation:units = "mm" ;
}
```
If possible, can someone tell why this is happening? And how to solve this?
The NetCDF file is quite big to upload.

Greatly appreciated.


Replies (1)

RE: Unsupported generic coordinates - Added by Karin Meier-Fleischer over 4 years ago

Hi Chandrakant,

the coordinate variables do not have a units attribute like "degrees_north" and "degrees_east" which are needed to identify the given grid and to know how to remap it.

ncatted -O -a units,lon,c,c,"degrees_east" -a units,lat,c,c,"degrees_north" infile outfile

-Karin

    (1-1/1)