Project

General

Profile

Finding daily percentiles of gridded data

Added by Kyle Lesinger almost 4 years ago

Hello.

I am trying to find the percentile values for each day of the year out of 38 years of daily data with 1 variable (soil moisture). I am looking at the percentiles for each day (e.g., Jan 1 - Dec. 31) from all 38 years of data. The final output should be 38 years of daily data with the percentile value for each day. I currently do not see any CDO operators that work with this type of data.

I have investigated ydaypctl, ydrunpctl, and fldpct but these all produce a single year of percentile values at one specific value that I can input (e.g., 40th percentile).

Do I have to manually code the actual percentile value in Python or R to see what each day's percentile value is when grouped by month and day?

Any advice about an operator that I have not heard of would be very much appreciated. Currently my python code is very slow for this analysis.

Thanks,

Kyle L.


Replies (3)

RE: Finding daily percentiles of gridded data - Added by Kyle Lesinger almost 4 years ago

Apologies, I also need the percentiles to be for each grid cell. None of the operators seem to work on individual grid cells and produce the same number of timesteps as my input.

RE: Finding daily percentiles of gridded data - Added by Karin Meier-Fleischer almost 4 years ago

Please, don't do crosspostings. See https://code.mpimet.mpg.de/boards/1/topics/10860
For these kind of questions the support forum is the right place. ;)

RE: Finding daily percentiles of gridded data - Added by Kyle Lesinger almost 4 years ago

Sorry I realized after I posted this in the Discussion that the Support Forum was actually the place that I needed to post it and I couldn't figure out how to delete this post. I won't cross post again.

    (1-3/3)