return status from command "open"

Hai-Ru Chang hrc at EAS.GATECH.EDU
Mon Sep 17 10:33:27 EDT 2007


Hell Jennifer,
                 First please make sure the TDEF has correct time
steps and time increment.  Then use gribmap -v -i Y62277*.ctl to get
your Y62277*.idx files.   The you can use grads as usual.


Hai _ru

On Sep 17, 2007, at 10:21 AM, Daniel Fritz wrote:

> Hi Chang,
>     No, I did not , how do I go about doing that......whew! I have
> been up all night trying to figure this out .  would I type
>                                   grib2ctl.pl  Y62277* > Y62277*.ctl
>                                   gribmap -i Y62277*.ctl  -0
> when I first got this file mget_ds0830_fnl.tar    I untar it then I
> got these eppressions Y62277
> which is a data, each time a picked my dates and downloaded the
> mget .....I untar all of them.......now I am trying to convert them
> so that it will open in grads......
>
> Hai-Ru Chang <hrc at EAS.GATECH.EDU> wrote:
> Hi Danny,
>               Did you use the command 'gribmap' to get a
> accompany .idx file?
>
>
> Dr. Hai-Ru Chang
> School of Earth and Atmospheric Sciences
> Georgia Institute of Technology
> Atlanta, GA 30332-0340
> tel: 404-385-4404
>
>
> On Sep 17, 2007, at 9:31 AM, Daniel Fritz wrote:
>
>> hello everyone,
>>   could someone help me?  I have downloaded some data from the NCAR
>> (DSS, CISL) website site because I am tracking hurricanes for a
>> project . When I got my dataset(sept1 -30, 2005 and oct 1 -30
>> 2005) the file is mget_ds0830_fnl.tar  ........I had to untar this
>> data and it gave me a Y62277*  ......when I ran this Y62277* it
>> was data which would be unreadable........I assume that this is a
>> grib file...but when I tried to convert grib to ctl(Y62277*.ctl)
>> when I opened it, there was nothing in it.....I am trying to run
>> these files in grads......so get a display of the track of the
>> Hurricane....am I using the right path???  after I untar this data
>> set what is my absolute path??? when I tried to type in a script
>> to run it in grads , there was an error....
>>                  Danny
>>
>> Jennifer Adams <jma at COLA.IGES.ORG> wrote:
>> Here's how the GDS does it:
>>
>>
>> function gopen(dataset)
>> 'sdfopen 'dataset
>> if (!rc); say 'file opened with sdfopen'; return; endif
>> 'xdfopen 'dataset
>> if (!rc); say 'file opened with xdfopen'; return; endif
>> 'open 'dataset
>> if (!rc); say 'file opened with open'; return; endif
>> say "error: couldn't open " dataset
>>
>>
>> ga-> gopen file.ctl
>>
>> --
>> Jennifer M. Adams
>> IGES/COLA
>> 4041 Powder Mill Road, Suite 302
>> Calverton, MD 20705
>> jma at cola.iges.org
>>
>>
>> On Sep 17, 2007, at 4:26 AM, bernd.becker at METOFFICE.GOV.UK wrote:
>>
>>> Hello,
>>>
>>> Can I sway "open" to return something to figure
>>> if the file.ctl in question exists or not?
>>>
>>> iostat='open bob.ctl'
>>>
>>> say 'iostat for bob is :'iostat
>>>
>>> --> iostat for bob is : bob.ctl not found'
>>>
>>> or similar.
>>>
>>> many thanks,
>>> Bernd.
>>>
>>>
>>>
>>> --
>>> Bernd Becker   The Monthly Outlook
>>> Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
>>> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
>>> E-mail:bernd.becker at metoffice.gov.uk -  http://www.metoffice.gov.uk
>>
>>
>>
>>
>>
>> Yahoo! oneSearch: Finally, mobile search that gives answers, not
>> web links.
>
>
>
>
>
>
> Shape Yahoo! in your own image. Join our Network Research Panel today!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070917/a381cd45/attachment.html 


More information about the gradsusr mailing list