Skip to content

Commit 2995735

Browse files
Update URLs for WISC data (#944)
* storm_europe: wisc.climate.copernicus.eu has moved to cds.climate.copernicus.eu * storm europe: update links * Add data links and improve docs of StormEurope --------- Co-authored-by: Lukas Riedel <[email protected]>
1 parent 3d34cd9 commit 2995735

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Removed:
3030
### Fixed
3131

3232
- NaN plotting issues in `geo_im_from_array`[#1038](https://github.com/CLIMADA-project/climada_python/pull/1038)
33+
- Broken ECMWF links in pydoc of `climada.hazard.storm_europe` relocated. [#944](https://github.com/CLIMADA-project/climada_python/pull/944)
3334

3435
### Deprecated
3536

climada/hazard/storm_europe.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,16 @@
6060

6161
class StormEurope(Hazard):
6262
"""A hazard set containing european winter storm events. Historic storm
63-
events can be downloaded at http://wisc.climate.copernicus.eu/ and read
64-
with `from_footprints`. Weather forecasts can be automatically downloaded from
65-
https://opendata.dwd.de/ and read with from_icon_grib(). Weather forecast
66-
from the COSMO-Consortium http://www.cosmo-model.org/ can be read with
67-
from_cosmoe_file().
63+
events can be downloaded at https://cds.climate.copernicus.eu/ and read
64+
with :meth:`from_footprints`. Weather forecasts can be automatically downloaded from
65+
https://opendata.dwd.de/ and read with :meth:`from_icon_grib`. Weather forecast
66+
from the COSMO-Consortium https://www.cosmo-model.org/ can be read with
67+
:meth:`from_cosmoe_file`.
68+
69+
Direct links to CDS data:
70+
71+
* Winter windstorm indicators (1979 to 2021): https://doi.org/10.24381/cds.9b4ea013
72+
* Synthetic windstorm events (1986 to 2011): https://doi.org/10.24381/cds.ce973f02
6873
6974
Attributes
7075
----------
@@ -696,7 +701,7 @@ def calc_ssi(
696701
ssi = sum_i(area_cell_i * intensity_cell_i^3)
697702
698703
'wisc_gust', according to the WISC Tier 1 definition found at
699-
https://wisc.climate.copernicus.eu/wisc/#/help/products#tier1_section
704+
https://confluence.ecmwf.int/display/CKB/Synthetic+Windstorm+Events+for+Europe+from+1986+to+2011%3A+Product+User+Guide
700705
ssi = sum(area_on_land) * mean(intensity)^3
701706
702707
In both definitions, only raster cells that are above the threshold are

doc/tutorial/climada_hazard_StormEurope.ipynb

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"source": [
3232
"## Reading Data\n",
3333
"\n",
34-
"StormEurope was written under the presumption that you'd start out with [WISC](https://wisc.climate.copernicus.eu/wisc/#/help/products#footprint_section) storm footprint data in netCDF format. This notebook works with a demo dataset. If you would like to work with the real data: (1) Please follow the link and download the file C3S_WISC_FOOTPRINT_NETCDF_0100.tgz from the Copernicus Windstorm Information Service, (2) unzip it (3) uncomment the last two lines in the following codeblock and (4) adjust the variable \"WISC_files\".\n",
34+
"StormEurope was written under the presumption that you'd start out with [WISC](https://confluence.ecmwf.int/display/CKB/Synthetic+Windstorm+Events+for+Europe+from+1986+to+2011%3A+Product+User+Guide) storm footprint data in netCDF format. This notebook works with a demo dataset. If you would like to work with the real data: (1) Please follow the link and download the file C3S_WISC_FOOTPRINT_NETCDF_0100.tgz from the Copernicus Windstorm Information Service, (2) unzip it (3) uncomment the last two lines in the following codeblock and (4) adjust the variable \"WISC_files\".\n",
3535
"\n",
3636
"We first construct an instance and then point the reader at a directory containing compatible `.nc` files. Since there are other files in there, we must be explicit and use a globbing pattern; supplying incompatible files will make the reader fail.\n",
3737
"\n",
@@ -42,17 +42,7 @@
4242
"cell_type": "code",
4343
"execution_count": 2,
4444
"metadata": {},
45-
"outputs": [
46-
{
47-
"name": "stderr",
48-
"output_type": "stream",
49-
"text": [
50-
"$CLIMADA_SRC/climada/hazard/centroids/centr.py:822: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.\n",
51-
"\n",
52-
" xy_pixels = self.geometry.buffer(res / 2).envelope\n"
53-
]
54-
}
55-
],
45+
"outputs": [],
5646
"source": [
5747
"from climada.hazard import StormEurope\n",
5848
"from climada.util.constants import WS_DEMO_NC\n",
@@ -85,10 +75,10 @@
8575
"\u001b[0;31mFile:\u001b[0m ~/code/climada_python/climada/hazard/storm_europe.py\n",
8676
"\u001b[0;31mDocstring:\u001b[0m \n",
8777
"A hazard set containing european winter storm events. Historic storm\n",
88-
"events can be downloaded at http://wisc.climate.copernicus.eu/ and read\n",
78+
"events can be downloaded at https://cds.climate.copernicus.eu/ and read\n",
8979
"with `from_footprints`. Weather forecasts can be automatically downloaded from\n",
9080
"https://opendata.dwd.de/ and read with from_icon_grib(). Weather forecast\n",
91-
"from the COSMO-Consortium http://www.cosmo-model.org/ can be read with\n",
81+
"from the COSMO-Consortium https://www.cosmo-model.org/ can be read with\n",
9282
"from_cosmoe_file().\n",
9383
"\n",
9484
"Attributes\n",

0 commit comments

Comments
 (0)