Newbie questions!

Jean Pierre Arabonis arabonis at EGS.UCT.AC.ZA
Mon Nov 14 12:12:59 EST 2005


Hi
    Try it on your linux box ..... I don't think my advice applies to
the windowzzz versions of grads, maybe someone else on the help list can
help with windowzzz.
    Good Luck
       JP

Bob wrote:

> Still no luck!! Whatever I do, I still get those can`t open file errors.
>
> Thanks for your help though. I`m running the win32e version.
>
>
>
>     ----- Original Message -----
>     From: Jean Pierre Arabonis <mailto:arabonis at EGS.UCT.AC.ZA>
>     To: GRADSUSR at LIST.CINECA.IT <mailto:GRADSUSR at LIST.CINECA.IT>
>     Sent: Monday, November 14, 2005 12:49 PM
>     Subject: Re: Newbie questions!
>
>     Hi Bob
>         Should not matter where you put them, check that the model.ctl
>     file has the fist line looking like so:
>     dset ^model.grb
>     and not pathed somewhere else, check the permissions on teh files
>     you need to at least be able to read them.
>     Note that if you are running grads from another directory than the
>     one where the files reside you bust give the absolute path to the
>     control file, eg
>
>     ga> open /your full path/model.ctl
>
>     Your directory holding the files should look somthing like so:
>
>     arabonis at baltic:/mnt/pacific/data/gradstut/atmosdata> ls -lat
>     total 593
>     -rw-r--r--  1 arabonis osis 593060 Jan 14  2003 model.grb
>     -rw-r--r--  1 arabonis osis   4633 Jan 14  2003 model.gmp
>     drwxr-xr-x  2 arabonis osis    144 Jan 14  2003 ./
>     -rw-r--r--  1 arabonis osis    651 Jan 14  2003 model.ctl
>     drwxr-xr-x  4 arabonis osis    104 Jan 14  2003 ../
>
>     and the ctl file like so:
>
>     arabonis at baltic:/mnt/pacific/data/gradstut/atmosdata> cat model.ctl
>     dset ^model.grb
>     title "Sample Model Data for GrADS Tutorial"
>     undef 1e+20
>     dtype grib
>     index ^model.gmp
>     xdef 72 linear 0.000000 5.000000
>     ydef 46 linear -90.000000 4.000000
>     zdef 7 levels
>     1000 850 700 500 300 200 100
>     tdef 5 linear 0Z2jan1987  1dy
>     vars 8
>     ps        0    1,  1,  0,  0 Surface pressure [hPa]
>     u         7   33,100 Eastward wind [m/s]
>     v         7   34,100 Northward wind [m/s]
>     z         7    7,100 Geopotential height [m]
>     t         7   11,100 Air Temperature [K]
>     q         7   51,100 Specific humidity [kg/kg]
>     ts        0   11,105,  2 Surface (2m) air temperature [K]
>     p         0   59,  1,  0,  0 Total precipitation rate [kg/(m^2*s)]
>     endvars
>
>     Hope this helps
>         JP
>
>
>
>     Bob wrote:
>
>>     Thankyou,
>>
>>     I have the datafiles all in the same directory. I have placed
>>     them in the main Grads folder, and tried in just about every
>>     other folder too but I still get the error.
>>
>>     I can`t think of anything else to try!! I`ve been waiting to play
>>     around with Grads for ages, but find this frustrating that I
>>     can`t even get off the starting block :D
>>
>>     Is there a specific place where the datafiles (ctl, grib) should go?
>>
>>     Ron.
>>
>>         ----- Original Message -----
>>         From: Jean Pierre Arabonis <mailto:arabonis at EGS.UCT.AC.ZA>
>>         To: GRADSUSR at LIST.CINECA.IT <mailto:GRADSUSR at LIST.CINECA.IT>
>>         Sent: Monday, November 14, 2005 12:25 PM
>>         Subject: Re: Newbie questions!
>>
>>         Hi Bob
>>             Welcome to grads, firstly I feel that grads is better
>>         suited to the linux environment - besides being basically
>>         anti-windows, you'll find a lot of the users of grads are
>>         working in a unix/linux environment and user support is
>>         probably better in that area, further for automation of grads
>>         scripts, linux is very flexible (which seems to be your
>>         ultimate goal).
>>             It seems though there have been some library issues with
>>         recent versions of grads on certain flavours of linux, red
>>         hat does not seem to be one of them   but a trawl of the
>>         archives should resolve any compatibility issues.
>>             With regard to load, thats going to depend on your input
>>         files and what you do with them, however grads is very stable
>>         and will generally complete the task without falling over. I
>>         have grads running on an old 450 MHz P2 running scripts and
>>         it works just fine.
>>             With regard to your problem with the model file it seems
>>         to me to be a path problem, the data file and ctl file must
>>         be in the same directory.
>>             Good Luck
>>                Jean Pierre
>>
>>
>>         Bob wrote:
>>
>>>         Hi all,
>>>
>>>         I`ve never used Grads before, so it`s a completely new ball
>>>         game for me!! The most ambitious I`ve been is to use a
>>>         desktop utility likes DAWS!
>>>
>>>         I have several questions to ask, where the answers could not
>>>         be found on the Cola homepage.
>>>
>>>         I would like to install Grads on my server, mainly so I can
>>>         ingest and display grib data/model charts on my website.
>>>         What kind of server loads would I be looking at here? I need
>>>         to know, whether my server can cope with it it!! Can someone
>>>         shed some light on using Grads on a redhat linux based server?
>>>
>>>         Secondly, I haven`t looked through any of the documentation
>>>         as yet. I thought it might be a good idea to install the
>>>         windows version locally on my W2K PC first, so I can get an
>>>         idea of how Grads works.
>>>
>>>         I believe I have it installed correctly, but I can`t even
>>>         get off the starting block!! I tried to open the
>>>         demo model.ctl file that comes with the online tutorial -
>>>         all I get are errors `Scanning description file:  model
>>>         Open Error:  Can't open description file`
>>>
>>>         Do I need to place the ctl, grib and gmp in a certain
>>>         folder? All the tutorial says is download them and place
>>>         them locally. Thanks.
>>>
>>>         Regards,
>>>         Ron.
>>
>>
>>--
>>Jean Pierre Arabonis
>>arabonis at egs.uct.ac.za <mailto:arabonis at egs.uct.ac.za>
>>Tel 021 780 1021 cell 084 401 1365
>>This email is 100% Microsoft Free
>>
>>
>
>--
>Jean Pierre Arabonis
>arabonis at egs.uct.ac.za <mailto:arabonis at egs.uct.ac.za>
>Tel 021 780 1021 cell 084 401 1365
>This email is 100% Microsoft Free
>
>

--
Jean Pierre Arabonis
arabonis at egs.uct.ac.za
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free

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


More information about the gradsusr mailing list