Skip to content

Commit 24e7b0a

Browse files
Iss35 (#49)
* Adding necessary modules and adjustment paths * New paths for mrcc5 scripts
1 parent c099c19 commit 24e7b0a

File tree

3 files changed

+623
-2
lines changed

3 files changed

+623
-2
lines changed

extract-dataset.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ fi
227227
# if shapefile is provided extract the extents from it
228228
if [[ -n $shapefile ]]; then
229229
# load GDAL module
230-
module -q load gcc/9.3.0 gdal/3.4.3;
230+
module -q load StdEnv/2020;
231+
module -q load gcc/9.3.0;
232+
module -q load gdal/3.4.3;
231233
# extract the shapefile extent
232234
IFS=' ' read -ra shapefileExtents <<< "$(ogrinfo -so -al "$shapefile" | sed 's/[),(]//g' | grep Extent)"
233235
# transform the extents in case they are not in EPSG:4326
@@ -563,7 +565,7 @@ case "${dataset,,}" in
563565

564566
# Ouranos-MRCC5-CMIP6 dataset
565567
"crcm5-cmip6" | "mrcc5-cmip6" | "crcm5" | "mrcc5" )
566-
call_processing_func "$scriptPath/ouranos-crcm5-cmip6/crcm5-cmip6.sh" "1years"
568+
call_processing_func "$scriptPath/ouranos-mrcc5-cmip6/mrcc5-cmip6.sh" "1years"
567569
;;
568570

569571
# Alberta Government Downscaled Climate Dataset - CMIP6

scripts/ouranos-mrcc5-cmip6/README.md

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
# Ouranos `ESPO-G6-R2 v1.0.0` dataset
2+
In this file, the details of the dataset is explained.
3+
4+
## Location of Dataset Files
5+
The `ESPO-G6-R2 v1.0.0` dataset is located under the following directory accessible from Compute Canada (CC) Graham Cluster:
6+
```console
7+
/project/rpp-kshook/Climate_Forcing_Data/meteorological-data/ouranos-espo-g6-r2 # rpp-kshook allocation
8+
/project/rrg-mclark/data/meteorological-data/ouranos-espo-g6-r2 # rrg-mclark allocation
9+
```
10+
11+
and the structure of the dataset hourly files is as following:
12+
```console
13+
/project/rrg-mclark/data/meteorological-data/ouranos-espo-g6-r2
14+
├── AS-RCEC
15+
│ └── TaiESM1
16+
│ ├── ssp245
17+
| | └── r1i1p1f1
18+
│ | └── day
19+
| | ├── pr
20+
│ | | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19500101-19531231.nc
21+
| | | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19540101-19571231.nc
22+
| | | ├── .
23+
| | | ├── .
24+
| | | ├── .
25+
| | | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20940101-20971231.nc
26+
| | | └── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20980101-210031231.nc
27+
│ | ├── tasmax
28+
| | | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19500101-19531231.nc
29+
| | | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19540101-19571231.nc
30+
| | | ├── .
31+
| | | ├── .
32+
| | | ├── .
33+
| | | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20940101-20971231.nc
34+
| | | └── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20980101-21001231.nc
35+
| | └── tasmin
36+
| | ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19500101-19531231.nc
37+
| | ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_19540101-19571231.nc
38+
| | ├── .
39+
| | ├── .
40+
| | ├── .
41+
| | ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20940101-20971231.nc
42+
| | └── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_AS-RCEC_TaiESM1_ssp245_r1i1p1f1_20980101-21001231.nc
43+
│ └── ssp370
44+
| └── r1i1p1f1
45+
│ └── day
46+
| ├── pr
47+
│ | ├── .
48+
│ | ├── .
49+
│ | └── .
50+
| ├── tasmax
51+
│ | ├── .
52+
│ | ├── .
53+
│ | └── .
54+
| tasmin
55+
│ ├── .
56+
│ ├── .
57+
│ └── .
58+
59+
.
60+
.
61+
.
62+
├── %{model}
63+
| ├── %{submodel} # no need for explicit declaration in the scripts
64+
| | ├── %{scenario}
65+
| | | └── %{ensemble}
66+
| | | └── day
67+
| | | ├── %{var}
68+
| | | | ├── %{var}_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_%{model}_%{submodel}_%{scenario}_%{ensemble}_%{year}0101_%{year+3}1231.nc
69+
| | | | ├── .
70+
| | | | ├── .
71+
| | | | ├── .
72+
| | | | └── %{var}_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_%{model}_%{submodel}_%{scenario}_%{ensemble}_%{year}0101_%{year+2}1231.nc
73+
. . . .
74+
. . . .
75+
. . . .
76+
└── NUIST
77+
└── NESM3
78+
├── ssp245
79+
| └── r1i1p1f1
80+
| └── day
81+
| ├── pr
82+
| | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19500101-19531231.nc
83+
| | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19540101-19571231.nc
84+
| | ├── .
85+
| | ├── .
86+
| | ├── .
87+
| | ├── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20940101-20971231.nc
88+
| | └── pr_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20980101-210031231.nc
89+
| ├── tasmax
90+
| | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19500101-19531231.nc
91+
| | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19540101-19571231.nc
92+
| | ├── .
93+
| | ├── .
94+
| | ├── .
95+
| | ├── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20940101-20971231.nc
96+
| | └── tasmax_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20980101-21001231.nc
97+
| └── tasmin
98+
| ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19500101-19531231.nc
99+
| ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_19540101-19571231.nc
100+
| ├── .
101+
| ├── .
102+
| ├── .
103+
| ├── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20940101-20971231.nc
104+
| └── tasmin_day_ESPO-G6-R2_v1.0.0_CMIP6_ScenarioMIP_NAM_NUIST_NESM3_ssp245_r1i1p1f1_20980101-21001231.nc
105+
└── ssp370
106+
└── r1i1p1f1
107+
└── day
108+
├── pr
109+
| ├── .
110+
| ├── .
111+
| └── .
112+
├── tasmax
113+
| ├── .
114+
| ├── .
115+
| └── .
116+
tasmin
117+
├── .
118+
├── .
119+
└── .
120+
```
121+
122+
## Coordinate Variables and Time-stamps
123+
124+
### Coordinate Variables
125+
The coordinate variables of the `ESPO-G6-R2 v1.0.0` simulations are `rlon` and `rlat` representing the longitude and latitude points, respectively.
126+
### Time-stamps
127+
The time-stamps are included in the original files.
128+
129+
## Dataset Variables
130+
The NetCDF files of the dataset contain one variable per file. You may see a list of variables by browsing the dataset files:
131+
```console
132+
foo@bar:~$ ls /project/rrg-mclark/data/meteorological-data/ouranos-espo-g6-r2/ESPO-G6-R2v1.0.0/AS-RCEC/TaiESM1/ssp245/r1i1p1f1/day
133+
```
134+
135+
## Spatial Extent
136+
The spatial extent of the `ESPO-G6-R2 v1.0.0` is on latitutes from `+5.75` to `+83.98` and longitudes from `-179.9925` to `179.9728` covering North America. The resolution is 0.09 degrees (~10km).
137+
138+
## Temporal Extent
139+
The time-stamps are already included in the original files. The dataset offers
140+
**daily** time-series of climate variables. The following table
141+
describes the temporal extent for senarios included in this dataset:
142+
|# |Scenarios (keyword for `--scenario`) |Temporal extent |
143+
|---|-------------------------------------|----------------------------|
144+
|1 |`ssp245` |`2015-01-01` to `2100-12-31`|
145+
|2 |`ssp370` |`2015-01-01` to `2100-12-31`|
146+
|3 |`ssp585` |`2015-01-01` to `2100-12-31`|
147+
148+
## List of Ensemble Members
149+
|# |Models (keyword for `--model`)|Ensemble Members (keyword for `--ensemble`)|
150+
|---|------------------------------|-------------------------------------------|
151+
|1 |`AS-RCEC` |`r1i1p1f1` |
152+
|2 |`BCC` |`r1i1p1f1` |
153+
|3 |`CAS` |`r1i1p1f1` |
154+
|4 |`CCCma` |`r1i1p1f1` |
155+
|5 |`CMCC` |`r1i1p1f1` |
156+
|6 |`CNRM-CERFACS` |`r1i1p1f2` |
157+
|7 |`CSIRO` |`r1i1p1f1` |
158+
|8 |`CSIRO-ARCCSS` |`r1i1p1f1` |
159+
|9 |`DKRZ` |`r1i1p1f1` |
160+
|10 |`EC-Earth-Consortium` |`r1i1p1f1` |
161+
|11 |`INM` |`r1i1p1f1` |
162+
|12 |`IPSL` |`r1i1p1f1` |
163+
|13 |`MIROC` |`r1i1p1f1`, `r1i1p1f2` |
164+
|14 |`MOHC` |`r1i1p1f2` |
165+
|15 |`MPI-M` |`r1i1p1f1` |
166+
|16 |`MRI` |`r1i1p1f1` |
167+
|17 |`NCC` |`r1i1p1f1` |
168+
|18 |`NIMS-KMA` |`r1i1p1f1` |
169+
|19 |`NOAA-GFDL` |`r1i1p1f1` |
170+
|20 |`NUIST` |`r1i1p1f1` |
171+
172+
173+
## Short Description on `ESPO-G6-R2 v1.0.0` Variables
174+
This dataset only offers three climate variables: 1) daily precipitation
175+
time-series (surface level), 2) daily minimum temperature time-series
176+
(@2m, near-surface level), and 3) daily maximum temperature time-series
177+
(@2m, near-surface level). Since the frequency of this dataset is daily,
178+
and only offers precipitation and temperature values, therefore, it could
179+
be potentially used for forcing conceptual hydrological models that only
180+
need daily time-series of these variables.
181+
182+
The table below, summarizes the variables offered by this dataset:
183+
|Variable Name |Variable (keyword for `--variable`)|Unit |IPCC Abbreviation|Comments |
184+
|----------------------|-----------------------------------|----------|-----------------|----------------------|
185+
|maximum temperature |`tasmax` |K |tasmax |near-surface 2m height|
186+
|minimum temperature |`tasmin` |K |tasmin |near-surface 2m height|
187+
|preciptiation |`pr` |kg m-2 s-1|pr |surface level |
188+

0 commit comments

Comments
 (0)