Hi,<br>You can use the command "define" for create variable.<br>Exemplo: 'define v=vwnd.1'<br> 'define s=slp.2'<br> 'define aaf=vint(s,v,200)'<br><br>or 'define aaf=vint( slp.2,vwnd.1,200)'<br>
<br>but I'm not sure you can use the variable wind, because the documention says GrADS "the expression integrated is specific humidity (q) in units of g/g, the result is kg of water per square meter, or precipitable water in mm. "<br>
<br>Att.<br>Rafael<br><br><br><div class="gmail_quote">2012/5/28 resmi ea <span dir="ltr"><<a href="mailto:reshmiea@gmail.com" target="_blank">reshmiea@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear users <br><br>i am finding difficulty in using vint function in grads.<br>Please anyone point out the error in the gs scripts<br>while running it shows Segmentation fault (core dumped)<br> 'reinit'
<br>'sdfopen /media/resmi-1/windows/ncep/uwnd/<a href="http://vwnd.2009.nc" target="_blank">vwnd.2009.nc</a>'<br>'sdfopen /media/resmi-1/windows/ncep/uwnd/<a href="http://slp.2009.nc" target="_blank">slp.2009.nc</a>'<br>
'set lat 0 90'
<br>'set lon 0 180'
<br>'define aaf=vint(slp.2,vwnd,200)'<br>'d aaf'
<br><span><font color="#888888"><br clear="all"><br>-- <br>Resmi E A<br>Research Scholar<br>Cochin university of science and technology<br>Cochin-16<br><br>
</font></span><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Rafael Censi Borges<br>Téc.Meteorologia - Epagri/Ciram<br>+55 (48)3239-8064/8066<br><a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a><br>
<br>