remapping NETCDF file
Added by pooran khedri over 2 years ago
Hi everybody,
I used the following command to remap my file, but I got many warning and It did not work well. I have attached the used files.
cdo remapbil,p.nc sediment_properties.nc ss.nc
Any help would be appreciated.
cheers,
Pooran
p.nc (782 KB) p.nc | |||
sediment_properties.nc (2.18 MB) sediment_properties.nc |
Replies (2)
RE: remapping NETCDF file - Added by Karin Meier-Fleischer over 2 years ago
Hi Pooran,
the units of Longitude and Latitude in sediment_properties.nc are only degrees which is not valid.
Use NCO's ncatted to change the units attributes
ncatted -a units,Longitude,o,c,"degrees_east" -a units,Latitude,o,c,"degrees_north" sediment_properties.nc sediment_properties_modified.nc
Now you can remap the data
cdo remapbil,p.nc sediment_properties_modified.nc ss.nc
-Karin