Giter Club home page Giter Club logo

mvpp's Introduction

Generative machine learning methods for multivariate ensemble post-processing

This repository provides python and R codes accompanying the paper

to be added

Data

The data needed for reproducing the results is publicly available:

Chen, Jieyu; Lerch, Sebastian (2022): Full data for wind speed post-processing. figshare. Dataset. https://doi.org/10.6084/m9.figshare.19453622

Chen, Jieyu; Lerch, Sebastian (2022): Full data for temperature post-processing. figshare. Dataset. https://doi.org/10.6084/m9.figshare.19453580

ECMWF forecasts from TIGGE dataset

https://software.ecmwf.int/wiki/display/TIGGE/Models

  • Variables: 50-member ensemble forecasts of the target variable (2 m temperature or 10 m wind speed), and some additional predictors
  • Time range: Daily forecasts from 2007-01-03 to 2016-12-31

Observations at weather stations operated by DWD?

  • Variables: Daily observations of the target variable (2 m temperature or 10 m wind speed), and the location information (longitude, latitude, altitude) of each station

Multivariate post-processing

We focus on preserving the spatial dependence structure in the multivariate forecasts during ensemble post-processing.

The raw data in feather format could be downloaded from

The generative models for multivariate post-processing are performed using Python language, while the standard copula-based multivariate approaches are applied using R language.

cgm_models.py include a class of conditional generative models for wind speed and temperature forecast separately.

mvpp_cgm_ws.py and mvpp_cgm_t2m.py provide codes to use the conditional generative models for multivariate post-processing of wind speed or temperature, experimented on a test of 100 repetitions.

generating_test_stations.py shows how to select a list of test sets, with each set contains several weather stations that are located close to each other.

model_hyperparameter_tuning_wind.py and model_hyperparameter_tuning_tem.py provide a way to find the optimal hyperparameters for the generative models using the 'hyperopt' library.

multipp_t2m_10dim.R shows an example of using standard copula-based approaches for post-processing 10-dimensional temperature forecasts.

mvpp_drn_copula_ws.R and mvpp_drn_copula_t2m.R provide codes to perform the two-step copula-based multivariate post-processing with DRN (distributional regression network) for the univariate post-processing and ECC (ensemble copula coupling) or GCA (Gaussian copula approach) for multivariate extention, i.e., DRN + ECC and DRN + GCA, for wind speed and temperature forecast respectively.

mvpp's People

Contributors

jieyu97 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.