Project

General

Profile

segmentation fault while remapping netcdf file to higher resolution

Added by Ibraheem Khan over 8 years ago

Hi,
I am remapping a netcdf file with 20k+ time records to a higher resolution. Here is info about my ifile.nc:
gridtype = lonlat
gridsize = 4
xname = longitude
xlongname = longitude
xunits = degrees_east
yname = latitude
ylongname = latitude
yunits = degrees_north
xsize = 2
ysize = 2
xfirst = 282.5
xinc = 1
yfirst = 38.5
yinc = 1

I created following targetgrid.txt file for remapping:
gridtype = lonlat
xsize = 16
ysize = 16
xfirst = 282.5
xinc = 0.125
yfirst = 38.5
yinc = 0.125

But when I run command:
cdo remapnn,targetgrid ifile.nc ofile.nc

It gives "segmentation fault" error. Please help to fix it. Thanks.