<div dir="ltr"><div><div><div>Hello,<br></div><br>Two of your define statements were not enclosed in quotes. See the edited script below: <br><br>'reinit'<br>'sdfopen d:/Ekman_transport/<a href="http://uwnd.2009.nc">uwnd.2009.nc</a>'<br>
'sdfopen d:/Ekman_transport/<a href="http://vwnd.2009.nc">vwnd.2009.nc</a>'<br>'set lev 1000'<br>'define W=mag(uwnd,vwnd.2)'<br>if(W>=3&W<=6);<span style="color:rgb(255,0,0)">'define cd=(0.29+3.1/W+7.7/W**2)/1000'</span>;endif<br>
if(W>=6&W<=26);'<span style="color:rgb(255,0,0)">define cd=(0.6+0.07*W)'</span>;endif<br>'define taux=1.3*cd*W*uwnd'<br>'define tauy=1.3*cd*W*vwnd.2'<br>'d cd'<br>'printim D:/Ekman_transport/cdrag1.jpg white'<br>
<br></div>Best,<br></div>EB<br><div><div>~ <br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 1:21 AM, Jayakrishnan P.R <span dir="ltr"><<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have tried the method as suggested by users. Still some errors. I herewith attach the gs file I used for the computation. Could anyone point out the errors.?<br>
<br>'reinit'<br>'sdfopen d:/Ekman_transport/<a href="http://uwnd.2009.nc" target="_blank">uwnd.2009.nc</a>'<br>
'sdfopen d:/Ekman_transport/<a href="http://vwnd.2009.nc" target="_blank">vwnd.2009.nc</a>'<br>'set lev 1000'<br>'define W=mag(uwnd,vwnd.2)'<br>if(W>=3&W<=6);<br>define cd=(0.29+3.1/W+7.7/W**2)/1000;<br>
endif<br>if(W>=6&W<=26);<br>define cd=(0.6+0.07*W);<br>endif<br>'define taux=1.3*cd*W*uwnd'<br>'define tauy=1.3*cd*W*vwnd.2'<br>'d cd'<br>'printim D:/Ekman_transport/cdrag1.jpg white'<br>
<br></div>Thnaking You.<div><div class="h5"><br><div><br></div><div class="gmail_extra"><br>-- <br>Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br>Teaching Associate (Atmospheric Science)<br>
Academy of Climate Change Education and Research<br>
Kerala Agricultural University<br>Vellanikkara-680 656<br><br>and also<br><br>Research Fellow (Part Time)<br>Department of Atmospheric Sciences<br>CUSAT, Cochin-682 016<br>Kerala, India.<br>Mob: 09496026547<br><br>***********************************************
</div></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">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><div>-----------------------------------------------------------------------------------</div>
<div>Endalkachew Bekele</div>
<div>NOAA Center for Weather and Climate Prediction / CPC International Desks</div>
<div>5830 University Research Court, Rm 3149<br>College Park, Maryland 20740<br>Tel: (301) 683-3459</div>
<div>e-mail: <a href="mailto:endalkachew.bekele@noaa.gov" target="_blank">endalkachew.bekele@noaa.gov</a></div>
<div> </div>
<div> </div>
</div>