Unsupported generic coordinates??
Added by Anonymous 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 (8)
RE: Unsupported generic coordinates?? - Added by Karin Meier-Fleischer over 4 years ago
Hi Trevor,
the coordinate variables lat and lon do not have a units attribute. You have to add it in your python script or with NCO's ncatted.
ncatted -O -a units,lon,c,c,"degrees_east" -a units,lat,c,c,"degrees_north" infile.nc outfile.nc
Then you should be able to remap the data
cdo -remapnn,r1440x720 output.nc remapped_file.nc
-Karin
RE: Unsupported generic coordinates?? - Added by Anonymous over 4 years ago
TrevorGage TrevorGage wrote:
I have a dataset reverse phone lookup nba reddit pcpartpicker 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....
Then you should be able to remap the data
okay thankyou
RE: Unsupported generic coordinates?? - Added by Brendan DeTracey over 4 years ago
Scraped from this post: https://code.mpimet.mpg.de/boards/2/topics/7990
The bot tell is double usernames such as: TrevorGage TrevorGage
RE: Unsupported generic coordinates?? - Added by Brendan DeTracey over 4 years ago
But at least it said thank-you. This bot has manners.
RE: Unsupported generic coordinates?? - Added by Ralf Mueller over 4 years ago
Interesting - usually using identical first and lastname is a good indicator for bots, u r right.
This one here defo deserves some flowers:
RE: Unsupported generic coordinates?? - Added by james richard over 4 years ago
LOKKING FOR SHAME SOLUTION
here
RE: Unsupported generic coordinates?? - Added by Brendan DeTracey over 4 years ago
Aren't we all, poor lost little bot?