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 details)
Built Distribution
File details
Details for the file dfm_tools-0.11.0.tar.gz
.
File metadata
- Download URL: dfm_tools-0.11.0.tar.gz
- Upload date:
- Size: 66.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e18d08fbe25e8c0c8725f85e4b9fee4c6d447a97a4dd0d69e297bc88be8e395 |
|
MD5 | da01b103e8d5a574b847fde660fa0ce9 |
|
BLAKE2b-256 | 0984b150025fe13b05b0b3447dfa503f33a2953901a19fe4eea4126aefdec82a |
File details
Details for the file dfm_tools-0.11.0-py3-none-any.whl
.
File metadata
- Download URL: dfm_tools-0.11.0-py3-none-any.whl
- Upload date:
- Size: 72.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29789d1c1b231561e643bb4ee1f78712449d6aaf79baa156791c4b282d963f36 |
|
MD5 | 66da04726e96c2ce6af304cb913655d3 |
|
BLAKE2b-256 | c47f8841e82b2eb52f25bb06e87e9d0af94b5d5730fc8cdc85fe80aa5a6dbaad |