Multi-year functions v. year functions
Added by Kyle Lesinger almost 4 years ago
Hello,
Can anyone briefly describe the difference between multi-year functions and year functions (e.g., ydaymin and daymin)?
I have 38 years worth of daily data for 1 variable. It seems like they would both produce the same output with 366 days with the minimum value of each day. Can anyone briefly describe the difference in the outputs of ydaymin and daymin?
Thanks,
-Kyle
Replies (1)
RE: Multi-year functions v. year functions - Added by Karin Meier-Fleischer almost 4 years ago
daymin computes the minimum value of the same day in input file
e.g. 2 years --> hourly data for 730 days --> result 730 time steps (days)
ydaymin computes the minimum value for each day over all input years
e.g. 2 years --> hourly data for 730 days --> result 365 (or 366) time steps
You can see what happens when you do
cdo daymin infile outfile1 cdo ydaymin infile outfile2
and look at the results
cdo info outfile1 cdo info outfile2
See https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#subsection.2.8.20
and https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#subsection.2.8.31