Changes
On August 17, 2021 at 7:13:29 AM UTC, Jacob Hirschberg:
-
Updated description of Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment from
Source code for debris flow preditction based on rainfall. For further information, see Hirschberg et al. (2021).
toThis is the source code to compute rainfall thresholds for debris flows or landslides following Hirschberg et al. (2021). ## How to install and run the example Pyhton has to be installed to run the codes. To make sure it works correctly, it is easiest to install Anaconda and create an environment with the right packages from the yml-file. To this end, in a command-line interpreter, change the working directory to where you saved this project and run the following: `$ conda env create -f environment.yml` `$ conda activate thresholds` or `$ source activate thresholds` To run an example: `$ python run_example()` It will save a dat-file and a figure as Fig. 7 in Hirschberg et al. (2021), where more information can be found. ## License GNU General Public License v3.0
-
Added tag PYTHON to Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment
-
Changed value of field
related_publications
to* Hirschberg, J., Badoux, A., McArdell, B. W., Leonarduzzi, E., and Molnar, P.: Limitations of rainfall thresholds for debris-flow prediction in an Alpine catchment, Nat. Hazards Earth Syst. Sci. Discuss. [preprint], https://doi.org/10.5194/nhess-2021-135, in review, 2021.
in Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment -
Changed value of field
related_datasets
to* https://www.envidat.ch/#/metadata/debris-flow-volumes-at-the-illgraben-2000-2017
in Source code for: Evaluating methods for debris-flow prediction based on rainfall in an Alpine catchment
f | 1 | { | f | 1 | { |
2 | "author": "[{\"affiliation\": \"WSL\", \"affiliation_02\": \"\", | 2 | "author": "[{\"affiliation\": \"WSL\", \"affiliation_02\": \"\", | ||
3 | \"affiliation_03\": \"\", \"email\": \"jacob.hirschberg@wsl.ch\", | 3 | \"affiliation_03\": \"\", \"email\": \"jacob.hirschberg@wsl.ch\", | ||
4 | \"given_name\": \"Jacob\", \"identifier\": | 4 | \"given_name\": \"Jacob\", \"identifier\": | ||
5 | \"https://orcid.org/0000-0002-0348-7921\", \"name\": | 5 | \"https://orcid.org/0000-0002-0348-7921\", \"name\": | ||
6 | \"Hirschberg\"}]", | 6 | \"Hirschberg\"}]", | ||
7 | "author_email": null, | 7 | "author_email": null, | ||
8 | "creator_user_id": "0b040ad3-18f5-4c94-bb8f-2c32582b45c8", | 8 | "creator_user_id": "0b040ad3-18f5-4c94-bb8f-2c32582b45c8", | ||
9 | "date": "[{\"date\": \"2021-08-17\", \"date_type\": \"created\", | 9 | "date": "[{\"date\": \"2021-08-17\", \"date_type\": \"created\", | ||
10 | \"end_date\": \"\"}]", | 10 | \"end_date\": \"\"}]", | ||
11 | "doi": "", | 11 | "doi": "", | ||
12 | "funding": "[{\"grant_number\": \"\", \"institution\": \"WSL | 12 | "funding": "[{\"grant_number\": \"\", \"institution\": \"WSL | ||
13 | CCAMM\", \"institution_url\": \"\"}]", | 13 | CCAMM\", \"institution_url\": \"\"}]", | ||
14 | "groups": [], | 14 | "groups": [], | ||
15 | "id": "6fe790e2-d008-4dd5-a7c8-2a7849d05596", | 15 | "id": "6fe790e2-d008-4dd5-a7c8-2a7849d05596", | ||
16 | "isopen": false, | 16 | "isopen": false, | ||
17 | "language": "en", | 17 | "language": "en", | ||
18 | "license_id": "other-undefined", | 18 | "license_id": "other-undefined", | ||
19 | "license_title": "Other (Specified in the description)", | 19 | "license_title": "Other (Specified in the description)", | ||
20 | "maintainer": "{\"affiliation\": \"WSL\", \"email\": | 20 | "maintainer": "{\"affiliation\": \"WSL\", \"email\": | ||
21 | \"jacob.hirschberg@wsl.ch\", \"given_name\": \"Jacob\", | 21 | \"jacob.hirschberg@wsl.ch\", \"given_name\": \"Jacob\", | ||
22 | \"identifier\": \"https://orcid.org/0000-0002-0348-7921\", \"name\": | 22 | \"identifier\": \"https://orcid.org/0000-0002-0348-7921\", \"name\": | ||
23 | \"Hirschberg\"}", | 23 | \"Hirschberg\"}", | ||
24 | "maintainer_email": null, | 24 | "maintainer_email": null, | ||
25 | "metadata_created": "2021-08-17T07:01:04.408887", | 25 | "metadata_created": "2021-08-17T07:01:04.408887", | ||
n | 26 | "metadata_modified": "2021-08-17T07:05:27.350559", | n | 26 | "metadata_modified": "2021-08-17T07:13:29.606579", |
27 | "name": "debris-flow-prediction-based-on-rainfall", | 27 | "name": "debris-flow-prediction-based-on-rainfall", | ||
n | 28 | "notes": "Source code for debris flow preditction based on rainfall. | n | 28 | "notes": "This is the source code to compute rainfall thresholds for |
29 | For further information, see Hirschberg et al. (2021).", | 29 | debris flows or landslides following Hirschberg et al. | ||
30 | (2021).\r\n\r\n## How to install and run the example\r\n\r\nPyhton has | ||||
31 | to be installed to run the codes. To make sure it works correctly, it | ||||
32 | is easiest to install Anaconda and create an environment with the | ||||
33 | right packages from the yml-file. To this end, in a command-line | ||||
34 | interpreter, change the working directory to where you saved this | ||||
35 | project and run the following:\r\n\r\n`$ conda env create -f | ||||
36 | environment.yml`\r\n\r\n`$ conda activate thresholds` or `$ source | ||||
37 | activate thresholds`\r\n\r\nTo run an example:\r\n\r\n`$ python | ||||
38 | run_example()`\r\n\r\nIt will save a dat-file and a figure as Fig. 7 | ||||
39 | in Hirschberg et al. (2021), where more information can be | ||||
40 | found.\r\n\r\n## License\r\nGNU General Public License v3.0\r\n", | ||||
30 | "num_resources": 1, | 41 | "num_resources": 1, | ||
n | 31 | "num_tags": 5, | n | 42 | "num_tags": 6, |
32 | "organization": { | 43 | "organization": { | ||
33 | "approval_status": "approved", | 44 | "approval_status": "approved", | ||
34 | "created": "2016-09-02T14:17:02.029939", | 45 | "created": "2016-09-02T14:17:02.029939", | ||
35 | "description": " The Research Unit investigates natural hazard | 46 | "description": " The Research Unit investigates natural hazard | ||
36 | processes in mountainous areas, in particular the triggering and | 47 | processes in mountainous areas, in particular the triggering and | ||
37 | propagation of floods, sediment transport, landslides, debris flows | 48 | propagation of floods, sediment transport, landslides, debris flows | ||
38 | and rock fall. Process studies on the scale of slopes, channels and | 49 | and rock fall. Process studies on the scale of slopes, channels and | ||
39 | catchments form the basis for the development of simulation models and | 50 | catchments form the basis for the development of simulation models and | ||
40 | of hazard assessment procedures and for the design of countermeasures. | 51 | of hazard assessment procedures and for the design of countermeasures. | ||
41 | To this end worldwide unique observation systems are developed, such | 52 | To this end worldwide unique observation systems are developed, such | ||
42 | as a debris flow balance and geophone systems for bedload transport. | 53 | as a debris flow balance and geophone systems for bedload transport. | ||
43 | Damage and damaging processes due to frequent and extreme events are | 54 | Damage and damaging processes due to frequent and extreme events are | ||
44 | assessed as prerequisites for the risk-based and sustainable | 55 | assessed as prerequisites for the risk-based and sustainable | ||
45 | management of natural hazards.\r\n\r\nA second focus of the unit is on | 56 | management of natural hazards.\r\n\r\nA second focus of the unit is on | ||
46 | the estimation and prediction of snow and water resources, e.g. for | 57 | the estimation and prediction of snow and water resources, e.g. for | ||
47 | hydropower production or early recognition of drought. The unit | 58 | hydropower production or early recognition of drought. The unit | ||
48 | operates a snow hydrological service for federal and cantonal agencies | 59 | operates a snow hydrological service for federal and cantonal agencies | ||
49 | and a drought information platform for a broad range of water | 60 | and a drought information platform for a broad range of water | ||
50 | users.\r\n\r\n__Further information__: | 61 | users.\r\n\r\n__Further information__: | ||
51 | .ch/en/about-wsl/organization/research-units/mountain-hydrology.html", | 62 | .ch/en/about-wsl/organization/research-units/mountain-hydrology.html", | ||
52 | "id": "8ca28da8-ad8f-401a-9356-0aa7fdba2604", | 63 | "id": "8ca28da8-ad8f-401a-9356-0aa7fdba2604", | ||
53 | "image_url": "2018-07-10-091052.004438LogoWSL.svg", | 64 | "image_url": "2018-07-10-091052.004438LogoWSL.svg", | ||
54 | "is_organization": true, | 65 | "is_organization": true, | ||
55 | "name": "gebirgshydrologie", | 66 | "name": "gebirgshydrologie", | ||
56 | "state": "active", | 67 | "state": "active", | ||
57 | "title": "GebirgsHydrologie", | 68 | "title": "GebirgsHydrologie", | ||
58 | "type": "organization" | 69 | "type": "organization" | ||
59 | }, | 70 | }, | ||
60 | "owner_org": "8ca28da8-ad8f-401a-9356-0aa7fdba2604", | 71 | "owner_org": "8ca28da8-ad8f-401a-9356-0aa7fdba2604", | ||
61 | "private": false, | 72 | "private": false, | ||
62 | "publication": "{\"publication_year\": \"2021\", \"publisher\": | 73 | "publication": "{\"publication_year\": \"2021\", \"publisher\": | ||
63 | \"EnviDat\"}", | 74 | \"EnviDat\"}", | ||
64 | "publication_state": "", | 75 | "publication_state": "", | ||
n | 65 | "related_datasets": "", | n | 76 | "related_datasets": "* |
66 | "related_publications": "", | 77 | envidat.ch/#/metadata/debris-flow-volumes-at-the-illgraben-2000-2017", | ||
78 | "related_publications": "* Hirschberg, J., Badoux, A., McArdell, B. | ||||
79 | W., Leonarduzzi, E., and Molnar, P.: Limitations of rainfall | ||||
80 | thresholds for debris-flow prediction in an Alpine catchment, Nat. | ||||
81 | Hazards Earth Syst. Sci. Discuss. [preprint], | ||||
82 | https://doi.org/10.5194/nhess-2021-135, in review, 2021.", | ||||
67 | "relationships_as_object": [], | 83 | "relationships_as_object": [], | ||
68 | "relationships_as_subject": [], | 84 | "relationships_as_subject": [], | ||
69 | "resource_type": "dataset", | 85 | "resource_type": "dataset", | ||
70 | "resource_type_general": "dataset", | 86 | "resource_type_general": "dataset", | ||
71 | "resources": [ | 87 | "resources": [ | ||
72 | { | 88 | { | ||
73 | "cache_last_updated": null, | 89 | "cache_last_updated": null, | ||
74 | "cache_url": null, | 90 | "cache_url": null, | ||
75 | "created": "2021-08-17T07:05:24.202053", | 91 | "created": "2021-08-17T07:05:24.202053", | ||
76 | "description": ".zip file with code and example data. See the | 92 | "description": ".zip file with code and example data. See the | ||
77 | README.md for how to use it.", | 93 | README.md for how to use it.", | ||
78 | "doi": "", | 94 | "doi": "", | ||
79 | "format": ".zip", | 95 | "format": ".zip", | ||
80 | "hash": "", | 96 | "hash": "", | ||
81 | "id": "9fc14677-b6c7-410f-8943-4771b7410c9e", | 97 | "id": "9fc14677-b6c7-410f-8943-4771b7410c9e", | ||
82 | "last_modified": null, | 98 | "last_modified": null, | ||
83 | "metadata_modified": "2021-08-17T07:05:24.186291", | 99 | "metadata_modified": "2021-08-17T07:05:24.186291", | ||
84 | "mimetype": null, | 100 | "mimetype": null, | ||
85 | "mimetype_inner": null, | 101 | "mimetype_inner": null, | ||
86 | "name": "", | 102 | "name": "", | ||
87 | "package_id": "6fe790e2-d008-4dd5-a7c8-2a7849d05596", | 103 | "package_id": "6fe790e2-d008-4dd5-a7c8-2a7849d05596", | ||
88 | "position": 0, | 104 | "position": 0, | ||
89 | "publication_state": "", | 105 | "publication_state": "", | ||
90 | "resource_size": "{\"size_value\": \"\", \"size_units\": | 106 | "resource_size": "{\"size_value\": \"\", \"size_units\": | ||
91 | \"kb\"}", | 107 | \"kb\"}", | ||
92 | "resource_type": null, | 108 | "resource_type": null, | ||
93 | "restricted": "{\"level\": \"public\", \"allowed_users\": \"\", | 109 | "restricted": "{\"level\": \"public\", \"allowed_users\": \"\", | ||
94 | \"shared_secret\": \"\"}", | 110 | \"shared_secret\": \"\"}", | ||
95 | "size": 19318, | 111 | "size": 19318, | ||
96 | "state": "active", | 112 | "state": "active", | ||
97 | "url": | 113 | "url": | ||
98 | /9fc14677-b6c7-410f-8943-4771b7410c9e/download/threshold_example.zip", | 114 | /9fc14677-b6c7-410f-8943-4771b7410c9e/download/threshold_example.zip", | ||
99 | "url_type": "upload" | 115 | "url_type": "upload" | ||
100 | } | 116 | } | ||
101 | ], | 117 | ], | ||
102 | "spatial": | 118 | "spatial": | ||
103 | 433594,46.249650677278424],[7.574043273925781,46.249650677278424]]]}", | 119 | 433594,46.249650677278424],[7.574043273925781,46.249650677278424]]]}", | ||
104 | "spatial_info": "Switzerland", | 120 | "spatial_info": "Switzerland", | ||
105 | "state": "active", | 121 | "state": "active", | ||
106 | "subtitle": "", | 122 | "subtitle": "", | ||
107 | "tags": [ | 123 | "tags": [ | ||
108 | { | 124 | { | ||
109 | "display_name": "DEBRIS FLOW", | 125 | "display_name": "DEBRIS FLOW", | ||
110 | "id": "30d905fc-cd5b-4947-8d41-f8367bf315f7", | 126 | "id": "30d905fc-cd5b-4947-8d41-f8367bf315f7", | ||
111 | "name": "DEBRIS FLOW", | 127 | "name": "DEBRIS FLOW", | ||
112 | "state": "active", | 128 | "state": "active", | ||
113 | "vocabulary_id": null | 129 | "vocabulary_id": null | ||
114 | }, | 130 | }, | ||
115 | { | 131 | { | ||
116 | "display_name": "ILLGRABEN", | 132 | "display_name": "ILLGRABEN", | ||
117 | "id": "bd83a96f-e9d0-462c-b9af-c4aaa28fd2dd", | 133 | "id": "bd83a96f-e9d0-462c-b9af-c4aaa28fd2dd", | ||
118 | "name": "ILLGRABEN", | 134 | "name": "ILLGRABEN", | ||
119 | "state": "active", | 135 | "state": "active", | ||
120 | "vocabulary_id": null | 136 | "vocabulary_id": null | ||
121 | }, | 137 | }, | ||
122 | { | 138 | { | ||
123 | "display_name": "LANDSLIDE", | 139 | "display_name": "LANDSLIDE", | ||
124 | "id": "70dfc1e7-9c6e-485b-bad3-0b452264cf62", | 140 | "id": "70dfc1e7-9c6e-485b-bad3-0b452264cf62", | ||
125 | "name": "LANDSLIDE", | 141 | "name": "LANDSLIDE", | ||
126 | "state": "active", | 142 | "state": "active", | ||
127 | "vocabulary_id": null | 143 | "vocabulary_id": null | ||
128 | }, | 144 | }, | ||
129 | { | 145 | { | ||
t | t | 146 | "display_name": "PYTHON", | ||
147 | "id": "8be68dd8-8dcf-4f2c-857e-3af299d80605", | ||||
148 | "name": "PYTHON", | ||||
149 | "state": "active", | ||||
150 | "vocabulary_id": null | ||||
151 | }, | ||||
152 | { | ||||
130 | "display_name": "RAINFALL THRESHOLDS", | 153 | "display_name": "RAINFALL THRESHOLDS", | ||
131 | "id": "bfc8094c-84c6-4ccb-952b-bba4d942e4c4", | 154 | "id": "bfc8094c-84c6-4ccb-952b-bba4d942e4c4", | ||
132 | "name": "RAINFALL THRESHOLDS", | 155 | "name": "RAINFALL THRESHOLDS", | ||
133 | "state": "active", | 156 | "state": "active", | ||
134 | "vocabulary_id": null | 157 | "vocabulary_id": null | ||
135 | }, | 158 | }, | ||
136 | { | 159 | { | ||
137 | "display_name": "RANDOM FOREST", | 160 | "display_name": "RANDOM FOREST", | ||
138 | "id": "a0144149-b641-424f-96d1-207837e9ef07", | 161 | "id": "a0144149-b641-424f-96d1-207837e9ef07", | ||
139 | "name": "RANDOM FOREST", | 162 | "name": "RANDOM FOREST", | ||
140 | "state": "active", | 163 | "state": "active", | ||
141 | "vocabulary_id": null | 164 | "vocabulary_id": null | ||
142 | } | 165 | } | ||
143 | ], | 166 | ], | ||
144 | "title": "Source code for: Evaluating methods for debris-flow | 167 | "title": "Source code for: Evaluating methods for debris-flow | ||
145 | prediction based on rainfall in an Alpine catchment", | 168 | prediction based on rainfall in an Alpine catchment", | ||
146 | "type": "dataset", | 169 | "type": "dataset", | ||
147 | "url": null, | 170 | "url": null, | ||
148 | "version": "1.0" | 171 | "version": "1.0" | ||
149 | } | 172 | } |