These are chat archives for CWSL/cwsl-mas

3rd
Aug 2015
willrhobbs
@willrhobbs
Aug 03 2015 06:59
I have a question about the vistrails averaging modules. Does the spatial averaging include areal weighting, and likewise does temporal averaging include time weighting? The importance of the former is self-explanatory; the latter becomes important for budget calculations. Will
Damien Irving
@DamienIrving
Aug 03 2015 07:08
@willrhobbs The averaging scripts are all in the aggregation directory of the cwsl-mas repo: https://github.com/CWSL/cwsl-ctools/tree/master/aggregation
You'll see that cdo_field_agg.sh and cdo_time_agg.sh simply use cdo.
It looks like cdo does apply area weighting when calculating fldmean or fldavg: https://code.zmaw.de/projects/cdo/embedded/index.html#x1-3220002.8.5
Damien Irving
@DamienIrving
Aug 03 2015 07:17
As far as I'm aware time-weighted averaging is not directly supported in CDO, so we'd have to write a script to do that in another language and throw it into the aggregation directory.