[gradsusr] vertical cross sections
Cypresslin
cypressyew at gmail.com
Thu Nov 11 01:32:43 EST 2010
Try to use the command "collect" to collect data that interpolated from
grid point data to station data. (via the "gr2stn" function)
For example:
'set zlog on'
'set lev 1000 100'
* Make Z to be the only varying dimension
'set x 1'
'set y 1'
* Empty the Collection 1
'collect 1 free'
lon1 = 119.61
lon2 = 124.974
lat1 = 25.35
lat2 = 25.4
*
lon = lon1
while(lon <= lon2)
lat = lat1 + (lat2-lat1)*(lon-lon1)/(lon2-lon1)
'collect 1 gr2stn(pv,'lon','lat')'
* the follow increment will affect the computation efficiency greatly
lon=lon+0.1
endwhile
'set lon 119.61 124.974'
'set gxout shaded'
'd coll2gr(1,-u)'
> Grads users,
> Is there a way to plot a vertical cross section that isn't aligned
> meridionally or zonally (i.e., posessing some sort of NW-SE or SW-NE etc
> orientation)?
>
> Jeff Duda
>
> --
> Jeff Duda
> Iowa State University
> Meteorology Graduate Student
> 3134 Agronomy Hall
> www.meteor.iastate.edu/~jdduda
More information about the gradsusr
mailing list