<br><font size=2 face="sans-serif">Matt,</font><br><font size=2 face="sans-serif">Are you indexing the variables, per
order of file opened?</font><br><br><font size=2 face="sans-serif">First file, 'd var...'</font><br><font size=2 face="sans-serif">Second file, 'd var.2...'</font><br><font size=2 face="sans-serif">Nth file, 'd var.n....'</font><br><br><font size=2 face="sans-serif">An alternative would be to use 'set
dfile [n]' and then display variable, as long as you are displaying variables
from only file [n] in expression.</font><br><br><font size=2 face="sans-serif">Stephen Mc</font><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Matt Alonso <matt.alonso@GMAIL.COM></b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font size=1 face="sans-serif">03/16/2008 08:40 PM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>GRADSUSR@LIST.CINECA.IT</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">NetCDF issue?</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><font size=3>Hello folks,</font><br><br><font size=3>I've been silent on this list for a while so let me start
by saying thank you to all the developers and all the users for their hard
work in getting Grads 2.0 out the door.</font><br><br><font size=3>The issue I am having could very well be as a result of
my own ignorance but I am unable to find the solution. The issue
comes about when I am trying to display a time series of WaveWatch 3 data
with more than one NetCDF data file (they all have the same spatial attributes)
open at a time. Here is some environment information:</font><br><br><font size=3>-64bit machine running HostGIS linux (for all intents
and purposes it is a slightly modified version of slackware)</font><br><font size=3>-GrADS 2.0.a1</font><br><font size=3>-NetCDF files are all generated with wgrib2 v0.1.7.1 using
the command "wgrib2_v0.1.7.1 wna.t<fcst time>.grib.grib2 -netcdf
<fcst time>.nc" (the executable is pointing to the correct wgrib2)</font><br><br><font size=3>The problem comes about when I am attempting to display
time series of several runs by setting the lat and lon to constants, setting
the time equal to all time periods in the file ('set t 1 61'), and displaying
the values from particular files by looping over all the files via 'set
dfile <file number>'. When the script runs I get the following
output:</font><br><br><font size=3>NetCDF Error (gancgrid, nc_get_vara_double): NetCDF: Start+count
exceeds dimension bound</font><br><font size=3>Data Request Error: Error for variable 'ugrd_surface'</font><br><font size=3>Operation Error: Error from mag function</font><br><font size=3> Error ocurred at column 1</font><br><font size=3>DISPLAY error: Invalid expression</font><br><font size=3> Expression = smth9(mag(ugrd_surface,vgrd_surface)*1.9)</font><br><br><font size=3>The command being run is "d smth9(mag(ugrd_surface,vgrd_surface)*1.9)"
(although it seems to occur for any and all variables) and the above error
only occurs when attempting to display data for any file other than #1.
If I manually set all the dimension data (lat, lon, etc) for one file at
a time and then close that file and open the next in the series it works
fine. What am I doing wrong?</font><br><br><font size=3>Thanks in advance for all of your help and please let
me know if any more information is needed.</font><br><br><font size=3>Cheers,</font><br><font size=3>Matt</font><br><br><br><BR>
<BR>
***************************************************<BR>
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.<BR>
***************************************************<BR>