Skip to content

Update subtype from 'imagedata' to 'datacube' #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/fixtures/graphs/rgb.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"description": "A PNG image with 3 bands (RGB).",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"parameters": [
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/apply.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
{
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
},
{
"type": "array"
Expand Down Expand Up @@ -74,7 +74,7 @@
},
{
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
},
{
"type": "array"
Expand Down
2 changes: 1 addition & 1 deletion titiler/openeo/processes/data/apply_pixel_selection.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"description": "An ImageData object for further processing.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {},
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/color_formula.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "An image.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
{
Expand All @@ -27,7 +27,7 @@
"description": "The image with the color formula applied.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/colormap.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "An image.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
{
Expand Down Expand Up @@ -73,7 +73,7 @@
"description": "The image with the colormap applied.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {},
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/hillshade.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"description": "A raster data cube.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
{
Expand Down Expand Up @@ -57,7 +57,7 @@
"description": "A raster image data cube containing the computed hillshade values.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {},
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/image_indexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "An image.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
{
Expand All @@ -32,7 +32,7 @@
"description": "The image with the selected indexes.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {
Expand Down
6 changes: 3 additions & 3 deletions titiler/openeo/processes/data/load_collection_and_reduce.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "load_collection_and_reduce",
"summary": "Load a collection and return an imagedata object",
"description": "Loads a collection from the current back-end by its id and returns it as a ImageData Object.",
"summary": "Load a collection and return an datacube object",
"description": "Loads a collection from the current back-end by its id and returns it as a datacube Object.",
"categories": [
"cubes",
"import"
Expand Down Expand Up @@ -223,7 +223,7 @@
"description": "An ImageData object for further processing.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/ndvi.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"description": "A raster data cube.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
{
Expand All @@ -35,7 +35,7 @@
"description": "A raster data cube containing the computed NDVI values. The structure of the data cube differs depending on the value passed to `target_band`:\n\n* `target_band` is `null`: The data cube does not contain the dimension of type `bands`, the number of dimensions decreases by one. The dimension properties (name, type, labels, reference system and resolution) for all other dimensions remain unchanged.\n* `target_band` is a string: The data cube keeps the same dimensions. The dimension properties remain unchanged, but the number of dimension labels for the dimension of type `bands` increases by one. The additional label is named as specified in `target_band`.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {},
Expand Down
4 changes: 2 additions & 2 deletions titiler/openeo/processes/data/resample_spatial.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "A raster data cube.",
"schema": {
"type": "object",
"subtype": "imagedata",
"subtype": "datacube",
"dimensions": [
{
"type": "spatial",
Expand Down Expand Up @@ -113,7 +113,7 @@
"description": "A raster data cube with values warped onto the new projection. It has the same dimensions and the same dimension properties (name, type, labels, reference system and resolution) for all non-spatial or vertical spatial dimensions. For the horizontal spatial dimensions the name and type remain unchanged, but reference system, labels and resolution may change depending on the given parameters.",
"schema": {
"type": "object",
"subtype": "imagedata",
"subtype": "datacube",
"dimensions": [
{
"type": "spatial",
Expand Down
2 changes: 1 addition & 1 deletion titiler/openeo/processes/data/save_result.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"schema": [
{
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
},
{
"type": "array"
Expand Down
2 changes: 1 addition & 1 deletion titiler/openeo/processes/data/to_array.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "An ImageData object.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion titiler/openeo/processes/data/to_image.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"description": "An ImageData object.",
"schema": {
"type": "object",
"subtype": "imagedata"
"subtype": "datacube"
}
},
"exceptions": {},
Expand Down
Loading