Project

General

Profile

selmonth vs timselsum

Added by Ilias Moysidis 5 days ago

Hello guys. I wanted to calculate the average number of days per year for which the temperature during spring is over 30 degrees celcius. Logically, I used this cdo chain of commands

cdo timmean -yearsum -selmonth,3,4,5 -expr,'hot=(tasmax-273.15)>30' tasmax__model1.nc tmax_over30_spring.nc

Unfortunately, this was not enough for me and I wanted to cross check my results. To do this I used this cdo chain of commands

cdo timmean -timselsum,92,60 -expr,'hot=(tasmax-273.15)>30' tasmax_model1.nc tmax_over30_spring.nc

There is a huge descrepancy in the results of these two commands, 13 and 35 days. My gut tells me that I did not use timselsum correctly. I am not sure if timselsum skips the first 60 days of the year, keeps the rest 92 of the same year and then repeats for the next year or repeats for the same year.

Can someone give me a definite answer?