docs | |
---|---|
pipeline | |
coverage | |
quality | |
package |
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.
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 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 .
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
- Tobias Finn - Initial creator - tobifinn
This project is licensed under the GPL3 License - see the license file for details.
[1] | PyTorch, https://pytorch.org |
[2] | Dask, https://dask.org |
[3] | xarray, http://xarray.pydata.org |