Found this message showing how to find percentiles for 2-dimensional gridded data:
http://ferret.pmel.noaa.gov/Ferret/Mail_Archives/fu_2004/msg00632.html
However, I would like to compute quantiles/percentiles along my time axis at each grid cell of the 2-dimensional gridded data. I.e., for each x and y, the percentiles are done along the time axis with valid data points. (We can ignore the z dimension for now.)
I could take the time series at each grid cell using nested repeat loop in x and y dimensions, following the above example to sort the data and place the ordered data onto the tiled axis.
It does not sound very efficient to me. Has anyone done something similar in ferret? Is there a better way to do this, perhaps without nested repeat loops in both x and y directions?
Appreciate any help.
Cooperative Institute for Climate and Satellites, NC (CICS-NC)
North Carolina State University (NCSU) and
NOAA’s National Centers for Environmental Information (NCEI)
Center for Weather and Climate (CWC)
Following CICS-NC on Facebook