Coder Social home page Coder Social logo

tobifinn / torch-assimilate Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 7.0 20.69 MB

Python package based on PyTorch and Dask for efficient and parallelized data assimilation of weather model data and observations on GPUs.

License: GNU General Public License v3.0

Python 99.54% Makefile 0.46%
assimilation pytorch dask xarray machine-learning weather python3

torch-assimilate's Introduction

torch-assimilate

docs Documentation Status
pipeline Pipeline status
coverage Coverage report
quality quality
package pypi-test pypi conda zenodo

Data assimilation based on PyTorch

torch-assimilate is a python package for data assimilation of meteorological observations into numerical weather model data.

This package is constructed for efficient and parallelized data assimilation in python. The central entity of this package are the data assimilation methods optimized in PyTorch1. Furthermore, some algorithms are parallelized with dask2 and allow a distributed computing with many cores. For data in- and output xarray3 is used. Originally, this package is designed for offline data assimilation via io-operations.

In the future, different data assimilation methods, like ensemble Kalman filters, particle filters, variational data assimilation and neural assimilation will be added.

This package is developed for a PhD-thesis about nonlinear methods in coupled data assimilation at the "Universität Hamburg", "Universität Bonn" and the Max Planck Institute for Meteorology.

Installation

We highly recommend to create a virtual environment for this package to prevent package collisions. At the moment this package is only available at pypi-test.

This package is programmed in python 3.6 and should be working with all python versions > 3.3. Additional requirements are pytorch and xarray.

PyTorch needs to be additionally installed because of different possible versions. In following CPU-based installation for linux is shown.

git clone [email protected]:tobifinn/torch-assimilate.git
cd torch-assimilate
conda env create -f environment.yml
source activate pytassim
conda install pytorch torchvision cpuonly -c pytorch
pip install .

via pip (latest pypi-test):

pip install --index-url https://test.pypi.org/simple/ torch-assimilate
pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

Authors

  • Tobias Finn - Initial creator - tobifinn

License

This project is licensed under the GPL3 License - see the license file for details.

References


  1. PyTorch, https://pytorch.org

  2. Dask, https://dask.org

  3. xarray, http://xarray.pydata.org

torch-assimilate's People

Contributors

tobifinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

torch-assimilate's Issues

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.