[Thread Prev][Thread Next][Index]

[ferret_users] spatial daily mean



Dear Ferret users,

In my below script, I have 122 days of rainfall data (l=18050:18171), I have to do the spatial daily mean of rainfall so that I will get 122 mean values in the defined points OR mean of xci,yci grids.

=======================================================================
use rainfall.nc
!! cxi and yci is my region lat lon
let xci = {77,79,79,83,83,84,84,83,83,82,82,80,80,79,79,76,76,73,73,72,72,74,74,75,75,77,77}
let yci = {27,27,25,25,24,24,21,20,20,19,18,18,17,17,16,16,15,15,15,18,21,21,23,23,24,24,24}
let ci = pt_in_poly(rf[d=1],xci, yci)
let ci_data = if ci eq 1 then ci*rf[d=1,l=18050:18171]
list ci_data !! need 122 values listed
=======================================================================

Any suggestion to get it, Kindly let me know.

Thanks,
Nitin

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement