nlmod module by Artesia
Project description
nlmod
Python package with functions to process, build and visualise MODFLOW models in the Netherlands.
The functions in nlmod have four main objectives:
- Create and adapt the temporal and spatial discretization of a MODFLOW model using an xarray Dataset (
nlmod.dims). - Download and read data from external sources, project this data on the modelgrid and add this data to an xarray Dataset (
nlmod.read). - Use data in an xarray Dataset to build modflow packages using FloPy (
nlmod.gwffor Modflow 6 andnlmod.modpathfor Modpath). - Visualise modeldata in Python (
nlmod.plot) or GIS software (nlmod.gis).
More information can be found on the documentation-website: https://nlmod.readthedocs.io/.
Installation
Install the module with pip:
pip install nlmod
nlmod has many dependencies xarray, flopy, rasterio, rioxarray, owslib, hydropandas, netcdf4, pyshp, rtree, openpyxl and matplotlib.
When using pip the dependencies are automatically installed. Some dependencies are notoriously hard to install on certain platforms.
Please see the dependencies section of the hydropandas package for more information on how to install these packages manually.
Getting started
If you are using nlmod for the first time you need to download the MODFLOW executables. You can easily download these executables by running this Python code:
import nlmod
nlmod.util.download_mfbinaries()
After you've downloaded the executables you can run the Jupyter Notebooks in the examples folder. These notebooks illustrate how you to use the nlmod package.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlmod-0.5.3.tar.gz.
File metadata
- Download URL: nlmod-0.5.3.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4556f85728704e063374bb03054002738f2ca15c866188520b9331aaad30eca7
|
|
| MD5 |
ff0eaa284ff1ad0b6d9fdbb1d7daca25
|
|
| BLAKE2b-256 |
9b3d431b83b360b28a99c79c51735ae28481c26319cb71fcb0802f514616729f
|
File details
Details for the file nlmod-0.5.3-py3-none-any.whl.
File metadata
- Download URL: nlmod-0.5.3-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e492d001ea82fcad01cff9b9f006aef91ecc30445ece84eda7a15eca96dd1b13
|
|
| MD5 |
079885f09b7c69bd82204b30f142ae09
|
|
| BLAKE2b-256 |
52df65a1396f3562bb0d2b9c510b84a888e45a36ad66f42a1f76966a21d74eb5
|