A new version of the FREEWAT plugin (v.1.1.1) for QGIS is now available for download!

Dear FREEWAT Users,

We wish to inform you that a new version of the FREEWAT plugin (v.1.1.1) is available since December the 4th 2018.

Besides fixing some minor bugs (thanks to Iacopo Borsi – TEA SISTEMI SpA) notified by the FREEWAT Users, this release includes:

  •  an enhancement of the Multi-Node Well package (MNW2) of MODFLOW (thanks to Giovanna De Filippis – Scuola Superiore Sant’Anna);

  •  two new packages for solute exchange with surface water bodies (e.g., rivers, lakes). This is now accomplished in FREEWAT through the integration of the Streamflow Transport (SFT) and Lake Transport (LKT) packages of MT3D-USGS (thanks to Giovanna De Filippis – Scuola Superiore Sant’Anna).

A list of the bugs fixed is available in the plugin folder.

Read More

2D Contaminant Transport Modeling with MODFLOW, MT3D-USGS and Flopy

Making hydrogeological models can take a long time, from construction, visualization of results and calibration. It is important to use tools that can optimize these tasks and allow the time saved to be used in the analysis of the system.

In this opportunity we will use Flopy to replicate a 2D transport model from a previous post. Flopy is a versatile set of Python scripts which can be used to run MODFLOW and MT3D, amongst other MODFLOW-related groundwater programs in a simple and efficient way. It will be seen how useful this tool is to automate the process of creating groundwater models since modifications of the boundary conditions can be done just by changing the text file.

In addition, MT3D-USGS will be used for the transport modelling. It is an updated release of the groundwater solute transport code MT3DMS, which has new transport modeling capabilities that provide a greater flexibility in the simulation of solute transport and reactive solute transport.

Read More

Setting Up Heterogeneities and Remediation Schemas for Contaminant Plumes with MODFLOW + MT3D

Aquifers can be porous, fractured or karstic. Due to the geological setup and processes related to the formation of the porous media, these acuifers can present a high degree of heterogeneity that affect/impact the groundwater flow patterns and contaminant transport and distribution.

Contaminant plumes for puntual/aerial sources interact with aquifer heterogeneities and anisotropies. Understanding and conceptualizing the distribution of the different hydrogeological units and their properties on the subsurface is a challenge for hydrogeologist, numerical modelers and remediation specalists.

Read More

Basic Example of Contaminant Plume Modeling with MT3D-USGS and Model Muse

MT3D-USGS is the one of the latest software for contaminant transport developed by the USGS. The initial release was on 2016 as a updated release of MT3DMS. The software has new capabilities for transport modeling coupled with the current MODFLOW packages, it can model unsaturated-zone transport, reactions and remediation schemas.

This transport modeling code is implemented in the pre and postprocessing software for groundwater modeling Model Muse, also developed by the USGS. This tutorial show a basic example of contaminant transport from a point source in a groundwater flow regime controlled by regional flow and discharge to ponds and rivers.

Read More

Spatial Manipulation of a Autocad DXF File with Python3 and GeoPandas - Tutorial

In GIS the objects are related to a spatial location. Usually there is no need to modify a location since spatial data comes from field work or other surveys. When we work with CAD files as DXF (Autocad Drawing Exchange Format) files, sometimes the spatial data is available as a layout view and not as a model view. The layout data is on local coordinates, and at specific scale therefore we need to scale and translate the spatial data to “return” it to its original spatial location and extension.

We tried to make this job with Inkscape and QGIS3, but we were unsuccessful to complete the scale and translation. While working with the DXF in Inkscape, each object selection, layer order combination, object ungrouping took several minutes and the results were poor. At the lowest motivational stage of this spatial request, we thought that it might me something in Python that can be useful for this.

On a internet search, we found that the spatial version of the Pandas data analysis library: Geopandas was capable not only to open the DXF files, but also to scale, translate, and filter spatial data according to specific criteria. Geopandas is capable to export spatial data in different formats and to plot data interactively on a Jupyter Notebook.

This tutorial shows the procedure to open a DXF file in Python pandas, perform scale and translation to place the spatial features on their original position, filter unwated objects on the layout view and export results to QGIS3 as shapefile.

Read More

How to georeference a Raster/Image in QGIS3 - Tutorial

Sometimes spatial information could only be found on paper or as an image, that is why the process of georeferencing the rasters/images is key for the extraction of spatial data from a document.

In QGIS3 the georeferencing process uses the GDAL library. The Georefencer option appears on the Raster dropdown menu in the main toolbar. Georeferencing process in QGIS3 is almost the same than in former QGIS versions. This tutorial shows the whole procedure to georeference a raster file in PNG format on QGIS 3.4 Madeira.

Read More
Smiley face

Subscribe to our free e-newsletter for tutorials, articles, webminars, courses and more.  

Groundwater Quality Analysis with QGIS3 Tutorial - Case Arsenic in California

Physical process on the surface and underground flow regime are spatially and temporal distributed, therefore the use of GIS software is key to understand the different patterns in groundwater flow and quality and the interaction with surface flow, geology and anthropogenic factors.

QGIS is a open geographical information system (GIS) software that brings a variety of tools for the thematic spatial representation of the groundwater quality components. This tutorial shows a whole exercise of data preparation, color based representation, ruled based representation of points above standars, spatial interpolation and contour representation.

Read More

Basic Example of Seawater Intrusion Modeling with MODFLOW, Model Muse and SWI2

Seawater intrusion is an issue in coastal aquifer management especially on arid environments. Overexplotation of groundwater resources by high production wells on intensive irrigation schemes could lead to an intrusion of saline water from sea and an impact to the quality of water sources.

Available options to assess the behaviour and impact of seawater intrusion are limited in both open source and commercial software; there is also a need of highly skilled groundwater modelers to understand the complex model setup and model output that can provide useful information about the groundwater flow regimen and the risks to water quality posed by seawater intrusion.

Seawater Intrusion Package 2 (SWI2) is a modeling software developed by the USGS and coupled on MODFLOW-2005. SWI2 allows three-dimensional variable-density groundwater flow and seawater intrusion in coastal aquifer systems. This tutorial deals with a basic example of the implementation of SWI2 on a MODFLOW model contructed on Model Muse. The tutorial show the whole procedure of model setup, datasets implementation, conceptualization of boundary conditions and result evaluation.

Read More

Modeling Coastal Aquifer in MODFLOW / ModelMuse and QGIS - Tutorial

Assessing the groundwater flow regime in coastal aquifers is a challenge for numerical modelers. In order to have a complete set of parameters and input data for a valuable numerical simulation we need to compile several hydrogeological studies, reconstruct datasets and proof the accuracy of hydraulic tests. Still some parameter would be missing but the experience and criteria of the groundwater modeler would achieve adequate simulations and predictions required by an adaptive sustainable groundwater resources management.

Read More

Basic Example of the River Package (RIV) in MODFLOW with Model Muse

Aquifer modeling requires understanding and expertise on the different boundary conditions available to represent the physical process related to the groundwater flow regime on determined spatial and temporal discretizations. MODFLOW has a set of boundary conditions of specified head, specified flux and mixed. There is a particular boundary condition created for the representation of the interaction between a river and the surrounding aquifer: the River Package (RIV). This tutorial show the implementation procedure of a River Package (RIV) on a regional model with a discussion on the model output and water balance.

Read More

Hydraulic Conductivity Interpolation in MODFLOW with ModelMuse - Tutorial

On a normal groundwater modeling workflow the hydraulic parameters, observed data and boundary conditions are preprocessed on a GIS software as QGIS, and then imported on a compatible format (vector or raster) into the modeling software. However, Model Muse has a set of different tools to process point, and tabular data into model parameters increasing the speed in the model construction and simulation. This tutorial show the procedure to interpolate hydraulic conductivity from a table into Modflow from a different set of interpolation methods in Model Muse.

Read More

How to smart download OpenStreetMap spatial data with QGIS3 and QuickOSM

OpenStreeMap (OSM) is a collaborative project to create a world spatial database. This project is motivated by the availability of map information around the world. The database is on continuous growth, it has more than 6.3 thousand million GPS points, around 5 million users and 1 million contributors.

The procedure to download spatial data from OSM has changed from previous QGIS version. Now in QGIS3 there are multiple options to download data from OSM; this tutorial show the installation, and operation of the QuickOSM plugin to perform smart access to the OSM database in QGIS.

QuickOSM works with the Overpass API that was developed to serve up custom selected parts of the OSM map data. This API is optimized for data consumers and it can allow the access millions of elements in some minutes with a specified search criteria (location, object type, tags, proximity or combinations of them).

Read More

Peruvian Pisco vs Chilean Pisco - A comparison from a groundwater modeler perspective

Hatarilabs is a blog for the knowledge diffusion on open source software in water resources with special focus on groundwater modeling and spatial analysis. However water resources specialists need to eat and to drink, therefore we wanted to give a more plural focus of our blog to cover more common topics for water resources specialist and geoscientists.

From a trip to Santiago de Chile we got a chilean pisco as a gift from a nice group of students from the University of Chile; that pisco was actually elaborated inside the university campus. In Lima we took the chance to compare it with a Pisco from the Tacna region. The comparison deals with the organoleptic (color, smell, taste) and fluid properties as viscosity.

Read More

Will the future of Water Resources Software run a Jupyter Notebook?

We are sure that in the future most of water resources software will be open source, but somehow there are doubts about the operating system, the platform and some requirements of these future software. It might be that concepts of this article are against the mainstream on the development of water resources evaluations, but we are talking about the future, a interesting stage in our concern for the sustainable management of water resources, and a stage with lots of uncertainties, challenges and trends.

Read More
Smiley face

Subscribe to our free e-newsletter for tutorials, articles, webminars, courses and more.  

Implementation issues of Open Source Software in Mining Water Management

A year ago I had the opportunity to talk about open source software for water resources to several mining professionals. I remenber that I gave the maximum of my communicational skills to describe the complete perpective of the available open source tools for water resources as well as specific applications on the mining industry. Based on my experience as teacher, along the conference development, I knew that there was a problem on the communication process; the language was right, the channel was okay, but it might be that the message was wrong. At the end of the presentation, there was no questions, not even a single commentary about an application of open source software in mining water management.

Read More
Smiley face

Subscribe to our free e-newsletter for tutorials, articles, webminars, courses and more.  

Overview of QuickMapServices Plugin for Basemaps in QGIS3 - Tutorial

QGIS 3 has a lot of new features and new tools for geoprocessing and spatial analysis, however there are some tools from QGIS 2 that hasn´t migrated yet. An example of this break was the OpenLayers plugin, one of the most popular and first plugins in QGIS 2 that is not available in the new version of QGIS.

OpenLayers plugin provide maps from Google, OSM and Bing in QGIS 2. Basemaps in QGIS 3 can be inserted as a XYZ Tiles on a process described on this tutorial. However, QuickMapServices plugin allow the search and implementation from a set of basemaps on different formats (TMS, WMS, WFS and GeoJSON) in QGIS 3.

Read More

Two-dimensional transport modeling in a radial flow field with MODFLOW and MT3DMS

MT3DMS, a three-dimensional transport model, will be used in this tutorial to simulate two-dimensional transport in a radial flow field. The example consists on a well which is injecting a solution in a constant rate of 100 m3/d with a contaminant concentration of 10 g/m3 (10 mg/l). This model will run for a total of 27 days.

The following tutorial will explain how the model was build and the conditions considered.

Read More

Tutorial for the installation of Freewat: the MODFLOW interface in QGIS

MODFLOW itself do take into account the spatial referenciation of the groundwater flow regime. Main MODFLOW output are water heads on the cell centre and flow in between cells, additional packages calculate solute transport, zone budgets or pathlines; however on the model construction and simulation it doesnt matter where the model is.

Read More

Dynamic Flood Simulation of Combined Peak Flows with HEC-RAS - Tutorial

Flood events come from periods of high precipitiation and favourable soil moisture conditions. Based on the basin topography, land cover and precipitation distribution, flood events can be conceptualized as the cummulative sum of a series of peak flows from different affluent rivers.

Flood management involve the prediction of river water elevation and velocitiy from extreme precipitation events. This tutorial shows the procedure to build a unsteady (dynamic) flow simulation of two peak flows with different hydrograms. The channel network configuration for the area of study consists of one main river and a affluent river. Peak flow in the main river is 10 hours ahead of the peak flow in the affluent river.

Read More

Basic Example of QGIS - HECRAS Geometry Construction and Flood Simulation

Flow simulation is an important task for engineering and disaster management. From the free softwares available for flow simulation, HEC-RAS is a strong alternative for its continuous development, the capability to simulate many flow types, and the interaction with other softwares like QGIS or MODFLOW.

QGIS is a free and open source software Geographical Information System (GIS) application. There is a environment of available plugins in QGIS that perform specific tasks of analysis, representation and preprocessing. There are QGIS plugins related to HEC-RAS, in this tutorial we will use the Q-RAS plugin to develop a basic example of flow model geometry construction in QGIS and steady flow simulation in HEC-RAS.

Read More