[gradsusr] Not able to convert to netcdf file

Jennifer Adams jma at cola.iges.org
Tue Sep 30 13:47:34 EDT 2014


On Sep 30, 2014, at 1:34 PM, Ipshita Majhi <imajhi at gmail.com> wrote:

> Dear Grads Users,
> 
> I want convert a binary data file to netcdf file. The data is for daily precipitation from 1901 to 2010. I am attaching the .ctl file. Here is my code and whenever I run it , it says the variable not found or not gridded right. Can someone tell me where I am going wrong.
> 
> 
> 'open prec.mean.imr.ctl'
> 'set x 1'
> 'set y 1'
> 'set z 1'
> 'set E 1'
> 'set t 1 40177'
> 'set sdfwrite -flt precp.nc’
‘define p = p'
> 'sdfwrite p’

You must define a variable first, then you can ‘sdfwrite’ it. —Jennifer

> 
> Thank you
> Best Regards
> Ipshita
> 
> 
> <prec.mean.imr.ctl>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140930/c47a06ea/attachment.html 


More information about the gradsusr mailing list