<div dir="ltr">Dear GrADS members,<div><br></div><div>I have a doubt regarding the multiplication of the 1/g and vector field. I wrote two types of script... I don't know which is correct.</div><div><br></div><div>my 1st script***************************************</div><div><br></div><div>'reinit'<br>'set display color white'<br>'clear'<br>'sdfopen <a href="http://shum.mon.mean.nc">shum.mon.mean.nc</a>'<br>'sdfopen <a href="http://uwnd.mon.mean.nc">uwnd.mon.mean.nc</a>'<br>'sdfopen <a href="http://vwnd.mon.mean.nc">vwnd.mon.mean.nc</a>'<br><br>'set lat -30 30' <br>'set lon 30 120'<br><br>'set lev 1000 300'<br><br>'define psurf=uwnd.2*0.0+1000.0'<br><br><br>'define qu = shum.1*uwnd.2'<br>'define qv = shum.1*vwnd.3'<br>'set lev 1000'<br>'define uvt = vint(psurf,qu,300)'<br>'define vvt = vint(psurf,qv,300)'<br>'define ivt = sqrt(uvt*uvt+vvt*vvt)'<br><br>'set xlint 10'<br>'set ylint 10'<br>'set map 1 1 8'<br>'set grads off'<br><br>'set gxout shaded'<br>'d IVT'<br><br>'cbarn'<br>'set gxout vector'<br><b><font size="4">'d uvt;vvt'</font></b><br><br>'gxprint IVT.pdf'<br><br>*****************************************************************</div><div><br></div><div>my 2nd script**************************</div><div><br></div><div>'reinit'<br>'set display color white'<br>'clear'<br>'sdfopen <a href="http://shum.mon.mean.nc">shum.mon.mean.nc</a>'<br>'sdfopen <a href="http://uwnd.mon.mean.nc">uwnd.mon.mean.nc</a>'<br>'sdfopen <a href="http://vwnd.mon.mean.nc">vwnd.mon.mean.nc</a>'<br><br>'set lat -30 30' <br>'set lon 30 120'<br><br>'set lev 1000 300'<br><br>'define psurf=uwnd.2*0.0+1000.0'<br>'define g=9.80665'<br><br>'define qu = shum.1*uwnd.2'<br>'define qv = shum.1*vwnd.3'<br>'set lev 1000'<br>'define uvt = vint(psurf,qu,300)'<br>'define vvt = vint(psurf,qv,300)'<br><b><font size="4">'define uvt1=1/g*uvt'<br>'define vvt1=1/g*vvt'</font></b><br>'define ivt = sqrt(uvt1*uvt1+vvt1*vvt1)'<br><br>'set xlint 10'<br>'set ylint 10'<br>'set map 1 1 8'<br>'set grads off'<br><br>'set gxout shaded'<br>'d IVT'<br><br>'cbarn'<br>'set gxout vector'<br><font size="4"><b>'d u;v'</b></font><br><br>'gxprint IVT.pdf'<br><br>*****************************************************************<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px">Kindly help me with this topic.</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px">Thank you and regards</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px">Sanjukta Rani Padhi <br></div></div></div></div></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px"><div><span style="font-size:small;font-family:verdana,helvetica,sans-serif">Senior Research Fellow(DST INSPIRE)</span></div><div><span style="font-size:small;font-family:verdana,helvetica,sans-serif">Dept. of Marine Sciences</span></div><div><span style="font-size:small;font-family:verdana,helvetica,sans-serif">Berhampur University</span></div><div><span style="font-size:small;font-family:verdana,helvetica,sans-serif">Bhanja Bihar-760007</span></div><div><span style="font-size:small;font-family:verdana,helvetica,sans-serif">Berhampur, Odisha</span></div><div><br></div></div></div></div></div></div></div>