Using traj.gs
Jason Snyder
jmssnyder at UCDAVIS.EDU
Sun Jan 24 20:16:21 EST 2010
I still get the same message about hours or minute missing in TDEF.
Jason
On Sun, Jan 24, 2010 at 4:57 PM, James T. Potemra <jimp at hawaii.edu> wrote:
> You have to change the TDEF line to be either HR or MN.
> Right now you have 1dy; make it 24HR.
>
> Jim
>
> Jason Snyder wrote:
>
>>
>>
>> On Sun, Jan 24, 2010 at 4:16 PM, Jason Snyder <jmssnyder at ucdavis.edu<mailto:
>> jmssnyder at ucdavis.edu>> wrote:
>>
>> I tried running traj.gs <http://traj.gs/> again after displaying a
>>
>> map and I got the following message:
>> ga-> d U;V
>> ga-> traj.gs <http://traj.gs/>
>>
>> HR or MN missing in line TDEF of file uninan.ctl
>> ga->
>> Here is an example of a .ctl file I have for the zonal wind part
>> of my data:
>> DSET uninan2.nc <http://uninan2.nc/>
>>
>> OPTIONS template
>> DTYPE netcdf
>> XDEF longitude 57 linear 110.0 2.5
>> YDEF latitude 39 linear -5 2.5
>> TDEF time 1 linear 0z1Jun1974 1dy 0hr 0mn
>> How do I modify this file so I can succesfuuly run traj.gs
>> <http://traj.gs/>?
>>
>> Thanks,
>> Jason
>> On Sun, Jan 24, 2010 at 2:59 PM, James T. Potemra <jimp at hawaii.edu
>> <mailto:jimp at hawaii.edu>> wrote:
>>
>> Jason:
>>
>> The script requires that you first display a variable (it uses
>> the GrADS query function to get plot dimensions). If you
>> don't want to actually display something "under" your
>> trajectory, you can "set cmin" to something larger than U
>> and/or V, then display U and/or V, then run traj.gs
>> <http://traj.gs/>
>>
>>
>> Jim
>>
>> Jason Snyder wrote:
>>
>> I am trying to open up two files one with a zonal wind
>> componant and the other with the meridional wind componant
>> to use to make a trajectory via traj.gs <http://traj.gs/>
>> <http://traj.gs <http://traj.gs/>> script.
>>
>>
>> Here is the .ctl file for the zonal wind:
>> DSET uwndavg2001.nc <http://uwndavg2001.nc/>
>> <http://uwndavg2001.nc <http://uwndavg2001.nc/>>
>>
>>
>> OPTIONS template
>> DTYPE netcdf
>> XDEF longitude 144 linear 0.0 2.5
>> YDEF latitude 73 linear -90 2.5
>> TDEF time 1 linear 0z1Jan2001 1dy
>> Here is the .ctl file for the meridional wind:
>> DSET vwndavg2001.nc <http://vwndavg2001.nc/>
>> <http://vwndavg2001.nc <http://vwndavg2001.nc/>>
>>
>>
>> OPTIONS template
>> DTYPE netcdf
>> XDEF longitude 144 linear 0.0 2.5
>> YDEF latitude 73 linear -90 2.5
>> TDEF time 1 linear 0z1Jan2001 1dy
>> The variables for both are U and V respectively. However
>> since the meridional file is open second the meridional
>> wind becomes defined as V.2. Therefore, I have to
>> redefine V=V.2. However when I run GrADS script traj.gs
>> <http://traj.gs/> <http://traj.gs <http://traj.gs/>> I get
>>
>> the following message:
>>
>> Please open file and draw a chart
>> How can I avoid this message and run traj.gs
>> <http://traj.gs/> <http://traj.gs <http://traj.gs/>>
>> successfully?
>> Thanks,
>> Jason
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100124/80d72e78/attachment.html
More information about the gradsusr
mailing list