[ncl-talk] lat lon info in binary file
Debasish Hazra
debasish.hazra5 at gmail.com
Tue Mar 16 02:57:12 MDT 2021
Hello,
Trying to read binary file and trying to extract lat-lon info for tile file
(binary file in C384 grid). Used the following to read it :
nlat = 384
mlon = 384
setfileoption("bin","readbyteorder","littleendian")
d1 = fbinrecread("./e384tile1.dat",0,-1,"float")
printVarSummary(d1)
UNDEF = -999.0
finarr = onedtond(d1(1:), (/nlat,mlon/))
finarr at _FillValue = UNDEF ;
printVarSummary(finarr)
printMinMax(finarr,0)
How to extract lat-lon bounds for that file ? Any help
Thanks
Debasish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210316/e7dbe844/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e384tile1.dat
Type: application/octet-stream
Size: 589832 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210316/e7dbe844/attachment-0001.obj>
More information about the ncl-talk
mailing list