Skip to content

Commit

Permalink
load_collection and load_result: Require at least one band if not…
Browse files Browse the repository at this point in the history
… set to `null`. #372
  • Loading branch information
m-mohr committed Jul 19, 2022
1 parent 31ce48d commit 77df6a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Renamed `text_merge` to `text_concat` for better alignment with `array_concat` and existing implementations.
- `apply_neighborhood`: Allow `null` as default value for units.
- `run_udf`: Allow all data types instead of just objects in the `context` parameter. [#376](https://github.com/Open-EO/openeo-processes/issues/376)
- `load_collection` and `load_result`: Require at least one band if not set to `null`. [#372](https://github.com/Open-EO/openeo-processes/issues/372)

### Removed

Expand Down
3 changes: 2 additions & 1 deletion load_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"schema": [
{
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"subtype": "band-name"
Expand Down Expand Up @@ -303,4 +304,4 @@
"title": "List of common band names as specified by the STAC specification"
}
]
}
}
3 changes: 2 additions & 1 deletion proposals/load_result.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
"schema": [
{
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"subtype": "band-name"
Expand All @@ -198,4 +199,4 @@
"subtype": "raster-cube"
}
}
}
}

0 comments on commit 77df6a0

Please sign in to comment.