[gradsusr] 回复: netcdf file written with GDAL, when opened with a ctl file , shows constant field
weather.man
weather.man at aliyun.com
Mon Nov 13 00:09:02 EST 2017
Please write a description file of one data file,make sure it is correct.Then modify it to use template------------------------------------------------------------------发件人:Syed Ahsan Ali <ahsanshah01 at gmail.com>发送时间:2017年11月9日(星期四) 18:15收件人:GrADS Users Forum <gradsusr at gradsusr.org>主 题:[gradsusr] netcdf file written with GDAL, when opened with a ctl file , shows constant field
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.ncDTYPE netCDFOPTIONS templateXDEF 878 LINEAR 60.712500 0.025000YDEF 557 LINEAR 23.362500 0.025000ZDEF 1 LEVELS 1 TDEF 19724 LINEAR 01jan1960 1dyTITLE Indus_maxt_19600101.flt.nc 878x557 gridUNDEF -999VARS 1Band1=>Band1 1 t,z,y,x testENDVARS
--
Please advise
RegardsAhsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171113/3973c1df/attachment.html
More information about the gradsusr
mailing list