[gradsusr] g2ctl command

Jeff Duda jeffduda319 at gmail.com
Tue Feb 11 22:02:48 EST 2014


I wouldn't put the g2ctl code into a RTF file.  Just paste it into an
ordinary text file and run that and you should not have any problems.

Jeff Duda


On Tue, Feb 11, 2014 at 6:55 PM, Ethan Sacoransky
<ethansmith0898 at gmail.com>wrote:

> Hey Aaron. Thanks so much for the reply.
> I am using a Mac OSX 10.7.5. Tried changing the file extension to .pl and
> got the same error.
> Ethan
>
> On 2014-02-11, at 7:39 PM, Perry, Aaron @ LSC wrote:
>
> Hi Ethan,
>
> What OS are you using? If you're using a Linux system, save it with the
> .pl file extension. The issue is probably because it's trying to read a
> Perl script that's saved in a .rtf word document file format.
>
>
> Onward and Upward,
>
> Aaron D. Perry
> Boston, MA
> Lyndon State College '16
> Twitter: @AaronPerryLSC <https://twitter.com/AaronPerryLSC>
> Mobile: 617-780-4312
> ------------------------------
> *From:* gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on
> behalf of Ethan Sacoransky [ethansmith0898 at gmail.com]
> *Sent:* Tuesday, February 11, 2014 7:39 PM
> *To:* GrADS Users Forum
> *Subject:* [gradsusr] g2ctl command
>
> Good evening everyone,
>
> Trying to generate a control file using g2ctl which i have in a rich text
> format file from this link: ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl.
>  When i try to run the './g2ctl.rtf
> gfs_4_20140112_1200_009.grb2>gfs_4_20140112_1200_009.ctl' command I get
> these error messages. Any help would be really appreciated.
>
> ./g2ctl.rtf: line 1: {rtf1ansiansicpg1252cocoartf1138cocoasubrtf510:
> command not found
> ./g2ctl.rtf: line 2: syntax error near unexpected token `}'
> ./g2ctl.rtf: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'
>
> Thanks so much,
> ES
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140211/b8df285c/attachment-0001.html 


More information about the gradsusr mailing list