torch-assimilate is a data assimilation package based on PyTorch, xarray and dask
Project description
docs |
|
---|---|
pipeline |
|
coverage |
|
quality |
|
package |
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 PyTorch [1]. Furthermore, some algorithms are parallelized with dask [2] and allow a distributed computing with many cores. For data in- and output xarray [3] 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.
via conda (recommended):
git clone git@gitlab.com: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
License
This project is licensed under the GPL3 License - see the license file for details.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file torch-assimilate-0.2.1.tar.gz
.
File metadata
- Download URL: torch-assimilate-0.2.1.tar.gz
- Upload date:
- Size: 53.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 484027acbe5d96c6fffe4091cb2643db48c96781a350e2a71f0ad5e600948561 |
|
MD5 | 9a67a94d22c013082534dbcf981d3b46 |
|
BLAKE2b-256 | 08aa11e0931f50c4ba3546137e3431d6d7b1ff8d3e46a1829b0aa09e0aef88ca |