Skip to content

Commit d5e97a9

Browse files
committed
move documentation of global data to docs, update the text
1 parent 68b5393 commit d5e97a9

3 files changed

Lines changed: 89 additions & 0 deletions

File tree

docs/downloading_global_data.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Global data for STEMMUS_SCOPE
2+
3+
This document outlines which, where and how we download the "global" input data for the
4+
model.
5+
6+
## Data of Climate Data store (CDS)
7+
8+
Many of the forcing-related data is available in the era5 reanalysis data.
9+
10+
**era5 variables**:
11+
12+
- mean_total_precipitation_rate
13+
- surface_thermal_radiation_downwards
14+
- surface_solar_radiation_downwards
15+
- surface_pressure
16+
- 10m_u_component_of_wind
17+
- 10m_v_component_of_wind
18+
19+
**era5-land variables**:
20+
21+
- 2m_temperature
22+
- 2m_dewpoint_temperature
23+
24+
**era5-land soil initial conditions**:
25+
26+
For running STEMMUS-SCOPE, global data is also required for the soil initial conditions. These are retrieved from ERA5-land.
27+
28+
## CO2 data from Atmosphere Data Store (ADS)
29+
30+
CO2 data is available in the CAMS dataset. An ADS script that can download the
31+
data is available at `download_scripts/download_CAMS_CO2.py`.
32+
33+
A simple check for the parsing of the data is in `data_analysis_notebooks/parse_CO2_data.ipynb`.
34+
35+
## Canopy height data from ETH
36+
37+
The canopy height data is described in: https://langnico.github.io/globalcanopyheight/
38+
39+
Get data from:
40+
https://share.phys.ethz.ch/~pf/nlangdata/ETH_GlobalCanopyHeight_10m_2020_version1/3deg_cogs/
41+
This can be done with, e.g. a wget command.
42+
43+
The valid filenames are all in `download_scripts/valid_eth_canopy_height_files.txt`.
44+
45+
A simple example for the parsing of the data is in `data_analysis_notebooks/parse_canopy_height.ipynb`.
46+
47+
## DEM data from Copernicus
48+
49+
To download the DEM data:
50+
`wget https://prism-dem-open.copernicus.eu/pd-desk-open-access/prismDownload/COP-DEM_GLO-90-DGED__2021_1/Copernicus_DSM_30_N35_00_E012_00.tar`
51+
unzip and extract tif file.
52+
53+
All valid DEM urls are in `download_scripts/valid_dem_urls.csv`.
54+
55+
A word doc for instructions is available [here](https://spacedata.copernicus.eu/documents/20123/121286/Copernicus+DEM+Open+HTTPS+Access.pdf/36c9adad-8488-f463-af43-573e68b7f481?t=1669283200177)
56+
57+
A simple example for the parsing of the data is in `data_analysis_notebooks/parse_dem.ipynb`.
58+
59+
## LAI from Climate Data Store (CDS)
60+
61+
LAI data was retrieved from the CDS. However, there are some downloading issues with
62+
the `satellite-lai-fapar` dataset. A ticket has been opened at the ECMWF.
63+
64+
The download script for downloading the LAI data is available under `download_scripts/download_FAPAR_LAI.py`.
65+
66+
A simple example for parsing the LAI data is in `data_analysis_notebooks/parse_LAI.py`.
67+
68+
## Land cover from Climate Data Store (CDS)
69+
70+
Land cover data is available at [https://cds.climate.copernicus.eu/cdsapp#!/dataset/satellite-land-cover?tab=overview](https://cds.climate.copernicus.eu/cdsapp#!/dataset/satellite-land-cover?tab=overview).
71+
72+
## Download and prepare data
73+
74+
Tha python package [`zampy`](https://zampy.readthedocs.io/) can be used to
75+
download and prepare the data.

docs/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ for preparing data and running the STEMMUS-SCOPE model. The model source code
1111
To run the model, check the
1212
[requirements](https://ecoextreml.github.io/STEMMUS_SCOPE/getting_started/).
1313

14+
### Global data
15+
16+
See [this documentation](./downloading_global_data.md) on which, where and how
17+
we download the "global" input data for the model.
18+
1419
## Configuration file
1520

1621
The configuration file is a text file that sets the paths required by the model.

docs/installation_instructions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ source code [STEMMUS_SCOPE
66
repository](https://github.com/EcoExtreML/STEMMUS_SCOPE). For model-specific
77
instructions, check the `Getting started` page.
88

9+
Note that the latest version of `PyStemmusScope` is compatible with latest
10+
version of `STEMMUS-SCOPE` model.
11+
912
## Install PyStemmusScope
1013

1114
To install the package, you need to have Python ">=3.9, <3.12" installed.
@@ -24,6 +27,12 @@ Open a jupyter notebook and run the code below in a cell:
2427
!pip install pystemmusscope
2528
```
2629

30+
On CRIB, you can use the following command to install the package:
31+
32+
```sh
33+
python3 -m pip install --user pystemmusscope
34+
```
35+
2736
## Install jupyterlab
2837

2938
Jupyterlab is needed to run notebooks. Run the commands below in a terminal:

0 commit comments

Comments
 (0)