Extracting geological faults and orientation representation in QGIS with GeoTrace - Tutorial

Image from earth surface are available from satellite images and unmanned aerial vehicules (UAV). Image resolution ranges from 10 meters on free available datasets as Sentinel2, less than 1 meter on commercial satellite imagery to 0.05m (or even less) from UAVs.

Scikit-image is a library for image processing in Python. Currently there are few QGIS plugins that run Scikit-image, we found one that extracts geological features as fractures and represent fault dip, dip direction, and strike in stereonets and rose diagrams. This tutorial show the procedure to install GeoTrace on QGIS 3 with its dependencies, runs a geological fault trace on a modified raster, calculate fault strike azimuths as a separate attribute field represent them as a strike rose.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to open HDF files on Sinusoidal Coordinate System in QGIS3 with PyQGIS - Tutorial

For a normal GIS user, QGIS 3 brings a lot of new tools, new forms to perform spatial analysis but also it doesn´t bring (yet) some options available in QGIS 2. This is the case for the representation of HDF raster files that is not available in QGIS 3 but it is available in QGIS 2. Research have been performed to address this issue and many options were evaluated to open the HDF files and perform a geotransformation from Sinusoidal Coordinate System to Geographical Coordinate System.

The solution came from the powerful gdal library and some core Python functions. This tutorial show the procedure to open a layer of a MOD13A2, a MODIS data product for vegetation evaluation and reproject it to geographical coordinate system (lat/lon).

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Land cover spectral signatures determination with QGIS 3 and Semi-Automatic Classification Plugin (SCP 6) - Tutorial

There are several satellites with different characteristics that acquire multispectral images of the surface of the earth. In this case, the Sentinel 2 images are particularly useful for the monitoring of land cover and can be provided free of charge from SCP.

In this tutorial we will perform the evaluation of spectral signatures using the Semi-automatic Classification complement in version 6, which is a free open source plugin for QGIS 3 that allows the supervised and unsupervised classification of remote sensing images.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to visualize water quality data in QGIS 3? From points to raster to contour lines - Tutorial

Spatial interpolation techniques used to evaluate estimations of physical and chemical constituents in areas where they are not estimated (Murphy et al., 2009). This tutorial will show how to interpolate data from point data to obtain a raster that covers the study area and, then, to obtain contour lines from the raster.

The Inverse Distance Weighted (IDW) method is one of the most used due to its simplicity. IDW expect that each point has a nearby impact that reduces with distance. It gives more weight to the points nearest to the forecast area. QGIS has the ability to perform this interpolation method by using data points and the result is displayed as a raster file.


Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to calculate the Root Mean Square Error (RMSE) of an interpolated pH raster?

The root mean square error (RMSE) has been used as a standard statistical parameter to measure model performance in several natural sciences. The parameter indicates the standard deviation of the residuals or how far the points are from the regression or modelled line. The following figure shows the residuals as green arrows and its location between the point data and the regression line. 

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to create a boxplot to represent basin scale water constituents using Python - Tutorial

Python is an interpreted high-level programming language which allows performing several statistical procedures. This programming language is an excellent option to create box plots because of its simplicity and exceptional results. This tutorial explains how to download and use Python´s Jupyter Notebook to analyze water quality data in the form of boxplots.

Box plots show the distribution of a sample using the lower quartile (Q1), the median (m or Q2) and the upper quartile (Q3)--and the interquartile range (IQR = Q3-Q1), which covers the central 50% of the data. Quartiles are values that divide the data in quarters; the term refers to the value that falls in the line that divides each quarter. Therefore, Q1 is the highest value of the first 25% of the data, Q2 is the one of the 50% of the data and Q3, the one for the 75% of the data. Characterizing the data with quartiles is advantageous because they are insensitive to outliers and preserve information about the center and spread (Krzywinski & Altman 2014).

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

What is a Piper diagram for water chemistry analysis and how to create one?

In 1994, Arthur M. Piper, proposed an effective graphic procedure to segregate relevant analytical data to understand the sources of the dissolved constituents in water. This procedure was born under the statement that most natural waters contain cations and anions in chemical equilibrium. It is assumed that the most abundant cations are two “alkaline earths” calcium (Ca) and magnesium (Mg) and one “Alkali” sodium (Na). The most common anions are one “weak acid” bicarbonate (HCO3) and two “strong acids” sulphate (SO4) and chloride (Cl). Less common anion and cation-constituents are summed with the major three anions and cations as shown in the following table:

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Dynamic Simulation of Hillslope Landslide with openFoam - Tutorial

This tutorial shows the whole procedure to simulate a landslide of a hillslope from a initial condition of failure. The tutorial was done with the interFoam solver from openFoam on a non- Newtonian flow. The fluid has a variable kinematic viscosity (nu) based on the Bird-Carreau model. Failure scenario last only 6 seconds and results were recorded every 0.1 seconds. Final geometry and the landslide development were analyzed with paraView with predefined views (paraView states).

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Modeling and Analysis between 5 Newtonian Fluids in OpenFOAM - Tutorial

Computational fluid dynamics modeling with OpenFOAM could be challenging for water resources engineers since OpenFOAM models all types of fluids like water, air, heat and electromagnetism. On a normal hydrological software, it is implicit that the physical properties or the empiric formulation matches water on the liquid phase at temperatures around 20°C; however in a CDF program as OpenFOAM we have to define that the fluid we are working with is water and this increases the level of complexity on the model conceptualization and analysis.

But there is a interesting face of this complex fluid formulation in OpenFOAM: we can model any fluid, fluid type and turbulence condition; that means that we can model fluids like oil, alcohol, beer, or glycerine just with their property definition. In this tutorial we model and compare the behavior of 5 Newtonian fluids: beer, benzene, glycerine, olive oil and water. All fluids have been simulated on the same geometry and timeframe and all simulation output have been integrated in one paraView session for the comparative analysis of the fluid performance. Fluids were modeled with the interFOAM solver on turbulent conditions with the k-epsilon schema.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Floating Object Stability Modeling with OpenFOAM - Tutorial

This tutorial is about a floating object stability simulation from a water surface oscillation (wave). The model was done with the interFoam solver that is a solver for two incompressible fluids, on isotermic conditions using a volume of control (VOF) phase-fraction interface approach. Turbulence was conceptualized on the model with the kEpsilon turbulence model. Simulation was done for 4 seconds with outputs every 0.05 seconds and runs in almost 5 minutes on OpenFOAM for Windows, better computation times are expected when run on Linux with paralleling computing.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Electric Conductivity Analysis of a River Pathway using QGIS 3 and the Profile Tool Plugin

Electrical Conductivity (EC) has been used to analyze the content of dissolved salts in water. EC refers to the ability to transmit electricity (Ikeda et al. 1991). Pure water has low values of EC because the electricity is conducted by the ions in solution; therefore, the greater the concentration of ions in water, the greater the value of EC. This tutorial explains how to analyze the EC of a river using the Profile Tool plugin in QGIS 3.0.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to visualize time series in QGIS 3.0 with the Time Manager Plugin - Tutorial

Time series in hydrology can be analyzed to a) detect a trend due to another random hydrologic variable, b) develop and calibrate a model, c) predict future characteristics of a variable (Machiwal & Jha 2012). The application of time series analysis is diverse; for instance, it can be used to evaluate global trends of soil moisture (Dorigo et al. 2012), to analyze river discharges (Papa et al. 2012), to detect glacial lake outburst floods (Veh et al. 2018) or to detect rainfall patterns (Wang et al. 2016).

The visualization of the data variability over the time can be a useful tool to identify patterns or to compare the behavior of different samples. The use of software for Geographic Information Systems (GIS) allows to identify the location of the samples and to compile the information that the samples have. Open-source software like QGIS offers excellent tools to achieve this objective. This tutorial will explain how to use the Time Manager Plugin.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Modeling Effluent Disposal Mixing Zone into the Ocean with OpenFOAM - Tutorial

A right assessment of the effluent mixing zone would require a baseline of sea currents, discharge flows, seawater and effluent density, bathymetry, waves, infraestructure geometry and a tool that can analyse the interaction of the mentioned factors. OpenFOAM is a numerical model for Computational Fluid Dynamics (CFD) modeling capable of modeling fluids with complex geometries, conditions and requirements; with OpenFOAM one can model compressible/uncompressible, single phase / multiphase, flows that mix, non-newtonian flows, etc. OpenFOAM comes with build-in tools for model construction and visualization, and there is Salome Platform for advanced mesh generation.

This tutorial show the entire procedure for the simulation of a effluent of 40 l/s into the ocean that has a current of 0.05 m/s. The model is on transient conditions, model simulation were done under uniform discharge rates, the development of the mixing zone was analyzed with paraView tools and a water chemistry component was introduced into the simulation with some Python scripts. 

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Comparison of IMERG Precipitation with Station Information with QGIS, Python and Pandas - Tutorial

There are tools for temporal data analysis like Python, IPython and Jupyter; there are tools for spatial data analysis like QGIS. But, are there tools for spatio-temporal analysis? Unfortunately no, but there are good approaches to manage spatial data in Jupyter or to run IPython in QGIS3. These approaches aren't a complete ansqwe to the current demands of big data processing in few computational time with simple scripts, but by sure it will help to shape better solutions.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

OpenFOAM Model Local Mesh Refinement with Salome and Python3 - Tutorial

Discretization is the “art” of transforming a continuous media as nature into discrete parts; for numerical models the spatial and temporal discretization have become a key issue in assuring model efficiency, output precision and the overall quality of the modeling work. Flow models are constructed to represent an specific requirement on the surface water/ groundwater flow regime (local scale), however, the model has to represent first the overall flow regimen (global scale). On the general model areas, an efficient spatial discretization criteria rules to keep the mesh elements as big as possible, meanwhile, in the areas of interest the model should be discretized into the smallest parts.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Direct NASA IMERG precipitation images download in QGIS3 with Python

The new version of QGIS is QGIS3 and it runs with Python 3 which introduces some change on the interaction with webservers with package “requests”. For those that are new to the IMERG images, those are some kind of the new TRMM images with precipitation estimation from multiple passive microwave (PMW) sensors on various precipitation-relevant satellites starting in March 2014. The IMERG images have a pixel resolution of 0.1 degrees and a temporal scale of 30 minutes; on the current panorama of precipitation estimates based on satellite-gauge, the IMERG data product with the highest spatial and temporal resolution available over the last 4 years.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Massive Operations on Rasters with QGIS3 and Python - Tutorial

There are new available tools and resources to understand climate change, land use dynamics, water cycle and other parts of our physical environment. Many spatial data come on raster format and are available on web servers, those servers have a image register every year, every month, every day, hour, half hour or minute. If we want to assess a physical phenomena we have to be able to analyze large set of data.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Object / fluid interaction modelling with OpenFOAM - Submarine Case - Tutorial

This tutorial will apply OpenFOAM to simulate the flow effect on submerged object using the simpleFoam solver and the k-epsilon turbulence schema. The tutorial develops the case of a submarine model against a flow current; the velocity and pressure applied on the submarine will be analyzed on the model results and flow paths will be plotted to see the main patterns around the submarine. Model output visualization is performed on Paraview that allows the representation of velocity and pressure vectors over the submarine.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Energy Dissipator Modelling in Open Channels with OpenFOAM - Tutorial

This tutorial will demonstrate the modelling configuration to simulate a power dissipator in an open channel. The dissipator design is proposed on the Stormwater Drainage Manual from the Drainage Services Department of Hong Kong and  OpenFOAM will be used for the simulation with the interFoam solver since two immiscible and isothermal fluids are involved (water and air). The main variable of interest on the dissipator simulation is flow velocity to assess the efficiency of the dissipator.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to download and use the LocClim software to estimate climate - Tutorial

LocClim is a software developed by the Agrometeorology Group of the Food and Agriculture Organization of the United Nations. The software provides an estimate of climatic conditions at different location regardless of the availability of observations. This software is of great importance if you want to know the climatic conditions of certain location and you do not have available observation points. It is possible to modify the stations that provide the data, so you can control the accuracy of the estimates. This tutorial demonstrates how to download the New LocClim software, how to find a location and how to export the resulting data.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.