[gradsusr] Opening a Grb2 File

Ethan Sacoransky ethan.saco at me.com
Thu Jan 16 18:50:55 EST 2014


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




More information about the gradsusr mailing list