this default "t" for dimension arg in applu_dimension is overly opinionated (and apparently causing confusion about how the process handles dimensions):
|
def apply_dimension( |
|
self, |
|
code: Optional[str] = None, |
|
runtime=None, |
|
# TODO: drop None default of process (when `code` and `runtime` args can be dropped) |
|
process: Union[str, typing.Callable, UDF, PGNode] = None, |
|
version: Optional[str] = None, |
|
# TODO: dimension has no default (per spec)? |
|
dimension: str = "t", |
DataCube.apply_dimension should align better with the official spec (required arg with no default)
this default "t" for
dimensionarg inapplu_dimensionis overly opinionated (and apparently causing confusion about how the process handles dimensions):openeo-python-client/openeo/rest/datacube.py
Lines 1366 to 1374 in 6da65a2
DataCube.apply_dimension should align better with the official spec (required arg with no default)