[gradsusr] Why fwrite writes more data?

Rupak Rajbhandari rupak.rajbhandari at gmail.com
Tue Sep 25 11:19:05 EDT 2012


Hi all,

Greetings!

PRINCETON University generated Hydroclimatology corrected NetCDF global 1
degree temperature file or data  (eg. tmax_daily_1970-1970.nc) has
dimension of 360x180. When I write the data to a file using fwrite command,
it says "wrote 65160 of 65160 elements ...", which is 360x181 and the image
is distorted. Could someone experienced in NetCDF file explain to US
(novice in NetCDF), why and what is happening and perhaps how to correct?

Thanks for the help!

-rupak

Rupak Rajbhandari
Department of Meteorology
TriChandra College
Kathmandu, NEPAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120925/7a85d30c/attachment-0003.html 


More information about the gradsusr mailing list