|
30 | 30 | "source": [ |
31 | 31 | "## Reading Data\n", |
32 | 32 | "\n", |
33 | | - "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", |
| 33 | + "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", |
34 | 34 | "\n", |
35 | 35 | "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", |
36 | 36 | "\n", |
|
41 | 41 | "cell_type": "code", |
42 | 42 | "execution_count": 2, |
43 | 43 | "metadata": {}, |
44 | | - "outputs": [ |
45 | | - { |
46 | | - "name": "stderr", |
47 | | - "output_type": "stream", |
48 | | - "text": [ |
49 | | - "$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", |
50 | | - "\n", |
51 | | - " xy_pixels = self.geometry.buffer(res / 2).envelope\n" |
52 | | - ] |
53 | | - } |
54 | | - ], |
| 44 | + "outputs": [], |
55 | 45 | "source": [ |
56 | 46 | "from climada.hazard import StormEurope\n", |
57 | 47 | "from climada.util.constants import WS_DEMO_NC\n", |
|
83 | 73 | "\u001b[0;31mString form:\u001b[0m <climada.hazard.storm_europe.StormEurope object at 0x7f2a986b4c70>\n", |
84 | 74 | "\u001b[0;31mFile:\u001b[0m ~/code/climada_python/climada/hazard/storm_europe.py\n", |
85 | 75 | "\u001b[0;31mDocstring:\u001b[0m \n", |
86 | | - "A hazard set containing european winter storm events. Historic storm\n", |
87 | | - "events can be downloaded at http://wisc.climate.copernicus.eu/ and read\n", |
88 | | - "with `from_footprints`. Weather forecasts can be automatically downloaded from\n", |
89 | | - "https://opendata.dwd.de/ and read with from_icon_grib(). Weather forecast\n", |
90 | | - "from the COSMO-Consortium http://www.cosmo-model.org/ can be read with\n", |
91 | | - "from_cosmoe_file().\n", |
92 | | - "\n", |
93 | | - "Attributes\n", |
94 | | - "----------\n", |
95 | | - "ssi_wisc : np.array, float\n", |
96 | | - " Storm Severity Index (SSI) as recorded in\n", |
97 | | - " the footprint files; apparently not reproducible from the footprint\n", |
98 | | - " values only.\n", |
99 | | - "ssi : np.array, float\n", |
| 76 | + "A hazard set containing european winter storm events. Historic storm\n", |
| 77 | + "events can be downloaded at https://cds.climate.copernicus.eu/ and read\n", |
| 78 | + "with `from_footprints`. Weather forecasts can be automatically downloaded from\n", |
| 79 | + "https://opendata.dwd.de/ and read with from_icon_grib(). Weather forecast\n", |
| 80 | + "from the COSMO-Consortium https://www.cosmo-model.org/ can be read with\n", |
| 81 | + "from_cosmoe_file().\n", |
| 82 | + "\n", |
| 83 | + "Attributes\n", |
| 84 | + "----------\n", |
| 85 | + "ssi_wisc : np.array, float\n", |
| 86 | + " Storm Severity Index (SSI) as recorded in\n", |
| 87 | + " the footprint files; apparently not reproducible from the footprint\n", |
| 88 | + " values only.\n", |
| 89 | + "ssi : np.array, float\n", |
100 | 90 | " SSI as set by set_ssi; uses the Dawkins\n", |
101 | 91 | " definition by default.\n", |
102 | 92 | "\u001b[0;31mInit docstring:\u001b[0m Calls the Hazard init dunder. Sets unit to 'm/s'.\n" |
|
0 commit comments