[gradsusr] Not able to convert to netcdf file

Ipshita Majhi ipmajhi at alaska.edu
Tue Sep 30 14:05:21 EDT 2014


Thank you very much it worked indeed.
Best Regards
Ipshita

On Tue, Sep 30, 2014 at 12:47 PM, Jennifer Adams <jma at cola.iges.org> wrote:

>
> 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
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140930/85199517/attachment.html 


More information about the gradsusr mailing list