Basic Example of Land Subsidence Modeling with MODFLOW SUB and Model Muse 4

Cities under high exploitation of groundwater resources face severe problems of land subsidence due to pumping. This complex problem was addressed from earlier versions of MODFLOW as MODFLOW 2000 and has two packages: MODFLOW SUB and  for its simulation with different options for the conceptualization and numerical modeling of normal aquifers and low conductivity interbeds.

Scientific research and professional consulting on the field of land subsidence modeling is limited; this scarcity might be because the coupled complexity of the appliance of numerical groundwater modeling and consolidation theory.

Read More

How to convert an ArcGIS Style to QGIS 3 - Tutorial

Spatial data created / processed by commercial or open source software follows standards by institutions like the Open Geospatial Consortium; this standards allow the interoperability of the vector or raster data among different software however standards apply to the position but not the style. Styles from ArcGIS were not easy to convert to formats compatible with QGIS, specially if you don’t have the commercial software.

Governmental offices release spatial data as land use, land cover, infraestructures, and sometimes release styles in ArcGIS formats posing a great obstacle for the QGIS users. This tutorial shows the complete procedure to convert ArcGIS Style to QGIS as *.xml format with a case study of land cover from Costa Rica. The tutorial is developed in Windows, if you are a Linux and Mac users its necessary to install Mdbtools on your own operating system.

Read More

How to create a fully Geospatial Groundwater Model with MODFLOW and Flopy - Tutorial

Nature is geospatial, and every physical process related to the groundwater flow and transport regime is spatially located or spatially distributed. Groundwater models are based on a grid structure and models are discretized on cells located on arrangements of rows and columns; is that level of disconnexion of the spatial position of a piece of porous media and the corresponding cell row and column that creates some challenges for the sustainable management of groundwater resources.

We have to create or re-create the duality in between the geospatial and the model grid, that would be similar to duality of a vector GIS object and its metadata on its essence but more difficult to manage. Affortunately Flopy, the Python library to build and simulate MODFLOW models, has tools to georeference the model grid even with rotation options. The workflow is kind of explicit, meaning that the modeler need a medium knowledge of Python and Flopy tools. This tutorial shows the whole procedure to create a fully geospatial groundwater with MODFLOW and Flopy.

Read More

Which is the most critical hydrogeological data needed for a numerical model?

From a conversation with a specialist in soil subsidence we came to the conclusion about which was the most critical hydrogeological data needed for a numerical model. There is a proposed list of required data on this link, but when we plan a hydrogeological study which is critical? Data about the groundwater flow regime and the hydrogeological environment is always scarce. And there are even more complications on the data gathering because these data depend on a number of institutions and shareholders that could not be willing to share it because there is a mainstream idea

Read More

Key aspects for the sustainable use of groundwater to meet industrial water demand

Hydrogeologist need to support the industry in a modular manner where hydrogeological concepts and evaluations has to be understood by all the related stakeholders in order to conduct an industrial activity with a clear sense of pumping / water level performance and changes in water quality with time.

Read More

How to do a georeferenced Stiff Diagram with Python 3 and QGIS 3 - Tutorial

Stiff Diagrams are a common and powerful tool for the representation of surface water / groundwater main ions. Anion and cation concentrations are represented on equivalent weight (meq/l), and usually cations are represented at the left side and anions at the right side. Traditionally, this diagram is useful for the comparison of the main water chemical components by examination of a series of diagrams, however it was not easy to compare the diagrams with the position of the observacion point.

To enhance the chemical analysis on regional scale this tutorial has coupled the Stiff Diagrams with their position on a QGIS project. The diagramas are generated from a spreadsheet with Python on a Jupyter Notebook and stored a vector file (.svg), then the images files are referenced on a style file (.sld) and uploaded to QGIS3.

Read More

How to efficiently apply Geology from Shapefiles to MODFLOW with ModelMuse with Global Variables

On the MODFLOW groundwater model construction process in Model Muse there are tools to import hydrogeological parameters as hydraulic conductivity and boundary conditions from shapefiles assigning the parameter values from the spatial object metadata. This type of workflow is useful for idealized aquifers or simple hydrogeological assessments; however on groundwater models at regional scale the calibration process requires the quick and repetitive change of the hydrogeological parameters and boundary conditions to evaluate the hydraulic response against observed data.

For model calibration the use of Global Variables (Data/Edit Global Variables...) of Model Muse makes relatively easy, ordered and with better change control the calibration process. This tutorial gives the procedure to implement Global Variables for the hydraulic conductivities of 15 hydrogeological units distributed on a model of 560 square kilometers.

Read More

Implementation of Multiple Wells with MODFLOW and Model Muse - Tutorial

Groundwater modeling on the regional scale or with huge baseline can be tedious to do manually in a Graphical User Interface as Model Muse. There are more advanced options to insert a great amount of wells with long and diverse pumping schedules with Flopy or by altering the *.gpt file with some programming effort; however these are kind of intermediate level solutions that would be time expensive for a beginner groundwater modeler.

This tutorial shows the procedure to insert multiple wells with different pumping rates in MODFLOW with Model Muse by the use of some special features. The procedure can insert wells at different depths however it cannot set the well name and in case of wells with multiple pumping records a group of superposed wells will be inserted, one for each pumping rate record.

Read More

How to get Geospatial Weather Information with QGIS and QWeather - Tutorial

Quick tutorial about how to get geospatial weather data in QGIS using the QWeather plugin. This plugin connects QGIS with the Yahoo Weather API and retrives all information from a location or a lat/long coordinate. Weather data is available for the current day and data is represent as a geojson file.

The tutorial shows the common procedure to retrieve data for capitals and explore the location and metadata information available of precipitation, wind (speed, direction), temperature and humidity. It is possible to setup a defined location list using a .csv file; for the tutorial, main cities in Saxony, Germany were selected.

Read More

MODFLOW Observed / Simulated Head Comparison Plot with Model Muse and Python - Tutorial

Groundwater modeling with MODFLOW and other codes are defined as inverse modeling where the aquifer parameters can be calculated from the comparison of model results with observed data. This comparison process is time consuming, employs acceptance criteria and trend analysis of the boundary condition influence.

There are tools for the comparison of observed and simulated heads in Model Muse and custom charts can be done with few lines in Python. This tutorial cover the whole procedure to create a simulated / observed plot in Python from the results of a MODFLOW model run on Model Muse. The study case is over a regional model with more than 100 piezometers. The tutorial creates a graph with a colorbar and exports it as a JPG file.

Read More

Maximum Pumping Well Rate Estimation with Modflow and Model Muse - Tutorial

Pumping well productivity depends of the aquifer porous media, aquifer thickness and extension, physical processes of water cycle relevant to groundwater flow regime, well design and operation considerations. Determination of maximum pumping rate from a well is the key for well construction process because the maximum rate is relevant to pump sizing, licensing, purchase of conduction materials and dimension of water storage facilities. On a project feasibility perpective, the maximum rate estimation is important to meet the project demand on its different stages.

This tutorial shows the complete procedure to determine the maximum pumping rate from a well on a quaternary aquifer on steady state flow conditions with MODFLOW and Model Muse. The tutorial covers all the steps of spatial and temporal discretization, boundary condition setup and hydraulic parameter definition, with an emphasis on the conceptualization of a maximum pumping scenario with operational conditions on the well.

Read More

View and Manage your QGIS Spatial Data in Android with Q Field - Tutorial

QField is a plugin now in version 1.0 developed by OPENGIS.ch that brings customized maps to a Android devices with the QField for QGIS app. This tutorial shows the complete procedure to create a QGIS project from lines and points with a background map; the project is packed for QField and then ported on a Android device though bluetooth, sd card, usb, or a online service. Once the QField files are on the Android device, the project can be opened with the app and the actual location can be displayed on the screen.

The workflow is fluid and we see high potential in many professional and scientific fields for bringing processed spatial data to fieldwork.

Read More

3D Structural Geological Modeling in Python with Gempy - Tutorial

Gempy is as open source Python library for generating full 3D structural geological models. The library is a complete development to create geological models from interfases, faults, and layer orientations, it also relates the sequence of geological layers to represent rock intrusions and faults order.

Algorithm for geological modeling is based on universal cokriging interpolation with the support of high-end Python mathematical libraries as Numpy, PyMC3 and Theano.

Gempy creates a grid model that can be visualized as 2D sections with Matplotlib or as 3D geometrical objects as VTK objects that allow the representation of the geologic models on Paraview for custom slicing, filtering, transparencies, and styling.

This tutorial is a basic example of a stratified geological setup with 5 layers and one fault. In order to make the tutorial fully accessible to the majority of users, we have created a complementary tutorial about how to install Gempy on Windows with a repository distribution of Anaconda.

Read More

Triangular Mesh for Groundwater Models with MODFLOW 6 and Flopy - Tutorial

One of the most exceptional new features from MODFLOW 6 is the different discretization options for the model mesh generation. Options range from regular grid (same as MODFLOW 2005), triangular mesh and unstructured grid. Flopy that is a Python library for the build and simulation of MODFLOW 6 and other models has tools for triangular mesh generation. The workflow on groundwater modeling with MODFLOW 6 and Flopy for triangular mesh models is pretty fluid and we see a lot of potential for local and regional groundwater flow modeling.

This tutorial shows the complete process to create a triangular mesh with the utilities from Flopy and incorporate it to a MODFLOW 6 model. The model is simulated and results are represented as colored mesh and contour lines.

Read More

Land Cover Change Analysis with Python and GDAL - Tutorial

Satellite imagery brought us the capacity to see the land surface on recent years but we haven’t been so successful to understand land cover dynamics and the interaction with economical, sociological and political factors. Some deficiencies were found on the use of GIS commercial software, but there are other limitations in the way we apply logical and mathematical processes to a set of satellite imagery. Working with geospatial data on Python gives us the capability to filter, calculate, clip, loop, and export raster or vector datasets with an efficient use of the computational power providing a bigger scope on data analysis.

This tutorial shows the complete procedure to create a land cover change raster from a comparison of generated vegetation index (NDVI) rasters by the use of Python and the Numpy and GDAL libraries. Contours of land cover change where generated with some tools of GDAL and Osgeo and an analysis of deforestation were done based on the output data and historical images from Google Earth.

Read More

Stable Isotope Representation from Groundwater Samples with Python Pandas - Tutorial

Stable isotope analysis is a powerful tool for the evaluation of groundwater origin and groundwater dynamics, specially when the observation points and recording periods are limited. Isotope representation can be done with any spreadsheet software, but the workflow is defficient specially when plotting scatter points, solid lines, labels and legends.

This tutorial shows a the complete procedure to represent a stable isotope representation of groundwater samples from remediation site in New Mexico, USA. The script is done with Python 3, Pandas and other packages that come alread installed on the Anaconda distribution. Code for the representation of the Global Meteoric Water Line is also included as well as options for the figure storage.

Read More

How to clip multiple Landsat 8 Bands with Python and GDAL - Tutorial

Current GIS desktop applications are fully capable of this spatial management and analysis when the amount of raster images is limited; however when we deal with high amount of images the spatial processing on a graphical user interfase (GUI) can be slow and most commonly impractical. The use of programming / processing languages like Python and advanced spatial libraries as GDAL (gdal.org) helps on the spatial data transformation on a more abstract and effective way. This tutorial shows the complete procedure to clip the complete set of bands from a Landsat 8 image and store them with a suffix on every band file on another folder.

The tutorial is done on a interactive Python programming platform called Jupyter Notebook. The input files: raster bands and area of interest (AOI) shapefile need to be on the same system of reference (SRC), otherwise the GDAL library cannot locate the spatial data on the right position. The tutorial shows the procedure for the whole set of band form a Landsat 8 image, an example for a single band is provided on the scripts of the input data. Finally the tutorial shows the complete and clipped raster on a GIS desktop software as QGIS.

Read More

Regional Groundwater Modeling with MODFLOW and Flopy - Tutorial

Regional groundwater modeling is an important task on a strategic water management that involves all users, activities, and involved ecosystems and provides a sustainable use for current and future conditions. There are some specific considerations on the regional modeling with respect to baseline and spatial discretization, a regional model is not intended to provide the aquifer response for a determined area, instead it involves the assessment of the regional groundwater flow and the quantification of the recharge, discharge and other process on the water balance.

This tutorial is the Flopy / MODFLOW numerical example of the Angascancha basin. The example is on steady steady and is solved with the NWT solver. Model output representations have been done under the Flopy/Matplotlib tools as well as some Python code to create VTU files and styled on Paraview.

Read More

Basic Example of Saline Intrusion Modeling with SEAWAT and Flopy - Tutorial

SEAWAT is a model developed by the USGS for the simulation of three-dimensional variable density groundwater flow with solute and heat transport. The software is based on MODFLOW-2000 and MT3DMS and on its latest version it can simulate viscosity variations and provide faster execution times. SEAWAT is implemented on Flopy, the Python library to build, run and represent MODFLOW models. This tutorial has the complete workflow to create and represent a basic example of saline instrusion with SEAWAT and Flopy on a Jupyter Notebook.

Read More

Determination of Flow Direction Vectors from a MODFLOW Model with Python and Flopy - Tutorial

Groundwater flow direction representation is useful to understand the actual and predicted conditions of the groundwater flow regime. The arrow direction and magnitude give a quick perspective of the main groundwater flow directions and the interconexion between sources and discharge points. This tutorial show the complete workflow to determine the flow directions from a MODFLOW model done with Model Muse. The scripting insert a background image, georeference the model from parameters exported as comments, and export the resulting figure as a PNG file. The tutorial is done in Python 3 on a Jupyter Notebook.

Read More