dfm_tools are pre- and post-processing tools for Delft3D FM
Project description
dfm_tools
A Python package for pre- and postprocessing D-FlowFM model input and output files. Contains convenience functions built on top of other packages like xarray, xugrid, hydrolib-core and many more.
Information and examples
- pdf with dfm_tools information, features and examples
- online documentation generated from docstrings
- jupyter notebooks with example code
- use binder to run these notebooks interactively (loading takes a while)
- github folder with more example scripts
Installation basics
- latest release:
pip install dfm_tools
(excludescartopy
since it is only installable via conda)
Installation recommendation
- download and install Anaconda 64 bit (with Python 3.8 or later) from https://www.anaconda.com/distribution/#download-section
- open Anaconda prompt
conda create --name dfm_tools_env -c conda-forge python=3.8 spyder -y
(you can also install a newer python version)conda activate dfm_tools_env
conda install -c conda-forge git shapely cartopy pyepsg geopandas contextily xarray dask netcdf4 bottleneck xugrid cdsapi pydap -y
(installs conda-forge requirements)python -m pip install git+https://github.com/Deltares/dfm_tools
(this command installs dfm_tools and all required non-conda packages, also use to update)- long paths error? Check this Github issue
- OpenSSL error? Fix your conda base env by doing this or maybe this. Let us know if you encounter this issue.
- to remove environment when necessary:
conda remove -n dfm_tools_env --all
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
dfm_tools-0.11.0.tar.gz
(66.9 kB
view hashes)
Built Distribution
dfm_tools-0.11.0-py3-none-any.whl
(72.9 kB
view hashes)
Close
Hashes for dfm_tools-0.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29789d1c1b231561e643bb4ee1f78712449d6aaf79baa156791c4b282d963f36 |
|
MD5 | 66da04726e96c2ce6af304cb913655d3 |
|
BLAKE2b-256 | c47f8841e82b2eb52f25bb06e87e9d0af94b5d5730fc8cdc85fe80aa5a6dbaad |