You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One use case for aggregate_temporal is to create data with fixed time intervals. Meaning if I set the period to 'week', I want exactly one observation every week. In practice, this is often combined with e.g. linear interpolation, to fill nodata values in case a given observation was clouded.
However, with the current spec, it is not clear what needs to happen if a given interval doesn't intersect with data in the input datacube? Does the returned datacube have an observation filled with 'nodata' for that interval, or is there no observation at all?
For my current use case, I would like it to be filled with nodata, but this is not necessarily the default case (not sure there).
Do we need a parameter or clarification to pin down the desired behaviour?
The text was updated successfully, but these errors were encountered:
VITO is the only implementation right now, so it seems reasonable to simply clarify the behavior in the process. For me, no-data seems to be the most reasonable choice. (outdated, see comment below)
What other options would a parameter allow? The default can still be no-data so if there's no other use-case yet, I'd just stick with no-data and add the parameter with no-data as default once required.
Actually, this is implicitly clear: All reducers return null (no-data) if an empty array is passed. So it's basically a user-defined behavior, reducers should also be called by back-ends for "empty" intervals and pass an empty array. It's then up to the reducer (and the user) to decide what to do. By default, this is null (no-data). So I'm not even sure we need to do something here, maybe only clarify that empty array should still be computed? @jdries
One use case for aggregate_temporal is to create data with fixed time intervals. Meaning if I set the period to 'week', I want exactly one observation every week. In practice, this is often combined with e.g. linear interpolation, to fill nodata values in case a given observation was clouded.
However, with the current spec, it is not clear what needs to happen if a given interval doesn't intersect with data in the input datacube? Does the returned datacube have an observation filled with 'nodata' for that interval, or is there no observation at all?
For my current use case, I would like it to be filled with nodata, but this is not necessarily the default case (not sure there).
Do we need a parameter or clarification to pin down the desired behaviour?
The text was updated successfully, but these errors were encountered: