[gradsusr] Plot wind time series
MIGUEL FIDENCIO SAAVEDRA JUAN DE DIOS
msaavedraj at unmsm.edu.pe
Wed Jan 17 10:01:26 EST 2018
Hello all:
I want to get wind graphs as the attached figure (windvecSabine.png).
With the grads script that I attached, the results are not as expected
(vector.png) .
Please someone have a suggestion?
$ cat vector-time.gs
'open total2015.ctl'
'set display color white'
'set lat -10'
'set lon -81'
'set t 1 10'
'set gxout vector'
*'set vpage -5 5 -8 8'
'd const(u,0);v;mag(u,v)'
*'d u;v;mag(u,v)'
*'d u-u;v;mag(u-u,v)'
'printim vector.png'
'!display vector.png'
my ctl is:
cat total2015.ctl
DSET ^2015%m2%d2.dat
OPTIONS TEMPLATE
UNDEF -9.99e+08
XDEF 1440 LINEAR 0.125 0.25
YDEF 641 LINEAR -79.875 0.25
ZDEF 1 LEVELS 10
TDEF 360 LINEAR 12Z01JAN2008 1dy
VARS 2
u 0 99 eastward_wind
v 0 99 northward_wind
ENDVARS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180117/77e995fa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windvecSabine.png
Type: image/png
Size: 10062 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180117/77e995fa/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector.png
Type: image/png
Size: 4610 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180117/77e995fa/attachment-0003.png>
More information about the gradsusr
mailing list