diff --git a/CHANGELOG.md b/CHANGELOG.md index 4905b34e..ff3c159f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,7 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Numeric openEO error codes. Replaced in responses with textual error codes. [#139](https://github.com/Open-EO/openeo-api/issues/139) - Query parameters to replace process graph variables in `GET /process_graphs/{process_graph_id}`. [#147](https://github.com/Open-EO/openeo-api/issues/147) - `min_parameters` and `dependencies` for parameters in process descriptions returned by `GET /processes`. -- Replaced output format properties in favor of an export process, which has resulted in in the removal of: +- Replaced output format properties in favor of a `save_result` process, which has resulted in in the removal of: - The default output format in `GET /output_formats`. [#153](https://github.com/Open-EO/openeo-api/issues/153) - The output format properties in `POST /result` (fka `POST /preview`), `POST /jobs`, `PATCH /jobs` and `GET /jobs/{job_id}` requests. [#153](https://github.com/Open-EO/openeo-api/issues/153) - `gis_data_type` (not to be confused with `gis_data_types`) in the parameters of output formats in `GET /output_formats` diff --git a/docs/examples-poc.md b/docs/examples-poc.md index 0e5434ed..f7e82401 100644 --- a/docs/examples-poc.md +++ b/docs/examples-poc.md @@ -340,8 +340,8 @@ Compute time series of zonal (regional) statistics of Sentinel 2 imagery over us } } }, - "export1": { - "process_id": "export", + "savere1": { + "process_id": "save_result", "arguments": { "data": {"from_node": "aggreg1"}, "format": "JSON" diff --git a/docs/img/pg-example.png b/docs/img/pg-example.png index 63df61fd..00b72f2c 100644 Binary files a/docs/img/pg-example.png and b/docs/img/pg-example.png differ diff --git a/docs/processgraphs.md b/docs/processgraphs.md index ef312536..ebb415b3 100644 --- a/docs/processgraphs.md +++ b/docs/processgraphs.md @@ -233,8 +233,8 @@ The process graph representing the algorithm: } } }, - "export": { - "process_id": "export", + "save": { + "process_id": "save_result", "arguments": { "data": {"from_node": "mintime"}, "format": "GTiff" diff --git a/openapi.json b/openapi.json index 46d156e9..1ede5ecf 100644 --- a/openapi.json +++ b/openapi.json @@ -3710,7 +3710,7 @@ "description": "Not required, but **STRONGLY RECOMMENDED**! The name commonly used to refer to the band to make it easier to search for bands across instruments. See the \"[Common Band Names](https://github.com/radiantearth/stac-spec/tree/master/extensions/eo#common-band-names)\" for a list of accepted common names." }, "description": { - "$ref": "#/components/schemas/description" + "$ref": "#/components/schemas/collection_band_description" }, "gsd": { "type": "number", @@ -3727,32 +3727,6 @@ "full_width_half_max": { "type": "number", "description": "Full width at half maximum (FWHM) is a common way to describe the size of a spectral band. It is the width, in micrometers (μm), of the bandpass measured at a half of the maximum transmission. Thus, if the maximum transmission of the bandpass was 80%, the FWHM is measured as the width of the bandpass at 40% transmission." - }, - "offset": { - "description": "Offset to convert band values to the actual measurement scale.", - "type": "number", - "default": 0 - }, - "scale": { - "description": "Scale to convert band values to the actual measurement scale.", - "type": "number", - "default": 1 - }, - "unit": { - "description": "The unit of measurement for the data, specified as [OGC URN](http://www.opengis.net/def/uom/).", - "type": "string", - "format": "url" - }, - "nodata": { - "description": "Specific values representing no data.", - "type": "array", - "items": { - "type": "number" - } - }, - "periodicity": { - "description": "Periodictity of the measurements, preferably specified using ISO 8601.", - "type": "string" } } } @@ -3837,9 +3811,8 @@ "description": "The name of the band.", "type": "string" }, - "common_name": { - "description": "Description to fully explain the band, should include processing information.\n\n[CommonMark 0.28](http://commonmark.org/) syntax MAY be used for rich text representation.", - "type": "string" + "description": { + "$ref": "#/components/schemas/collection_band_description" }, "data_type": { "description": "Specifies the type of the data contained in the band, for example `amplitude`, `intensity`, `phase`, `angle`, `sigma0`, `gamma0`.", @@ -4450,8 +4423,8 @@ } } }, - "export": { - "process_id": "export", + "save": { + "process_id": "save_result", "arguments": { "data": { "from_node": "mintime" @@ -4715,6 +4688,10 @@ "description": "Detailed multi-line description to fully explain the collection.\n\n[CommonMark 0.28](http://commonmark.org/) syntax MAY be used for rich text representation.", "type": "string" }, + "collection_band_description": { + "description": "Description to fully explain the band, should include processing information.\n\n[CommonMark 0.28](http://commonmark.org/) syntax MAY be used for rich text representation.", + "type": "string" + }, "service_type": { "description": "Definintion of the service type to access result data. All available service types can be retrieved via `GET /service_types`. Service types MUST be accepted *case insensitive*.", "type": "string",