|
8 | 8 | [](https://badge.fury.io/py/nlmod)
|
9 | 9 | [](https://nlmod.readthedocs.io/en/stable/?badge=stable)
|
10 | 10 |
|
11 |
| -Python package with functions to process, build and visualise MODFLOW models in the Netherlands. |
| 11 | +Python package to build, run and visualize MODFLOW 6 groundwater models in the Netherlands. |
12 | 12 |
|
13 |
| -The functions in nlmod have four main objectives: |
| 13 | +`nlmod` was built to allow users to write scripts to quickly download relevant data |
| 14 | +from publicly available sources, and build and post-process groundwater flow and |
| 15 | +transport models at different spatial and temporal scales to answer specific |
| 16 | +geohydrological questions. Scripting these steps, from downloading data to building |
| 17 | +groundwater models, makes models more reproducible and transparent. |
| 18 | + |
| 19 | +The functions in `nlmod` have four main objectives: |
14 | 20 |
|
15 | 21 | 1. Create and adapt the temporal and spatial discretization of a MODFLOW model using an xarray Dataset (`nlmod.dims`).
|
16 | 22 | 2. Download and read data from external sources, project this data on the modelgrid and add this data to an xarray Dataset (`nlmod.read`).
|
17 |
| -3. Use data in an xarray Dataset to build modflow packages using FloPy (`nlmod.gwf` for Modflow 6 and `nlmod.modpath` for Modpath). |
| 23 | +3. Use data in an xarray Dataset to build modflow packages for both groundwater flow and transport models using FloPy (`nlmod.sim`, `nlmod.gwf` and `nlmod.gwt` for Modflow 6 and `nlmod.modpath` for Modpath). |
18 | 24 | 4. Visualise modeldata in Python (`nlmod.plot`) or GIS software (`nlmod.gis`).
|
19 | 25 |
|
20 |
| -More information can be found on the documentation-website: https://nlmod.readthedocs.io/. |
| 26 | +More information can be found on the documentation-website: |
| 27 | +https://nlmod.readthedocs.io/. |
21 | 28 |
|
22 | 29 | ## Installation
|
23 | 30 |
|
24 | 31 | Install the module with pip:
|
25 | 32 |
|
26 | 33 | `pip install nlmod`
|
27 | 34 |
|
28 |
| -`nlmod` has many required dependencies: `flopy`, `xarray`, `netcdf4`, `rasterio`, `rioxarray`, `affine`, `geopandas`, `owslib`, `hydropandas`, `shapely`, `pyshp`, `rtree`, `matplotlib`, `dask` and `colorama`. On top of that there are some optional dependecies, only needed (and imported) in a single method. Examples of this are `bottleneck` (used in calculate_gxg), `geocube` (used in add_min_ahn_to_gdf), `h5netcdf` (used for hdf5 files backend in xarray). To install the nlmod with the optional dependencies use: |
| 35 | +`nlmod` has the following required dependencies: |
| 36 | + |
| 37 | +* `flopy` |
| 38 | +* `xarray` |
| 39 | +* `netcdf4` |
| 40 | +* `rasterio` |
| 41 | +* `rioxarray` |
| 42 | +* `affine` |
| 43 | +* `geopandas` |
| 44 | +* `owslib` |
| 45 | +* `hydropandas` |
| 46 | +* `shapely` |
| 47 | +* `pyshp` |
| 48 | +* `rtree` |
| 49 | +* `matplotlib` |
| 50 | +* `dask` |
| 51 | +* `colorama` |
| 52 | + |
| 53 | +There are some optional dependecies, only needed (and imported) in a single method. |
| 54 | +Examples of this are `bottleneck` (used in calculate_gxg), `geocube` (used in |
| 55 | +add_min_ahn_to_gdf), `h5netcdf` (used for hdf5 files backend in xarray), `scikit-image` |
| 56 | +(used in calculate_sea_coverage). To install `nlmod` with the optional dependencies use: |
29 | 57 |
|
30 | 58 | `pip install nlmod[full]`
|
31 | 59 |
|
32 |
| -When using pip the dependencies are automatically installed. Some dependencies are notoriously hard to install on certain platforms. |
33 |
| -Please see the [dependencies](https://github.com/ArtesiaWater/hydropandas#dependencies) section of the `hydropandas` package for more information on how to install these packages manually. |
| 60 | +When using pip the dependencies are automatically installed. Some dependencies are |
| 61 | +notoriously hard to install on certain platforms. Please see the |
| 62 | +[dependencies](https://github.com/ArtesiaWater/hydropandas#dependencies) section of the |
| 63 | +`hydropandas` package for more information on how to install these packages manually. |
34 | 64 |
|
35 | 65 | ## Getting started
|
36 | 66 |
|
37 |
| -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: |
| 67 | +If you are using `nlmod` for the first time you need to download the MODFLOW |
| 68 | +executables. You can easily download these executables by running this Python code: |
38 | 69 |
|
39 | 70 | import nlmod
|
40 | 71 | nlmod.download_mfbinaries()
|
41 | 72 |
|
42 |
| -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. |
| 73 | +After you've downloaded the executables you can run the Jupyter Notebooks in the |
| 74 | +examples folder. These notebooks illustrate how to use the `nlmod` package. |
0 commit comments