<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Bob<br>
&nbsp;&nbsp;&nbsp; Should not matter where you put them, check that the model.ctl file
has the fist line looking like so: <br>
dset ^model.grb<br>
and not pathed somewhere else, check the permissions on teh files you
need to at least be able to read them.<br>
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 <br>
<br>
ga&gt; open /your full path/model.ctl<br>
<br>
Your directory holding the files should look somthing like so:<br>
<br>
arabonis@baltic:/mnt/pacific/data/gradstut/atmosdata&gt; ls -lat<br>
total 593<br>
-rw-r--r--&nbsp; 1 arabonis osis 593060 Jan 14&nbsp; 2003 model.grb<br>
-rw-r--r--&nbsp; 1 arabonis osis&nbsp;&nbsp; 4633 Jan 14&nbsp; 2003 model.gmp<br>
drwxr-xr-x&nbsp; 2 arabonis osis&nbsp;&nbsp;&nbsp; 144 Jan 14&nbsp; 2003 ./<br>
-rw-r--r--&nbsp; 1 arabonis osis&nbsp;&nbsp;&nbsp; 651 Jan 14&nbsp; 2003 model.ctl<br>
drwxr-xr-x&nbsp; 4 arabonis osis&nbsp;&nbsp;&nbsp; 104 Jan 14&nbsp; 2003 ../<br>
<br>
and the ctl file like so:<br>
<br>
arabonis@baltic:/mnt/pacific/data/gradstut/atmosdata&gt; cat model.ctl<br>
dset ^model.grb<br>
title "Sample Model Data for GrADS Tutorial"<br>
undef 1e+20<br>
dtype grib<br>
index ^model.gmp<br>
xdef 72 linear 0.000000 5.000000<br>
ydef 46 linear -90.000000 4.000000<br>
zdef 7 levels<br>
1000 850 700 500 300 200 100<br>
tdef 5 linear 0Z2jan1987&nbsp; 1dy<br>
vars 8<br>
ps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 1,&nbsp; 1,&nbsp; 0,&nbsp; 0 Surface pressure [hPa]<br>
u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp; 33,100 Eastward wind [m/s]<br>
v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp; 34,100 Northward wind [m/s]<br>
z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp; 7,100 Geopotential height [m]<br>
t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp; 11,100 Air Temperature [K]<br>
q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp; 51,100 Specific humidity [kg/kg]<br>
ts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 11,105,&nbsp; 2 Surface (2m) air temperature [K]<br>
p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 59,&nbsp; 1,&nbsp; 0,&nbsp; 0 Total precipitation rate [kg/(m^2*s)]<br>
endvars<br>
<br>
Hope this helps<br>
&nbsp;&nbsp;&nbsp; JP<br>
<br>
<br>
<br>
Bob wrote:<br>
<blockquote type="cite"
 cite="mid000f01c5e939$61ffaa00$0501a8c0@bobj0ug54ax70i">
  <meta http-equiv="Context-Type"
 content="text/html; charset=iso-8859-1">
  <title></title>
  <div> Thankyou, </div>
  <div> &nbsp;</div>
  <div> 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. </div>
  <div> &nbsp;</div>
  <div> 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 </div>
  <div> &nbsp;</div>
  <div> Is there a specific place where the datafiles (ctl, grib)
should go? </div>
  <div> &nbsp;</div>
  <div> Ron. </div>
  <blockquote>
    <div>----- Original Message ----- </div>
    <div><b>From:</b> <a title="arabonis@EGS.UCT.AC.ZA"
 href="mailto:arabonis@EGS.UCT.AC.ZA">Jean Pierre Arabonis</a> </div>
    <div><b>To:</b> <a title="GRADSUSR@LIST.CINECA.IT"
 href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a> </div>
    <div><b>Sent:</b> Monday, November 14, 2005 12:25 PM</div>
    <div><b>Subject:</b> Re: Newbie questions!</div>
    <div><br>
    </div>
Hi Bob<br>
&nbsp;&nbsp;&nbsp; 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).<br>
&nbsp;&nbsp;&nbsp; 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&nbsp;&nbsp; but a trawl of the archives should resolve any
compatibility issues.<br>
&nbsp;&nbsp;&nbsp; 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.<br>
&nbsp;&nbsp;&nbsp; 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.<br>
&nbsp;&nbsp;&nbsp; Good Luck<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Jean Pierre<br>
&nbsp;&nbsp;&nbsp; <br>
    <br>
Bob wrote:<br>
    <blockquote cite="mid001201c5e92d$9f80ddb0$0501a8c0@bobj0ug54ax70i"
 type="cite">
      <div>Hi all, </div>
      <div>&nbsp;</div>
      <div>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! </div>
      <div>&nbsp;</div>
      <div>I have several questions to ask, where the answers could not
be found on the Cola homepage. </div>
      <div>&nbsp;</div>
      <div>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? </div>
      <div>&nbsp;</div>
      <div>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. </div>
      <div>&nbsp;</div>
      <div>I believe I have it installed correctly, but I can`t even
get off the starting block!! I tried to open the demo&nbsp;model.ctl file
that comes with the online tutorial - all I get are errors `Scanning
description file:&nbsp; model<br>
Open Error:&nbsp; Can't open description file` </div>
      <div>&nbsp;</div>
      <div>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. </div>
      <div>&nbsp;</div>
      <div>Regards, </div>
      <div>Ron. </div>
    </blockquote>
    <br>
    <pre>--
Jean Pierre Arabonis
<a href="mailto:arabonis@egs.uct.ac.za">arabonis@egs.uct.ac.za</a>
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free
    </pre>
  </blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jean Pierre Arabonis
<a class="moz-txt-link-abbreviated" href="mailto:arabonis@egs.uct.ac.za">arabonis@egs.uct.ac.za</a>
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free
</pre>
</body>
</html>