Remap .nc to a projected grid.
Added by Vinicius Moreira almost 4 years ago
Hi to all.
i'm trying to remap my latlon.nc according to a projected one, but using this:
cdo remapnn,projected.nc latlon.nc projected_outfile.nc
CDO are giving this error:
Warning (cdf_read_mapping_atts): Text attribute crs:grid_mapping_name missing!
cdo remapnn (Abort): Projection type >Projectio< unsupported!
i think i can do this on R, but the process is too lazy there and i got a big set of data...
projected.nc (879 KB) projected.nc | |||
latlon.nc (225 KB) latlon.nc |
Replies (1)
RE: Remap .nc to a projected grid. - Added by Uwe Schulzweida almost 4 years ago
CDO uses the attribute proj_params to identify the proj parameters. The corresponding attribute in your file is proj4. You need to rename this attribute to apply the proj parameters automatically:
ncrename -a crs@proj4,proj_params projected.nc