Skip to content

Commit a151873

Browse files
committed
Add "env" folder" and update README
1 parent 4e94c03 commit a151873

12 files changed

+3486
-275
lines changed

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ celerybeat.pid
104104
# Environments
105105
.env
106106
.venv
107-
env/
108-
venv/
109-
ENV/
107+
# env/
108+
# venv/
109+
# ENV/
110110
env.bak/
111111
venv.bak/
112112

README.md

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1-
# EFAS_skill
1+
# EFAS skill assessment
2+
3+
Analysis of the skill of [EFAS (Europen Flood Awareness System)](https://www.efas.eu/en) formal flood notifications since the deployment of EFAS v4 (October 2020).
4+
5+
## Structure of the repository
6+
7+
The repository contains six folders:
8+
9+
* [conf](https://github.com/casadoj/EFAS_skill/tree/cleaning/conf) contains the configuration file (_config.yml_) used by all notebooks.
10+
* [data](https://github.com/casadoj/EFAS_skill/tree/cleaning/data) contains the original data used in the analysis (whenever the size is suitable to be stored in GitHub).
11+
* [docs](https://github.com/casadoj/EFAS_skill/tree/cleaning/docs) contains several documents associated to the development of the repository: the EGU documents, presentations in meetings...
12+
* [notbook](https://github.com/casadoj/EFAS_skill/tree/cleaning/notebook) contains the notebooks used to develop the analysis.
13+
* [py](https://github.com/casadoj/EFAS_skill/tree/cleaning/py) contains Python files with functions created during the analysis.
14+
* [results](https://github.com/casadoj/EFAS_skill/tree/cleaning/results) is used to save datasets and plots produced by running the notebooks.
15+
16+
## Data
17+
18+
The analysis is limited to the [EFAS fixed reporting points](https://github.com/casadoj/EFAS_skill/blob/cleaning/data/reporting_points/Station-2022-10-27v12.csv) with a catchment area larger than 500 km² (2357 points).
19+
20+
The original datasets used for the study are:
21+
22+
* EFAS v4 discharge reanalysis (_water balance_). This discharge data was downloaded from the [Copernicus Climate Data Store](https://cds.climate.copernicus.eu/#!/home) (CDS) for the complete EFAS domain, and then the time series specific to each reporting point was extracted and saved as NetCDF files in the [_data/discharge/reanalysis/_](https://github.com/casadoj/EFAS_skill/tree/cleaning/data/discharge/reanalysis) folder. Due to file size limitations in GitHub, the original files downloaded from the CDS are not in the repository.
23+
* EFAS v4 discharge forecast. This data was extracted by Corentin from the Meteorological Archival and Retrival System (MARS) and provided as NetCDF files for each forecast date and model (COSMO, ECMWF-HRES, ECMWF-ENS, DWD). Due to the size of these files, the original files are not included in the repository.
24+
* The [discharge return periods](https://github.com/casadoj/EFAS_skill/blob/cleaning/data/thresholds/return_levels.nc) associated to each reporting point. Even though the data set contains several return periods (1.5, 2, 5, 10, 20 years, ...), the analysis only uses the 5-year return period.
25+
26+
27+
28+
29+
230

3-
Assessment of the skill of [EFAS (Europen Flood Awareness System)](https://www.efas.eu/en) formal flood notifications.

conf/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ paths:
3434
exceedance:
3535
reanalysis: ../results/exceedance/reanalysis/
3636
forecast: ../results/exceedance/forecast/
37-
hits: ../results/hits/new/
37+
hits: ../results/hits/
3838
skill: ../results/skill/
3939

4040
skill_analysis:

env/environment.yml

+319
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,319 @@
1+
name: xr
2+
channels:
3+
- anaconda
4+
- defaults
5+
- conda-forge
6+
dependencies:
7+
- anyio=3.6.2=pyhd8ed1ab_0
8+
- argon2-cffi=21.3.0=pyhd8ed1ab_0
9+
- argon2-cffi-bindings=21.2.0=py39hb82d6ee_2
10+
- arrow-cpp=10.0.1=h9752425_4_cpu
11+
- asttokens=2.1.0=pyhd8ed1ab_0
12+
- attrs=22.1.0=pyh71513ae_1
13+
- aws-c-auth=0.6.21=h0fd8c68_3
14+
- aws-c-cal=0.5.20=h7a321b8_3
15+
- aws-c-common=0.8.5=hcfcfb64_0
16+
- aws-c-compression=0.2.16=h3dc32ea_0
17+
- aws-c-event-stream=0.2.17=h4de63fd_1
18+
- aws-c-http=0.7.0=h28290ff_0
19+
- aws-c-io=0.13.12=hea55e33_1
20+
- aws-c-mqtt=0.7.13=h0d1d87f_12
21+
- aws-c-s3=0.2.1=h898862f_4
22+
- aws-c-sdkutils=0.1.7=h3dc32ea_0
23+
- aws-checksums=0.1.14=h3dc32ea_0
24+
- aws-crt-cpp=0.18.16=h977b11b_8
25+
- aws-sdk-cpp=1.9.379=h72dcc63_7
26+
- babel=2.11.0=pyhd8ed1ab_0
27+
- backcall=0.2.0=pyh9f0ad1d_0
28+
- backports=1.0=py_2
29+
- backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
30+
- beautifulsoup4=4.11.1=pyha770c72_0
31+
- bleach=5.0.1=pyhd8ed1ab_0
32+
- blosc=1.21.3=hdccc3a2_0
33+
- bokeh=2.4.3=pyhd8ed1ab_3
34+
- boost-cpp=1.78.0=h9f4b32c_1
35+
- bottleneck=1.3.4=py39h080aedc_0
36+
- branca=0.6.0=pyhd8ed1ab_0
37+
- brotli=1.0.9=h2bbff1b_7
38+
- brotli-bin=1.0.9=h2bbff1b_7
39+
- brotlipy=0.7.0=py39hb82d6ee_1004
40+
- bzip2=1.0.8=h8ffe710_4
41+
- c-ares=1.18.1=h8ffe710_0
42+
- ca-certificates=2023.5.7=h56e8100_0
43+
- cairo=1.16.0=hd694305_1014
44+
- cartopy=0.21.1=py39h25ee47b_0
45+
- cdsapi=0.5.1=pyhd8ed1ab_0
46+
- certifi=2023.5.7=pyhd8ed1ab_0
47+
- cffi=1.15.1=py39h0878f49_0
48+
- cfitsio=4.2.0=h9ebe7e4_0
49+
- cftime=1.5.1.1=py39h080aedc_0
50+
- charset-normalizer=2.1.1=pyhd8ed1ab_0
51+
- click=8.1.3=win_pyhd8ed1ab_2
52+
- click-plugins=1.1.1=py_0
53+
- cligj=0.7.2=pyhd8ed1ab_1
54+
- cloudpickle=2.2.0=pyhd8ed1ab_0
55+
- colorama=0.4.6=pyhd8ed1ab_0
56+
- cryptography=37.0.4=py39h7bc7c5c_0
57+
- curl=7.87.0=h68f0423_0
58+
- cycler=0.11.0=pyhd3eb1b0_0
59+
- cytoolz=0.12.0=py39ha55989b_1
60+
- daal4py=2021.6.0=py39h757b272_1
61+
- dal=2021.6.0=h59b6b97_874
62+
- dask=2022.12.1=pyhd8ed1ab_0
63+
- dask-core=2022.12.1=pyhd8ed1ab_0
64+
- debugpy=1.6.3=py39h415ef7b_0
65+
- decorator=5.1.1=pyhd8ed1ab_0
66+
- defusedxml=0.7.1=pyhd8ed1ab_0
67+
- distributed=2022.12.1=pyhd8ed1ab_0
68+
- entrypoints=0.4=pyhd8ed1ab_0
69+
- et_xmlfile=1.1.0=py39haa95532_0
70+
- executing=1.2.0=pyhd8ed1ab_0
71+
- expat=2.5.0=h1537add_0
72+
- fiona=1.8.22=py39h9e0966e_2
73+
- flit-core=3.8.0=pyhd8ed1ab_0
74+
- flox=0.6.8=pyhd8ed1ab_0
75+
- folium=0.14.0=pyhd8ed1ab_0
76+
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
77+
- font-ttf-inconsolata=3.000=h77eed37_0
78+
- font-ttf-source-code-pro=2.038=h77eed37_0
79+
- font-ttf-ubuntu=0.83=hab24e00_0
80+
- fontconfig=2.14.1=hbde0cde_0
81+
- fonts-conda-ecosystem=1=0
82+
- fonts-conda-forge=1=0
83+
- fonttools=4.25.0=pyhd3eb1b0_0
84+
- freetype=2.12.1=ha860e81_0
85+
- freexl=1.0.6=ha8e266a_0
86+
- fsspec=2022.11.0=pyhd8ed1ab_0
87+
- future=0.18.2=py39haa95532_1
88+
- gdal=3.5.3=py39h34c8707_5
89+
- geopandas=0.12.2=pyhd8ed1ab_0
90+
- geopandas-base=0.12.2=pyha770c72_0
91+
- geos=3.11.1=h1537add_0
92+
- geotiff=1.7.1=h4ffd875_4
93+
- gettext=0.21.1=h5728263_0
94+
- gflags=2.2.2=ha925a31_1004
95+
- glib=2.74.1=h12be248_1
96+
- glib-tools=2.74.1=h12be248_1
97+
- glog=0.6.0=h4797de2_0
98+
- gst-plugins-base=1.21.3=h001b923_1
99+
- gstreamer=1.21.3=h6b5321d_1
100+
- hdf4=4.2.15=h1b1b6ef_5
101+
- hdf5=1.12.2=nompi_h2a0e4a3_101
102+
- heapdict=1.0.1=py_0
103+
- icu=70.1=h0e60522_0
104+
- idna=3.4=pyhd8ed1ab_0
105+
- importlib-metadata=5.0.0=pyha770c72_1
106+
- importlib_resources=5.10.0=pyhd8ed1ab_0
107+
- intel-openmp=2022.1.0=h59b6b97_3788
108+
- ipykernel=6.17.0=pyh025b116_0
109+
- ipympl=0.9.3=pyhd8ed1ab_0
110+
- ipython=8.6.0=pyh08f2357_1
111+
- ipython_genutils=0.2.0=py_1
112+
- ipywidgets=8.0.4=pyhd8ed1ab_0
113+
- jedi=0.18.1=pyhd8ed1ab_2
114+
- jinja2=3.1.2=pyhd8ed1ab_1
115+
- joblib=1.1.0=pyhd3eb1b0_0
116+
- jpeg=9e=h2bbff1b_0
117+
- json5=0.9.5=pyh9f0ad1d_0
118+
- jsonschema=4.17.0=pyhd8ed1ab_0
119+
- jupyter_client=7.4.4=pyhd8ed1ab_0
120+
- jupyter_core=4.11.2=py39hcbf5309_0
121+
- jupyter_server=1.23.0=pyhd8ed1ab_0
122+
- jupyterlab=3.5.0=pyhd8ed1ab_0
123+
- jupyterlab_pygments=0.2.2=pyhd8ed1ab_0
124+
- jupyterlab_server=2.16.2=pyhd8ed1ab_0
125+
- jupyterlab_widgets=3.0.5=pyhd8ed1ab_0
126+
- kealib=1.5.0=h61be68b_0
127+
- kiwisolver=1.4.2=py39hd77b12b_0
128+
- krb5=1.20.1=h6609f42_0
129+
- lcms2=2.14=h90d422f_0
130+
- lerc=3.0=hd77b12b_0
131+
- libabseil=20220623.0=cxx17_h1a56200_6
132+
- libaec=1.0.6=h39d44d4_0
133+
- libarrow=10.0.1=h96d9594_4_cpu
134+
- libblas=3.9.0=16_win64_mkl
135+
- libbrotlicommon=1.0.9=h2bbff1b_7
136+
- libbrotlidec=1.0.9=h2bbff1b_7
137+
- libbrotlienc=1.0.9=h2bbff1b_7
138+
- libcblas=3.9.0=16_win64_mkl
139+
- libclang=15.0.6=default_h77d9078_0
140+
- libclang13=15.0.6=default_h77d9078_0
141+
- libcrc32c=1.1.2=h0e60522_0
142+
- libcurl=7.87.0=h68f0423_0
143+
- libdeflate=1.8=h2bbff1b_5
144+
- libffi=3.4.2=hd77b12b_4
145+
- libgdal=3.5.3=hc3442b3_5
146+
- libglib=2.74.1=he8f3873_1
147+
- libgoogle-cloud=2.5.0=hd139671_1
148+
- libgrpc=1.51.1=h535cfc9_0
149+
- libiconv=1.17=h8ffe710_0
150+
- libkml=1.3.0=hf2ab4e4_1015
151+
- liblapack=3.9.0=16_win64_mkl
152+
- libnetcdf=4.8.1=nompi_h8c042bf_106
153+
- libogg=1.3.5=h2bbff1b_1
154+
- libpng=1.6.39=h19919ed_0
155+
- libpq=15.1=he840576_2
156+
- libprotobuf=3.21.12=h12be248_0
157+
- librttopo=1.1.0=he22b5cd_12
158+
- libsodium=1.0.18=h8d14728_1
159+
- libspatialindex=1.9.3=h39d44d4_4
160+
- libspatialite=5.0.1=h07bf483_22
161+
- libsqlite=3.40.0=hcfcfb64_0
162+
- libssh2=1.10.0=h680486a_2
163+
- libthrift=0.16.0=h9f558f2_2
164+
- libtiff=4.4.0=h8a3f274_1
165+
- libutf8proc=2.8.0=h82a8f57_0
166+
- libvorbis=1.3.7=he774522_0
167+
- libwebp=1.2.4=h2bbff1b_0
168+
- libwebp-base=1.2.4=h2bbff1b_0
169+
- libxml2=2.10.3=hc3477c8_0
170+
- libxslt=1.1.37=h0192164_0
171+
- libzip=1.9.2=hfed4ece_1
172+
- libzlib=1.2.13=hcfcfb64_4
173+
- locket=1.0.0=pyhd8ed1ab_0
174+
- lz4=4.2.0=py39hf617134_0
175+
- lz4-c=1.9.3=h2bbff1b_1
176+
- m2w64-expat=2.1.1=2
177+
- m2w64-gcc-libgfortran=5.3.0=6
178+
- m2w64-gcc-libs=5.3.0=7
179+
- m2w64-gcc-libs-core=5.3.0=7
180+
- m2w64-gettext=0.19.7=2
181+
- m2w64-gmp=6.1.0=2
182+
- m2w64-libiconv=1.14=6
183+
- m2w64-libwinpthread-git=5.0.0.4634.697f757=2
184+
- m2w64-xz=5.2.2=2
185+
- mapclassify=2.4.3=pyhd8ed1ab_0
186+
- markupsafe=2.1.1=py39hb82d6ee_1
187+
- matplotlib=3.5.3=py39haa95532_0
188+
- matplotlib-base=3.5.3=py39hd77b12b_0
189+
- matplotlib-inline=0.1.6=pyhd8ed1ab_0
190+
- mistune=2.0.4=pyhd8ed1ab_0
191+
- mkl=2022.1.0=h6a75c08_874
192+
- msgpack-python=1.0.4=py39h1f6ef14_1
193+
- msys2-conda-epoch=20160418=1
194+
- munch=2.5.0=py_0
195+
- munkres=1.1.4=py_0
196+
- nbclassic=0.4.8=pyhd8ed1ab_0
197+
- nbclient=0.7.0=pyhd8ed1ab_0
198+
- nbconvert=7.2.3=pyhd8ed1ab_0
199+
- nbconvert-core=7.2.3=pyhd8ed1ab_0
200+
- nbconvert-pandoc=7.2.3=pyhd8ed1ab_0
201+
- nbformat=5.7.0=pyhd8ed1ab_0
202+
- nest-asyncio=1.5.6=pyhd8ed1ab_0
203+
- netcdf4=1.5.7=py39h3de5c98_1
204+
- networkx=2.8.8=pyhd8ed1ab_0
205+
- notebook=6.5.2=pyha770c72_1
206+
- notebook-shim=0.2.2=pyhd8ed1ab_0
207+
- numexpr=2.8.3=mkl_py39h01db045_0
208+
- numpy=1.20.3=py39h6635163_2
209+
- numpy_groupies=0.9.20=pyhd8ed1ab_0
210+
- openjpeg=2.5.0=hc9384bd_1
211+
- openpyxl=3.0.9=pyhd3eb1b0_0
212+
- openssl=1.1.1t=hcfcfb64_0
213+
- packaging=21.3=pyhd3eb1b0_0
214+
- pandas=1.4.2=py39hd77b12b_0
215+
- pandoc=2.19.2=h57928b3_1
216+
- pandocfilters=1.5.0=pyhd8ed1ab_0
217+
- parquet-cpp=1.5.1=2
218+
- parso=0.8.3=pyhd8ed1ab_0
219+
- partd=1.3.0=pyhd8ed1ab_0
220+
- pcre=8.45=hd77b12b_0
221+
- pcre2=10.40=h17e33f8_0
222+
- pickleshare=0.7.5=py_1003
223+
- pillow=9.2.0=py39hdc2b20a_1
224+
- pip=22.2.2=py39haa95532_0
225+
- pixman=0.40.0=h8ffe710_0
226+
- pkgutil-resolve-name=1.3.10=pyhd8ed1ab_0
227+
- ply=3.11=py39haa95532_0
228+
- poppler=22.11.0=ha6c1112_0
229+
- poppler-data=0.4.11=hd8ed1ab_0
230+
- postgresql=15.1=h09b8c1b_2
231+
- proj=9.1.0=h3863b3b_0
232+
- prometheus_client=0.15.0=pyhd8ed1ab_0
233+
- prompt-toolkit=3.0.32=pyha770c72_0
234+
- psutil=5.9.0=py39h2bbff1b_0
235+
- pure_eval=0.2.2=pyhd8ed1ab_0
236+
- pyarrow=10.0.1=py39h2c50fde_4_cpu
237+
- pycparser=2.21=pyhd8ed1ab_0
238+
- pygeos=0.14=py39h7c5f289_0
239+
- pygments=2.13.0=pyhd8ed1ab_0
240+
- pyogrio=0.4.2=py39hde316f2_1
241+
- pyopenssl=22.0.0=pyhd8ed1ab_1
242+
- pyparsing=3.0.4=pyhd3eb1b0_0
243+
- pyproj=3.4.1=py39h9727d73_0
244+
- pyqt=5.15.7=py39hd77b12b_0
245+
- pyqt5-sip=12.11.0=py39hd77b12b_0
246+
- pyrsistent=0.18.0=py39h196d8e1_0
247+
- pyshp=2.3.1=pyhd8ed1ab_0
248+
- pysocks=1.7.1=pyh0701188_6
249+
- python=3.9.13=h6244533_2
250+
- python-dateutil=2.8.2=pyhd3eb1b0_0
251+
- python-fastjsonschema=2.16.2=pyhd8ed1ab_0
252+
- python_abi=3.9=2_cp39
253+
- pytz=2022.1=py39haa95532_0
254+
- pywin32=227=py39hb82d6ee_1
255+
- pywinpty=2.0.2=py39h5da7b33_0
256+
- pyyaml=6.0=py39ha55989b_5
257+
- pyzmq=23.2.0=py39hd77b12b_0
258+
- qt-main=5.15.6=h068e40c_5
259+
- qt-webengine=5.15.9=hb9a9bb5_4
260+
- qtwebkit=5.212=h0db62b3_6
261+
- re2=2022.06.01=h0e60522_1
262+
- requests=2.28.1=pyhd8ed1ab_1
263+
- rtree=1.0.1=py39h09fdee3_1
264+
- scikit-learn=1.0.2=py39hf11a4ad_1
265+
- scikit-learn-intelex=2021.6.0=py39haa95532_0
266+
- scipy=1.8.1=py39h5567194_2
267+
- seaborn=0.11.2=pyhd3eb1b0_0
268+
- send2trash=1.8.0=pyhd8ed1ab_0
269+
- setuptools=65.5.0=py39haa95532_0
270+
- shapely=2.0.0=py39h7c5f289_0
271+
- sip=6.6.2=py39hd77b12b_0
272+
- six=1.16.0=pyhd3eb1b0_1
273+
- snappy=1.1.9=hfb803bf_2
274+
- sniffio=1.3.0=pyhd8ed1ab_0
275+
- sortedcontainers=2.4.0=pyhd8ed1ab_0
276+
- soupsieve=2.3.2.post1=pyhd8ed1ab_0
277+
- sqlite=3.39.3=h2bbff1b_0
278+
- stack_data=0.6.0=pyhd8ed1ab_0
279+
- tbb=2021.6.0=h59b6b97_0
280+
- tblib=1.7.0=pyhd8ed1ab_0
281+
- terminado=0.17.0=pyh08f2357_0
282+
- threadpoolctl=2.2.0=pyh0d69192_0
283+
- tiledb=2.11.3=h5689973_1
284+
- tinycss2=1.2.1=pyhd8ed1ab_0
285+
- tk=8.6.12=h2bbff1b_0
286+
- toml=0.10.2=pyhd3eb1b0_0
287+
- tomli=2.0.1=pyhd8ed1ab_0
288+
- toolz=0.12.0=pyhd8ed1ab_0
289+
- tornado=6.2=py39h2bbff1b_0
290+
- tqdm=4.65.0=pyhd8ed1ab_1
291+
- traitlets=5.5.0=pyhd8ed1ab_0
292+
- typing-extensions=4.1.1=hd3eb1b0_0
293+
- typing_extensions=4.1.1=pyh06a4308_0
294+
- tzdata=2022f=h04d1e81_0
295+
- ucrt=10.0.22621.0=h57928b3_0
296+
- urllib3=1.26.11=pyhd8ed1ab_0
297+
- vc=14.2=h21ff451_1
298+
- vs2015_runtime=14.32.31332=h1d6e394_9
299+
- wcwidth=0.2.5=pyh9f0ad1d_2
300+
- webencodings=0.5.1=py_1
301+
- websocket-client=1.4.2=pyhd8ed1ab_0
302+
- wheel=0.37.1=pyhd3eb1b0_0
303+
- widgetsnbextension=4.0.5=pyhd8ed1ab_0
304+
- win_inet_pton=1.1.0=pyhd8ed1ab_6
305+
- wincertstore=0.2=py39haa95532_2
306+
- winpty=0.4.3=4
307+
- xarray=0.20.1=pyhd3eb1b0_1
308+
- xerces-c=3.2.4=h63175ca_1
309+
- xyzservices=2022.9.0=pyhd8ed1ab_0
310+
- xz=5.2.6=h8cc25b3_0
311+
- yaml=0.2.5=h8ffe710_2
312+
- zeromq=4.3.4=h0e60522_1
313+
- zict=2.2.0=pyhd8ed1ab_0
314+
- zipp=3.10.0=pyhd8ed1ab_0
315+
- zlib=1.2.13=hcfcfb64_4
316+
- zstd=1.5.2=h19a0ad4_0
317+
- pip:
318+
- hydroeval==0.1.0
319+
prefix: C:\DEV\Anaconda3\envs\xr

0 commit comments

Comments
 (0)