<div dir="ltr"><div>The example used zonally averaged within ocean basins.</div><div>However, I believe that this is not a requirement.<br></div><div><br></div><div>T(depth,longitude), S(depth,longitude) ==> rho(depth,longitude)</div><div><br></div><div><br></div><div>========<br></div><div>You can see the code: <br></div><div><br></div><div><b>%></b> less $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl</div><div><br></div><div>Search for <b>rho_mwif</b><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 11, 2018 at 1:17 PM Amarjiit Vikkas Pandde <<a href="mailto:amarjiitpandde@email.arizona.edu">amarjiitpandde@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Dear NCL users,</div><div><br></div><div>I am trying to calculate the potential density of the ocean at a specific latitude and divide the cross-section of the ocean at that latitude into different layers based on potential densities at the surface, 2000m deep and 4000m deep. </div><div>I have temperature variable (with dimensions depth and longitude / rlon) and same for salinity. </div><div>can I use the function rho_mwjf for this purpose? as I read in its documentation that it needs variables which are averaged zonally.</div><div><br></div><div>Thanks in advance,</div><div>Amarjiit Pandde.</div><div><br></div><div><br></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>