Hi! I found a bug in CST_PeriodStantardization: when selecting a ref_period, the ref_period parameter was not used because the dates were not passed down to the internal PeriodStandarization function; I've added that parameter in the function call and I think now the issue is solved so I request the merge, but please review it :-)