[ncl-talk] To get the mean Latitude
Dennis Shea
shea at ucar.edu
Thu Jul 22 12:28:13 MDT 2021
psi(lat,lon) ; [lat | 151] x [lon | 1441]; dimension numbers 0, 1
psiMean = *dim_avg_n_Wrap*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_avg_n_Wrap.shtml>(psi,
0)
printVarSummary(psiMean) ; psiMean(lon) ==> psiMean(1441)
wks =
resxy = True
:
plt_psiMean = *gsn_csm_xy*
<http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy.shtml>(wks,
lon, psiMean, resxy)
On Mon, Jul 19, 2021 at 3:41 AM Chathurika via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear All,
>
>
> 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.
>
>
> Print summary for the data set:
>
> Type: float
>
> Total Size: 870364 bytes
>
> 217591 values
>
> Number of Dimensions: 2
>
> Dimensions and sizes: [lat | 151] x [lon | 1441]
>
> Coordinates:
>
> lat: [ -35..-72.5]
>
> lon: [-180.. 180]
>
> Number Of Attributes: 12
>
> _FillValue : 1e+20
>
> standard_name : ocean_barotropic_mass_streamfunction
>
> long_name : Ocean Barotropic Mass Streamfunction
>
> comment : Streamfunction or its approximation for free surface models.
> See OMDP document for details.
>
> units : kg s-1
>
> original_name : msftbarot
>
> cell_methods : area: mean where sea time: mean
>
> cell_measures : area: areacello
>
> history : 2019-08-25T07:38:10Z altered by CMOR: replaced missing value
> flag (-9e+33) and corresponding data with standard missing value (1e+20).
>
> remap : remapped via ESMF_regrid_with_weights: Bilinear
>
> average_op_ncl : dim_avg_n over dimension(s): time
>
> missing_value : 1e+20
>
> Millions of thanks and best regards,
>
> Chathu
>
> ------------------------------
>
>
>
> Wickramage Chathurika Hemamali
> Msc in Physical Oceanography
> State Key Laboratory of Tropical Oceanography
> South China Sea Institute of Oceanology
> University of Chinese Academy of Science
> China
>
> *Specialized in Oceanography and Marine Geology (Bachelor)*
> *University of Ruhuna*
> *Matara*
> *Sri Lanka*
>
> Email : wickramagechathurika at rocketmail.com
> chatu at scsio.ac.cn
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210722/104ac7db/attachment.html>
More information about the ncl-talk
mailing list