[ncl-talk] average in its original latitude and logitude

Smrati Purwar ritipurwar at gmail.com
Wed Mar 20 02:39:22 MDT 2019


Hello Ncl,
I am trying to plot average data in a map . But when i m taking dim_avg_n
function , then average is coming in term of index . i want average in its
original latitude and logitude term so that it show properly.. please help
begin
f = addfile("rf2013.nc","r")
time = f->time
lat = f->lat
lon = f->lon
rf = f->rf
rfavg = dim_avg_n_Wrap(rf(time|:,lat|:,lon|:),0)
print(rfavg)
wks = gsn_open_wks("png","rf2")
res = True
res at cnFillOn            = True
plot = gsn_contour(wks,rfavg,res)
end

Thanking you
-- 
With Thanks & Regards
Smrati Purwar
Ph.D Scholar(CSIR-JRF)
CSIR- 4th Paradigm Institute(CMMACS)
NAL Belur Campus, Wind tunnel road
Bangalore, India-560037
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190320/11c384b0/attachment.html>


More information about the ncl-talk mailing list