[gradsusr] sdfwrite error

Serge Claudio Rafanoharana rafanoharana at gmail.com
Sat Mar 24 03:24:10 EDT 2012


Dear Bo,

I was just wondering, do you have an empty line at the end? I mean if your
.gs file contains 5 lines, just press enter at the end so you'll have an
empty extra line at the end.

Hope this can help,

Regards,
Serge

On Sat, Mar 24, 2012 at 4:13 AM, bo-dong at huskers.unl.edu <
bo-dong at huskers.unl.edu> wrote:

>  Dear All,
>
>
>
> I was trying to create a new nc file using the following .gs script
>
>
>
> 'reinit'
> 'open C:\shp\ohio.ctl'
> 'define maskk = mask'
> 'set sdfwrite C:\shp\try.nc'
> 'sdfwrite maskk'
>
>
>
> However, the last line 'sdfwrite maskk' seems doesn't work when I run the
> .gs script.
>
> but if I type those command in the grads command line, it worked, so wierd
> .....
>
> is there anything wrong with this .gs file?
>
>
>
> thanks,
>
> Bo
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Serge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120324/ebbfa767/attachment-0003.html 


More information about the gradsusr mailing list