-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1070 from xcube-dev/b-yogesh-1066-stats-optional-…
…time Make `time` parameter optional in xcube server's `/statistic` endpoint
- Loading branch information
Showing
6 changed files
with
228 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,3 +117,6 @@ ENV/ | |
mydask.png | ||
|
||
.cfgs | ||
|
||
# Alternative xcube demo | ||
examples/serve/demo2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
DatasetAttribution: | ||
- © by Brockmann Consult GmbH 2020, contains modified Copernicus Data 2019, processed by ESA | ||
|
||
Datasets: | ||
- Identifier: demo | ||
Title: xcube-server Demonstration L2C Cube | ||
GroupTitle: Demo | ||
Tags: ["demo", "zarr"] | ||
Path: ../../../examples/serve/demo/cube-1-250-250.zarr | ||
Variables: | ||
- "conc_chl" | ||
- "chl_category" | ||
- "conc_tsm" | ||
- "chl_tsm_sum" | ||
- "kd489" | ||
- "*" | ||
Style: default | ||
Attribution: © by EU H2020 CyanoAlert project | ||
|
||
- Identifier: demo-1w | ||
Title: xcube-server Demonstration L3 Cube | ||
GroupTitle: Demo | ||
Tags: ["demo", "zarr", "computed"] | ||
FileSystem: memory | ||
Path: script.py | ||
Variables: | ||
- "conc_chl" | ||
- "chl_category" | ||
- "conc_tsm" | ||
- "chl_tsm_sum" | ||
- "kd489" | ||
- "*" | ||
Function: compute_dataset | ||
InputDatasets: ["demo"] | ||
InputParameters: | ||
period: "1W" | ||
incl_stdev: True | ||
Style: default | ||
|
||
- Identifier: cog_local | ||
Title: COG example | ||
GroupTitle: GeoTIFF | ||
FileSystem: file | ||
Path: ../../../examples/serve/demo/sample-cog.tif | ||
Style: tif_style | ||
|
||
PlaceGroups: | ||
- Identifier: inside-cube | ||
Title: Points inside the cube | ||
Path: places/inside-cube.geojson | ||
- Identifier: outside-cube | ||
Title: Points outside the cube | ||
Path: places/outside-cube.geojson | ||
|
||
Styles: | ||
- Identifier: default | ||
ColorMappings: | ||
conc_chl: | ||
ColorBar: my_cmap | ||
ValueRange: [0., 20.] | ||
conc_tsm: | ||
ColorBar: cmap_bloom_risk | ||
ValueRange: [0., 1.] | ||
kd489: | ||
ColorBar: jet | ||
ValueRange: [0., 6.] | ||
|
||
CustomColorMaps: | ||
- Identifier: my_cmap | ||
Type: continuous # or categorical, stepwise | ||
Colors: | ||
- Value: 0 | ||
Color: red | ||
Label: low | ||
- Value: 12 | ||
Color: "#0000FF" | ||
Label: medium | ||
- Value: 18 | ||
Color: [0, 255, 0] | ||
Label: mediumhigh | ||
- Value: 24 | ||
Color: [0, 1, 0, 0.3] | ||
Label: high | ||
- Identifier: cmap_bloom_risk | ||
Type: categorical | ||
Colors: | ||
- [ 0, [0, 1, 0., 0.5]] | ||
- [ 1, orange] | ||
- [ 2, [1, 0, 0]] | ||
- Identifier: s2_l2_scl | ||
Type: categorical | ||
Colors: | ||
- [ 0, red, no data] | ||
- [ 1, yellow, defective] | ||
- [ 2, black, dark area pixels] | ||
- [ 3, gray, cloud shadows] | ||
- [ 4, green, vegetation] | ||
- [ 5, tan, bare soils] | ||
- [ 6, blue, water] | ||
- [ 7, "#aaaabb", clouds low prob ] | ||
- [ 8, "#bbbbcc", clouds medium prob] | ||
- [ 9, "#ccccdd", clouds high prob] | ||
- [10, "#ddddee", cirrus] | ||
- [11, "#ffffff", snow or ice] | ||
- [11, "#ffffff", snow or ice] | ||
|
||
Viewer: | ||
Configuration: | ||
Path: viewer | ||
|
||
ServiceProvider: | ||
ProviderName: "Brockmann Consult GmbH" | ||
ProviderSite: "https://www.brockmann-consult.de" | ||
ServiceContact: | ||
IndividualName: "Norman Fomferra" | ||
PositionName: "Senior Software Engineer" | ||
ContactInfo: | ||
Phone: | ||
Voice: "+49 4152 889 303" | ||
Facsimile: "+49 4152 889 330" | ||
Address: | ||
DeliveryPoint: "HZG / GITZ" | ||
City: "Geesthacht" | ||
AdministrativeArea: "Herzogtum Lauenburg" | ||
PostalCode: "21502" | ||
Country: "Germany" | ||
ElectronicMailAddress: "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters