<div>I still get the same message about hours or minute missing in TDEF.</div>
<div> </div>
<div> </div>
<div>Jason<br><br></div>
<div class="gmail_quote">On Sun, Jan 24, 2010 at 4:57 PM, James T. Potemra <span dir="ltr"><<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">You have to change the TDEF line to be either HR or MN.<br>Right now you have 1dy; make it 24HR.<br><br>Jim<br>
<br>Jason Snyder wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br><br>On Sun, Jan 24, 2010 at 4:16 PM, Jason Snyder <<a href="mailto:jmssnyder@ucdavis.edu" target="_blank">jmssnyder@ucdavis.edu</a> <mailto:<a href="mailto:jmssnyder@ucdavis.edu" target="_blank">jmssnyder@ucdavis.edu</a>>> wrote:<br>
<br> I tried running <a href="http://traj.gs/" target="_blank">traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>> again after displaying a
<div class="im"><br> map and I got the following message:<br> ga-> d U;V<br></div> ga-> <a href="http://traj.gs/" target="_blank">traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>
<div class="im"><br> HR or MN missing in line TDEF of file uninan.ctl<br> ga-><br> Here is an example of a .ctl file I have for the zonal wind part<br> of my data:<br></div> DSET <a href="http://uninan2.nc/" target="_blank">uninan2.nc</a> <<a href="http://uninan2.nc/" target="_blank">http://uninan2.nc/</a>>
<div class="im"><br> OPTIONS template<br> DTYPE netcdf<br> XDEF longitude 57 linear 110.0 2.5<br> YDEF latitude 39 linear -5 2.5<br> TDEF time 1 linear 0z1Jun1974 1dy 0hr 0mn<br> How do I modify this file so I can succesfuuly run <a href="http://traj.gs/" target="_blank">traj.gs</a><br>
</div> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>?
<div class="im"><br> Thanks,<br> Jason<br> On Sun, Jan 24, 2010 at 2:59 PM, James T. Potemra <<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a><br></div>
<div class="im"> <mailto:<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>>> wrote:<br><br> Jason:<br><br> The script requires that you first display a variable (it uses<br> the GrADS query function to get plot dimensions). If you<br>
don't want to actually display something "under" your<br> trajectory, you can "set cmin" to something larger than U<br> and/or V, then display U and/or V, then run <a href="http://traj.gs/" target="_blank">traj.gs</a><br>
</div> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>
<div class="im"><br><br> Jim<br><br> Jason Snyder wrote:<br><br> I am trying to open up two files one with a zonal wind<br> componant and the other with the meridional wind componant<br></div>
to use to make a trajectory via <a href="http://traj.gs/" target="_blank">traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>><br> <<a href="http://traj.gs/" target="_blank">http://traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>> script.
<div class="im"><br><br> Here is the .ctl file for the zonal wind:<br></div> DSET <a href="http://uwndavg2001.nc/" target="_blank">uwndavg2001.nc</a> <<a href="http://uwndavg2001.nc/" target="_blank">http://uwndavg2001.nc/</a>><br>
<<a href="http://uwndavg2001.nc/" target="_blank">http://uwndavg2001.nc</a> <<a href="http://uwndavg2001.nc/" target="_blank">http://uwndavg2001.nc/</a>>>
<div class="im"><br><br> OPTIONS template<br> DTYPE netcdf<br> XDEF longitude 144 linear 0.0 2.5<br> YDEF latitude 73 linear -90 2.5<br> TDEF time 1 linear 0z1Jan2001 1dy<br>
Here is the .ctl file for the meridional wind:<br></div> DSET <a href="http://vwndavg2001.nc/" target="_blank">vwndavg2001.nc</a> <<a href="http://vwndavg2001.nc/" target="_blank">http://vwndavg2001.nc/</a>><br>
<<a href="http://vwndavg2001.nc/" target="_blank">http://vwndavg2001.nc</a> <<a href="http://vwndavg2001.nc/" target="_blank">http://vwndavg2001.nc/</a>>>
<div class="im"><br><br> OPTIONS template<br> DTYPE netcdf<br> XDEF longitude 144 linear 0.0 2.5<br> YDEF latitude 73 linear -90 2.5<br> TDEF time 1 linear 0z1Jan2001 1dy<br>
The variables for both are U and V respectively. However<br> since the meridional file is open second the meridional<br> wind becomes defined as V.2. Therefore, I have to<br> redefine V=V.2. However when I run GrADS script <a href="http://traj.gs/" target="_blank">traj.gs</a><br>
</div> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>> <<a href="http://traj.gs/" target="_blank">http://traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>> I get
<div class="im"><br> the following message:<br><br> Please open file and draw a chart<br> How can I avoid this message and run <a href="http://traj.gs/" target="_blank">traj.gs</a><br></div>
<<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>> <<a href="http://traj.gs/" target="_blank">http://traj.gs</a> <<a href="http://traj.gs/" target="_blank">http://traj.gs/</a>>><br>
successfully?<br> Thanks,<br> Jason<br><br><br><br></blockquote></blockquote></div><br>