[gradsusr] netcdf file written with GDAL, when opened with a ctl file , shows constant field
Syed Ahsan Ali
ahsanshah01 at gmail.com
Thu Nov 9 05:14:38 EST 2017
I have made a netcdf file from raster data using gdal_translate. I have
written following ctl file for opening multiple netcdf files. However when
displayed a constant 0 value is shown everywhere. However, when file opened
using sdfopen, the data is displayed correctly.
DSET ^Indus_maxt_%y4%m2%d2.flt.nc
DTYPE netCDF
OPTIONS template
XDEF 878 LINEAR 60.712500 0.025000
YDEF 557 LINEAR 23.362500 0.025000
ZDEF 1 LEVELS 1
TDEF 19724 LINEAR 01jan1960 1dy
TITLE Indus_maxt_19600101.flt.nc 878x557 grid
UNDEF -999
VARS 1
Band1=>Band1 1 t,z,y,x test
ENDVARS
--
Please advise
Regards
Ahsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171109/72188e6c/attachment.html
More information about the gradsusr
mailing list