[ncl-talk] To get the mean Latitude
Chathurika
chatu at scsio.ac.cn
Fri Jul 23 01:45:25 MDT 2021
Dear Dennis,
Millions of thanks for the reply.
But I want to know the mean latitude at each longitude point separately. If I use dim_avg_n_wrap, I cannot plot the latitude, longitude plot like in the attachment.
Thank you so much again and best regards,
Chathu
-----Original Messages-----
From:"Dennis Shea" <shea at ucar.edu>
Sent Time:2021-07-23 02:28:13 (Friday)
To: Chathurika <chatu at scsio.ac.cn>
Cc: ncl-talk <ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] To get the mean Latitude
psi(lat,lon) ; [lat | 151] x [lon | 1441]; dimension numbers 0, 1
psiMean = dim_avg_n_Wrap(psi, 0)
printVarSummary(psiMean) ; psiMean(lon) ==> psiMean(1441)
wks =
resxy = True
:
plt_psiMean = gsn_csm_xy(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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210723/253326bb/attachment.html>
More information about the ncl-talk
mailing list