t.rast.aggregate: Name output rasters based on start-time
|Reported by:||sbl||Owned by:|
Using a numerical suffix for aggregated time series data makes it less intuitive to use the results outside the TGRASS framework. One has to look up the time stamp for e.g. a rastermap "temperature_avg_months_317" in order to know which time periode it refers to (even those people who produced it), while "temperature_avg_months_1989_09" already tells something.
Please find attached a proposal for naming output rasters based on start time - truncated according to granularity, implemented in a flag (s).
The attached patch is a modification of a patch I made for GRAS 7.0 wich I currently use and where it works fine for absolute time datasets. Not sure if it is suitable for relative or cyclic time though and it has not been tested with GRASS 7.1. So it needs a critical review in any case.
I do not know if such a solution would be relevant for t.rast.accumulate too (I have not used the module yet)...
If you find it useful I can send a patch for GRASS 7.0 too.
Change History (15)
comment:1 by , 9 years ago
|Component:||Default → Temporal|
|CPU:||Unspecified → All|
|Platform:||Unspecified → All|