This is useful to test the aggregation service or to fix some mistakes.
Note the generic script parameter system seems rather fragile and is not really satisfying at this moment: any script called through ACH script <path> can get a param, which is an array of arguments passed to the script.
For example, by calling ACH script timeseries/removeAggregations.js 2023-09-10, the date will be in params[0]. But then, the caller of the script has no way to know this rather than reading the code...
This is useful to test the aggregation service or to fix some mistakes.
Note the generic script parameter system seems rather fragile and is not really satisfying at this moment: any script called through
ACH script <path>
can get aparam
, which is an array of arguments passed to the script. For example, by callingACH script timeseries/removeAggregations.js 2023-09-10
, the date will be inparams[0]
. But then, the caller of the script has no way to know this rather than reading the code...