[gradsusr] Generating a control file with g2ctl
Wesley Ebisuzaki - NOAA Federal
wesley.ebisuzaki at noaa.gov
Fri Feb 14 13:56:19 EST 2014
Ethan,
After compiling wgrib2, you need to edit g2ctl.pl and change the line
$wgrib2='(new location)/wgrib2';
To run g2ctl.pl, you type
g2ctl.pl NAME_OF_GRIB2_FILE > NAME.ctl
Wesley
PS to see if wgrib2 was compiled correctly, type
(name of directory)/wgrib2 -config
On Fri, Feb 14, 2014 at 1:03 PM, Ethan Sacoransky
<ethansmith0898 at gmail.com>wrote:
> Hey Wesley,
>
> Thanks so much for the help. I untared and compiled the wgrib2 files with
> these steps from the cpc page:
> I assume this is the wgrib2 executable that I am looking for.
>
> I still seem to be getting the same error with the path to wgrib2. Any
> help you could offer would be much appreciated.
>
> Thanks again,
> Ethan
>
>
> On 2014-02-14, at 11:52 AM, Wesley Ebisuzaki - NOAA Federal wrote:
>
> Ethan,
>
> Your change to g2ctl
>
> $wgrib2='/Users/maxineanddavid/grads-2.1.a1/bin/wgrib';
>
> was wrong. You are pointing to wgrib and not wgrib2. The
> source code to wgrib2 is at
>
> ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/
>
> BTW I just made a ctl file for the Alaskanet file.
>
> Wesley
>
>
> On Fri, Feb 14, 2014 at 11:00 AM, Ethan Sacoransky <
> ethansmith0898 at gmail.com> wrote:
>
>> Hello All,
>>
>> Trying to generate a NAM control file with g2ctl.pl. When I run the "./
>> g2ctl.plnam.t00z.alaskanest.hiresf05.tm00.grib2>nam.t00z.alaskanest.hiresf05.tm00.ctl"
>> command I get his error:
>>
>> <Screen Shot 2014-02-13 at 6.37.18 PM.png>
>>
>> I made sure to add in the absolute path to wgrib2 inside the g2ctl.plscript, like so.
>> <Screen Shot 2014-02-13 at 6.39.28 PM.png>
>> Any thoughts on this error would be awesome. Thanks so much.
>> 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/20140214/287fb3ff/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-14 at 12.53.34 PM.png
Type: image/png
Size: 33660 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140214/287fb3ff/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-14 at 12.57.21 PM.png
Type: image/png
Size: 42030 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140214/287fb3ff/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-14 at 12.54.47 PM.png
Type: image/png
Size: 37109 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140214/287fb3ff/attachment-0005.png
More information about the gradsusr
mailing list