Skip to content

Commit 40bfb97

Browse files
authored
Merge pull request #1222 from xcube-dev/clarasb/xxx-update-server-demo-config
Update demo server configuration
2 parents a62a48b + 0e607ae commit 40bfb97

2 files changed

Lines changed: 51 additions & 23 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## About this xcube Server demo
2+
3+
### Running the xcube Server demo configuration
4+
5+
```shell
6+
conda activate xcube
7+
cd xcube
8+
xcube serve --traceback --loglevel -vvv -c examples/serve/panels-demo/server-config.yaml
9+
```
10+
11+
### Test data
12+
13+
The following data is used by the demo configuration `server-config.yaml`:
14+
15+
1. Kattegat
16+
- Derived from CMEMS product BALTICSEA_ANALYSISFORECAST_BGC_003_007
17+
- Spatial, temporal, variable and depth subset
18+
- Original dataset: https://data.marine.copernicus.eu/product/BALTICSEA_ANALYSISFORECAST_BGC_003_007/description
19+
20+
2. Waddensea
21+
- Derived from Copernicus Sentinel-2 Level-2A scenes
22+
- Spatial, temporal, scene and band subset
23+
24+
Both datasets are provided solely for demonstration purposes and contain modified Copernicus information.
25+

examples/serve/panels-demo/config.yaml

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ DataStores:
3939
Augmentation:
4040
Path: compute_indexes.py
4141
Function: compute_indexes
42+
- Path: cmems_mod_bal_bgc_anfc_P1D-m_2025070115_36m_kattegat.zarr
43+
Identifier: kattegat
44+
Title: Kattegat
45+
Style: kattegat
46+
Description: >-
47+
The Kattegat (/ˈkætəɡæt/; Danish: [ˈkʰætəkæt];
48+
Swedish: Kattegatt [ˈkâtːɛˌɡat])
49+
is a sea of roughly 24,000 km2 (9,300 sq mi) bounded by the
50+
[Skagerrak](https://en.wikipedia.org/wiki/Skagerrak) in the north,
51+
[Jutland](https://en.wikipedia.org/wiki/Jutland) in the west,
52+
the [Danish Straits](https://en.wikipedia.org/wiki/Danish_Straits) and
53+
[Sjaelland](https://en.wikipedia.org/wiki/Sjaelland) in the south and
54+
the Swedish provinces of Bohuslän, Västergötland, Halland and Scania
55+
in the east. The [Baltic Sea](https://en.wikipedia.org/wiki/Baltic_Sea)
56+
drains into the Kattegat through the Danish Straits.
57+
![Kattegat](https://upload.wikimedia.org/wikipedia/commons/c/c2/Carte_Skagerrak-Kattegat2.png)
4258
4359
Styles:
4460
- Identifier: waddensea
@@ -96,30 +112,17 @@ Styles:
96112
Variable: B02
97113
ValueRange: [0., 0.25]
98114

99-
- Identifier: louisville
115+
- Identifier: kattegat
100116
ColorMappings:
101-
band_1:
102-
ColorBar: "gray"
103-
ValueRange: [0, 5000]
104-
band_2:
105-
ColorBar: "gray"
106-
ValueRange: [0, 5000]
107-
band_3:
108-
ColorBar: "gray"
109-
ValueRange: [0, 5000]
110-
band_4:
111-
ColorBar: "bone"
112-
ValueRange: [0, 10000]
113-
rgb:
114-
Red:
115-
Variable: band_1
116-
ValueRange: [0., 5000]
117-
Green:
118-
Variable: band_2
119-
ValueRange: [0., 5000]
120-
Blue:
121-
Variable: band_3
122-
ValueRange: [0., 5000]
117+
chl:
118+
ColorBar: "viridis"
119+
ValueRange: [0, 15]
120+
zooc:
121+
ColorBar: "viridis"
122+
ValueRange: [0, 15]
123+
zsd:
124+
ColorBar: "viridis"
125+
ValueRange: [0, 15]
123126

124127
ServiceProvider:
125128
ProviderName: "Brockmann Consult GmbH"

0 commit comments

Comments
 (0)