<div dir="ltr"><div><br></div>Thanks Julio N. Martínez Sánchez.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 8:05 PM, Julio Martinez <span dir="ltr"><<a href="mailto:julioms24@hotmail.com" target="_blank">julioms24@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><b>d u_velocity.1; v_velocity.1;mag(u_velocity.1,v_velocity.1)</b><div><b><br></b></div><div><b>Hope it helps!<br></b><br><br><span><font color="#888888">Julio N. Martínez Sánchez<br>M.C. en Oceanografía Física<br>
Consultor en Sitio</font></span><div><font color="#888888">Subgerencia de Pronóstico a Mediano y Largo Plazo</font></div><div><font color="#888888">Gerencia de Meteorología y Climatología</font></div><div><font color="#888888">Servicio Meteorológico Nacional</font></div>
<div><font color="#888888">Ext. 3156</font></div><br><br><div><hr>From: <a href="mailto:anilku@oceanmanager.com" target="_blank">anilku@oceanmanager.com</a><br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
Date: Tue, 27 May 2014 11:45:59 +0530<br>Subject: [gradsusr] How to determine Strength of Ocean Current using Grads<div><div class="h5"><br><br><div><p>Hi Grad Users,</p><p> </p><p>Below is my question and work done so far on my problem, please guide me to solve.</p>
<p> </p><p><b>Question</b> : How to calculate the strength of ocean current data to provide different colors to different levels using Grads ?</p><p> </p><p><b>Work Done so far : </b>Ocean current data downloaded from NOAA and below is the ctlinfo from the NetCDF data</p>
<p> </p><p><b>dset D:\OceanData\2014\05\25\<a href="http://rtofs_glo_2ds_f024_daily_prog.nc" target="_blank">rtofs_glo_2ds_f024_daily_prog.nc</a></b></p><p><b>title 2D Sfc Daily Prognostic 00Z21may2014: Forecast, downloaded May 25 15:22 UTC</b></p>
<p><b>undef 1.26765e+30</b></p><p><b>dtype netcdf</b></p><p><b>xdef 720 linear 74.16 0.49998</b></p><p><b>ydef 360 linear -90 0.49998</b></p><p><b>zdef 1 linear 1 1</b></p><p><b>tdef 1 linear 00Z25MAY2014 1mn</b></p><p><b>vars 2</b></p>
<p><b>u_velocity=>u_velocity 1 t,z,y,x eastward_sea_water_velocity (m/s)</b></p><p><b>v_velocity=>v_velocity 1 t,z,y,x northward_sea_water_velocity (m/s)</b></p><p><b>endvars</b></p><p><b> </b></p><p>Am using below selected commands to generate vectors, and automatically it gives in strength in terms of length of arrow.</p>
<p> </p><p><b>sdfopen D:/ OceanData /2014/05/25/<a href="http://rtofs_glo_2ds_f024_daily_prog.nc" target="_blank">rtofs_glo_2ds_f024_daily_prog.nc</a></b></p><p><b>d u_velocity.1; v_velocity.1</b></p><p> </p><p>if I make vector’s scaling fixed to 0.015 using ‘<b>set arrscl 0.15</b>‘. </p>
<p> </p><p>So how can I calculate strength of vectors to provide them colors according to levels ?<b></b></p><p> </p><p><b><span style="color:#215868">Thanks & Regards</span></b></p><p><b><span style="color:#215868">Anil Kumar</span></b><b><span style="color:#00a1da"></span></b></p>
<p> </p></div><br></div></div>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></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></div>