Code Monkey home page Code Monkey logo

germanradaranalysis_precipitationscaling's Introduction

germanRadarAnalysis_precipitationScaling

This repository is part of the germanRADARanalysis project. Here, we first connect the events to co-located dew point temperature records from automatic weather stations in Germany. Then we analyse the scaling of event peak intensity with dew point temperature. Lastly, we investigate how the scaling depends on the different precipitation type. More details about the project can be found on my personal website.

Required data

To successfully run the analysis you will need two data sets.

  1. the event catalog
  2. the gridded precipitation type data set

Extract both data sets into a subfolder named data.

R scripts

This repository includes a RStudio project file. Of course, you can still use other IDEs to run the code. Scripts are in src/, data in data/ and plots will be saved in the plots/ directory. Make sure to adjust your working directory in the src/setup_working_environment.R script.

Always run the src/setup_working_environment.R script at least once in each new R session before executing any other code.

Connect events to dew point and precipitation type data

Open the RStudio project file in RStudio or use your favorite way of running R scripts.

  1. run or source the src/setup_working_environment.R script
  2. run the src/prepare_station_data_dew_point.R script to download the DWD data and create a tailored station data set
  3. run the src/connect_tracks_with_dewpoint.R script to connect each track with a co-located dew point record (3 hours prior to the event)
  4. finally, run the src/connect_tracks_with_gridded_precipitationtype.R. This will add the precipitation type criteria to the tracks database.

Analysis scripts

The src/ directory contains a number of other scripts and development continues. Most notably, though, are the following source files:

  • plot_Td_peakvalue_scaling.R
  • plot_overview_dewpoint.R
  • plot_overview_cloud_type.R

Please, use and adapt these scripts to your preference.

The final data set

The final data set can be downloaded from here.

germanradaranalysis_precipitationscaling's People

Contributors

lochbika avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.