[gradsusr] Opening a Grb2 File
Eric Altshuler
ela at cola.iges.org
Thu Jan 16 18:52:36 EST 2014
Hi Ethan,
The g2ctl is a perl script, not a grads command. You have to run it from the shell command line, not inside grads.
Best regards,
Eric L. Altshuler
Research Scientist
Center for Ocean-Land-Atmosphere Studies
253 Research Hall, Mail Stop 6C5
George Mason University
4400 University Drive
Fairfax, VA 22030 USA
E-mail: ela at cola.iges.org
Phone: (703) 993-5725
Fax: (703) 993-5770
----- Original Message -----
From: "Ethan Sacoransky" <ethan.saco at me.com>
To: "GrADS Users Forum" <gradsusr at gradsusr.org>
Sent: Thursday, January 16, 2014 6:50:55 PM
Subject: Re: [gradsusr] Opening a Grb2 File
Hi Aaron,
I am attempting to carry out this process by typing in 'g2ctl gfs_4_20140112_1200_009.grb2 > gfs_4_20140112_1200_009.ctl'. I got an error saying 'unknown command: g2ctl'. Any thoughts on this? Thanks so much.
Ethan
On 2014-01-16, at 6:39 PM, Perry, Aaron @ LSC wrote:
> Hi Ethan,
>
> In order to open a grib2 file in GrADS, a control (.ctl) and an index (.idx) file must exist.
>
> To create a .ctl file with g2ctl, use this command in your terminal:
>
> g2ctl grib2_file.grb2 > grib2_file.ctl
>
> Then to create the .idx file with gribmap, use this command:
>
> gribmap -i grib2_file.ctl
>
>
> Onward and Upward,
>
> Aaron D. Perry
> Boston, MA
> Lyndon State College '16
> Twitter: @AaronPerryLSC
> Mobile: 617-780-4312
>
> ________________________________________
> From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on behalf of Ethan Sacoransky [ethan.saco at me.com]
> Sent: Thursday, January 16, 2014 6:23 PM
> To: gradsusr at gradsusr.org
> Subject: [gradsusr] Opening a Grb2 File
>
> Good evening everyone,
>
> In an attempt to open up a grib2 file, I have downloaded and unpacked the wgrib2 tar file and copied the g2ctl script onto a text edit file. When I type in the command 'run g2ctl gfs_4_20140112_1200_009.grb2' I get the prompt, "error opening script file: g2ctl". Any thoughts on why this would be?
>
> Ethan
>
>
> _______________________________________________
> 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
_______________________________________________
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/20140116/dbe9d2a5/attachment.html
More information about the gradsusr
mailing list