Skip to content

Extracts precipitation heights from the freely available KOSTRA data of DWD

Notifications You must be signed in to change notification settings

stbech/KOSTRA-data-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KOSTRA-data-extraction

Uses data from https://opendata.dwd.de/climate_environment/CDC/grids_germany/return_periods/precipitation/KOSTRA/ published by the German meteorological service (DWD). KOSTRA is a data set, that provides reference values for heavy precipitation, extrapolated from records lasting 60 years.

This repository uses the current data set KOSTRA-DWD-2010R from 2017.

The code uses a location as input to determinate coordinates by using plus.codes-website. Then it searches for the right grid field, in which the coordinates are located in, and extracts and saves the precipitation heights using the tables in the DWD_heights-folder.

The algorithm to determine the grid index is improved over the original from the xlsx-file, so that it can handle coordinates inbetween to grid fields.

It can be called from commandline using python code.py or from another function with code.main(location, return_period).

About

Extracts precipitation heights from the freely available KOSTRA data of DWD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages