Skip to content

EC-mean time averages based on unweighted monthly means #20

@jhardenberg

Description

@jhardenberg

On the EC-Earth dev Portal Twan noticed the following:

I noticed that the (multi-)yearly means produced by EC-mean are calculated as the unweighted means of the monthly mean time series. See this piece of code in scripts/global_mean.sh:

for (( year=$year1; year<=$year2; year++)); do
    indir=$DATADIR/Post_$year
    $cdonc cat $indir/${exp}_${year}_${vv}.nc $WRKDIR/full_field.nc
done

$cdo fldmean -timmean $WRKDIR/full_field.nc  $WRKDIR/mean_${vv}.nc

I suppose that for many purposes this will be sufficiently accurate, but it may also lead to confusion because the reported values are not the true (multi-)annual means. Wouldn't it be better to -- at some point -- include the proper weighting factors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions