Using traj.gs
James T. Potemra
jimp at HAWAII.EDU
Sun Jan 24 17:59:28 EST 2010
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
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> script.
>
> Here is the .ctl file for the zonal wind:
>
> DSET 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>
> 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> 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>
> successfully?
>
> Thanks,
>
> Jason
More information about the gradsusr
mailing list