[gradsusr] create control file for grib file

Bimal Gyawali bml.gya at gmail.com
Tue Jul 19 11:13:07 EDT 2016


Jeff,
I just did copy and paste. I will try the way you said. I hope the error
will not occur.
Thank you.

*Bimal Gyawali*





* Graduate Research Assistant Department of Physical and Environment
Science Natural Resources Center Texas A&M University-Corpus Christi Corpus
Christi, TX 78412 Tel: 435-881-3603*

On Tue, Jul 19, 2016 at 10:08 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> Bimal,
> There must be a bug in the current version of that code, or you copied it
> incorrectly. If you used copy+paste to obtain the code, I would instead try
> simply using wget or right clicking and selecting "save link as" to make
> sure you copied the code correctly. If you did that, then the code has a
> bug. I am not knowledgeable with PERL and so I may not be able to figure
> out the bug in such a script, but the person who writes/manages that
> utility, Wesley Ebisuzaki, visits this forum regularly, and his contact
> information can be found online. I might suggest contacting him for further
> assistance.
>
> Good luck.
>
> Jeff
>
> On Tue, Jul 19, 2016 at 9:09 AM, Bimal Gyawali <bml.gya at gmail.com> wrote:
>
>> Hello Jeff,
>> Thank you for your email. I tried to create control file using the
>> following command:
>> grib2ctl.pl grib_file >grib_file.ctl
>> but it gives the following error:
>>
>> Unexpected else.  Incorrect if block nesting.
>>
>>   Error occurred scanning line 258.
>>
>> I dont know why the error is occurred. would you please help me to figure
>> it out?
>>
>> Thank you.
>>
>>
>>
>>
>> *Bimal Gyawali*
>>
>>
>>
>>
>>
>> * Graduate Research Assistant Department of Physical and Environment
>> Science Natural Resources Center Texas A&M University-Corpus Christi Corpus
>> Christi, TX 78412 Tel: 435-881-3603 <435-881-3603>*
>>
>> On Mon, Jul 18, 2016 at 3:46 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>>
>>> Use the grib2ctl.pl script available at this link:
>>> ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib.scripts/grib2ctl.pl. You must
>>> have the wgrib utility installed to use it.
>>>
>>> There is a similar script for GRIB2 data called g2ctl as well. It
>>> requires wgrib2 to be installed.
>>>
>>> Jeff Duda
>>>
>>> On Mon, Jul 18, 2016 at 3:38 PM, Bimal Gyawali <bml.gya at gmail.com>
>>> wrote:
>>>
>>>> Hello All,
>>>> How can I create control file for grib file using grads? Please let me
>>>> know.
>>>> Thank you.
>>>>
>>>> *Bimal Gyawali*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> * Graduate Research Assistant Department of Physical and Environment
>>>> Science Natural Resources Center Texas A&M University-Corpus Christi Corpus
>>>> Christi, TX 78412 Tel: 435-881-3603 <435-881-3603>*
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>>
>>> --
>>> Jeff Duda
>>> Post-doctoral research associate
>>> University of Oklahoma School of Meteorology
>>>
>>> _______________________________________________
>>> 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
> Post-doctoral research associate
> University of Oklahoma School of Meteorology
>
> _______________________________________________
> 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/20160719/da79c61b/attachment.html 


More information about the gradsusr mailing list