I have several netcdf files, wich I have opened with xarray. They contain daily data from 1950 to date. What I want to do is to calculate the intramonthly mean, that means t