<div dir="ltr"><div> psi(lat,lon) ; <span style="font-variant-ligatures:no-common-ligatures">[lat | 151] x [lon | 1441]; dimension numbers 0, 1<br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"> psiMean = <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_avg_n_Wrap.shtml"><b>dim_avg_n_Wrap</b></a>(psi, 0)<br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"> printVarSummary(psiMean) ; psiMean(lon) ==> psiMean(1441)<br></span></div><div>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal"> wks =</p><p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal"><span style="font-variant-ligatures:no-common-ligatures"> resxy = True<br></span></p><p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal"><span style="font-variant-ligatures:no-common-ligatures"> :<br></span></p></div><div><br></div><div> plt_psiMean = <a href="http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy.shtml"><b>gsn_csm_xy</b></a>(wks, lon, psiMean, resxy)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 19, 2021 at 3:41 AM Chathurika via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p>
<span style="font-family:Georgia;font-size:18px">Dear All,</span>
</p>
<p>
<br>
</p>
<p>
<span style="font-family:Georgia;font-size:18px">I have the barotropic streamfunction values in the southern ocean (attached figure). I want to get the mean latitude (ACC core) at each longitude. And plot the data as Latitude longitude contour plot using one contour line. I am bit lost about how can I do this. It would be great if you can give me some ideas about getting the mean Latitudes for each and every longitude.</span>
</p>
<p>
<br>
</p>
<p>
<span style="font-family:Georgia;font-size:18px">Print summary for the data set:</span>
</p>
<p>
</p><p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Type: float</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Total Size: 870364 bytes</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>217591 values</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 2</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes: [lat | 151] x [lon | 1441]</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Coordinates:<span> </span></span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>lat: [ -35..-72.5]</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>lon: [-180.. 180]</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 12</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>_FillValue : 1e+20</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>standard_name : ocean_barotropic_mass_streamfunction</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>long_name : Ocean Barotropic Mass Streamfunction</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>comment : Streamfunction or its approximation for free surface models. See OMDP document for details.</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>units : kg s-1</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>original_name : msftbarot</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>cell_methods : area: mean where sea time: mean</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>cell_measures : area: areacello</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>history : 2019-08-25T07:38:10Z altered by CMOR: replaced missing value flag (-9e+33) and corresponding data with standard missing value (1e+20).</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>remap : remapped via ESMF_regrid_with_weights: Bilinear</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>average_op_ncl : dim_avg_n over dimension(s): time</span>
</p>
<p style="margin-bottom:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;white-space:normal">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>missing_value : 1e+20</span>
</p>
<p></p>
<p>
<span style="font-family:Georgia;font-size:16px">Millions of thanks and best regards,</span>
</p>
<p>
<span style="font-family:Georgia;font-size:16px">Chathu</span>
</p>
<br>
<span>
<hr style="margin:0.5em 0px;width:10em;height:1px;background-color:rgb(153,153,153);border:medium none" align="left">
<blockquote style="margin:0px 0px 0px 40px;padding:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:small;font-variant-ligatures:normal;border:medium none">
<span style="font-style:italic;font-size:medium"><br>
</span>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px;padding:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:small;font-variant-ligatures:normal;border:medium none">
<span style="font-style:italic;font-size:medium"><br>
</span>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px;padding:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-variant-ligatures:normal;border:medium none">
<span style="font-style:italic"><span style="font-size:x-small">Wickramage Chathurika Hemamali</span></span>
<div>
<span style="font-style:italic"><span style="font-size:x-small">Msc in Physical Oceanography</span></span>
</div>
<div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2251">
<span style="font-style:italic"><span style="font-size:x-small">State Key Laboratory of Tropical Oceanography</span></span>
</div>
</div>
<div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2252">
<span style="font-style:italic"><span style="font-size:x-small">South China Sea Institute of Oceanology</span></span>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2252">
<span style="font-style:italic"><span style="font-size:x-small">University of Chinese Academy of Science</span></span>
</div>
</div>
<div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264">
<span style="font-style:italic"><span style="font-size:x-small">China</span></span>
</div>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<span style="font-style:italic;font-size:medium"><br>
</span>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<i><span style="font-size:xx-small">Specialized in Oceanography and Marine Geology (Bachelor)</span></i>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<i><span style="font-size:xx-small">University of Ruhuna</span></i>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<i><span style="font-size:xx-small">Matara</span></i>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<i><span style="font-size:xx-small">Sri Lanka</span></i>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<span style="font-style:italic;font-size:medium"><br>
</span>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<span style="font-style:italic;font-size:medium">Email : <a>wickramagechathurika@rocketmail.com</a></span>
</div>
<div id="gmail-m_4457830907798713581ydpc6aa4ef1yui_3_16_0_ym19_1_1496286059659_2264" style="font-size:small">
<span style="font-style:italic;font-size:medium"><a>chatu@scsio.ac.cn</a></span>
</div>
</blockquote>
</span>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>