Project

General

Profile

Problem With remapbil

Added by praveen rai about 3 years ago

Hello,

I am trying to remap my model data using a reference file to convert it to normal lonlat grids. It works well with it one of the output file but with second file a warning pops up and somehow my domain gets distorted. This is the warning from CDO:
cdo remapbil (Warning): Source grid cell center latitudes out of range (min=43.8/max=90.7)!

Any help will be highly appreciated.

Thanks
Praveen

FIB_CAS-11_frac_new.nc (723 KB) FIB_CAS-11_frac_new.nc reference file used for remapbil
Precip_old_2000.nc (553 KB) Precip_old_2000.nc Remapbil worked with this data well
Precip_2000.nc (1.6 MB) Precip_2000.nc New file for which warning pops up

Replies (3)

RE: Problem With remapbil - Added by Uwe Schulzweida about 3 years ago

The lon/lat coordinates are interchanged, since both have the same units "degrees_north". The longitudes should have the units "degrees_east".

ncdump -h Precip_2000.nc 
netcdf Precip_2000 {
dimensions:
    time = UNLIMITED ; // (2 currently)
    bnds = 2 ;
    rlon = 257 ;
    rlat = 271 ;
variables:
    double time(time) ;
        time:standard_name = "time" ;
        time:bounds = "time_bnds" ;
        time:units = "day as %Y%m%d.%f" ;
        time:calendar = "proleptic_gregorian" ;
        time:axis = "T" ;
    double time_bnds(time, bnds) ;
    double lat(rlat, rlon) ;
        lat:standard_name = "longitude" ;
        lat:long_name = "longitude coordinate" ;
        lat:units = "degrees_north" ;
        lat:_CoordinateAxisType = "Lon" ;
    double lon(rlat, rlon) ;
        lon:standard_name = "latitude" ;
        lon:long_name = "latitude coordinate" ;
        lon:units = "degrees_north" ;
        lon:_CoordinateAxisType = "Lat" ;

RE: Problem With remapbil - Added by praveen rai about 3 years ago

Thanks Uwe. And to remove these, I think I have to use nco or is there a way to do it in CDO or is it possible to interchange lat/lon here in the file only?

RE: Problem With remapbil - Added by Uwe Schulzweida about 3 years ago

NCO is the easiest way to change the attributes. Of course, the standard_name attribute must be changed as well.

    (1-3/3)