Modeling of mixing water / effluent with OpenFoam and HatariUtils - Tutorial

Modeling flow on open channels and simulating water mixing to evaluate the final concentrations and mixing area was a hard task with conventional open source software. Based on our research and app development we came up with a process to model flow of water and effluent mixing and then calculate the mass flux with the initial concentration of certain chemical components to have a fully 3d simulation of the concentration development with time and distance from source.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Journal of online sensor setup on a Raspberry Pi under the Istsos framework (SOS Standard)

We dont call this article a tutorial since not all steps of the sensor settings would be explained. It might be the idea of this article to show the general panorama of the sensor installation on a Raspberry Pi under the Istsos framework that implements the SOS standard.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Are hydrogeologists / numerical modelers forbidden from cloud services?

In the semantic space the forbidden word is related to refuse to allow, and thus can create a controversy with the freedom of hydrogeologist / numerical modelers to choose whichever tool that can make the work done or the simulation run. However we as specialists in one part of the dynamics of the subsurface are conscious that solutions can not and must not be evaluated by single criteria.

Read More
3 Comments

 

Suscribe to our online newsletter

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

 

Modeling Land Evolution at Basin Scale with Python and Landlab - Tutorial

Climate changes, people change and land also changes with time. We can`t believe that the river networks will remain the same over the next 1000 years or that mountains and depressions will have the same elevation in the next 10000 years. But changes are not related to huge time frames, they can occur in decades or years at lower rates as well. In order to evaluate those changes we need some formulation of the key components of land evolution: fluvial, hillslope and uplift. We have developed a tutorial with Python and the Landlab library to simulate the land evolution at basin scale for 100 thousand years; inputs come from geospatial rasters and output data is exported as Ascii raster files.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Two open geological modeling softwares that you should know about

For geologists, hydrogeologists, geostatistics, petroleum engineers, and other related professionals the choice for 3D geological modeling software was related to expensive and restrictive software that was in fact a “de facto” choice in several companies and institutions.

Although it is a choice of any company or professional to select the software anyone will use to model the geological units, a great gap subsides (using a geological term) on the use of this expensive software. If the software is expensive, how expensive will it be to get trained on this software? If few people have skills with certain software, how easy would it be to change to another software? How people can assess the quality of one software if they have no full capability on managing several softwares. As you have seen, restrictions on the licenses lead to these subsiding gaps, faults on quality, and an intrusion of professional ignorance.

Read More
1 Comment

 

Suscribe to our online newsletter

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

 

Is glTF an alternative to VTK for the representation of voronoi mesh Modflow6 models?

Representation of geospatial objects in 2D are well covered by the GIS software and standards where we have powerful tools and interchangeable spatial files, however when we work on 3D objects the universe of software and tools is like a jungle with a wide variety of issues. We will always consider 3D as the ultimate representation of an object using a computer, by sure the holograms and augmented reality can improve the way we interact with a object geometry, but since we are not in the common near future we will give much effort to the representation of these objects in our computer screens, tables and cellphones.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Which are the limitations of online learning for hydroinformatics?

Based on our experience in online learning for water resources based on open source that dates way before the Covid pandemia, we have seen some limitations of elearning as a framework to teach software for water resources.

Even though we can conceptualize elearning as something new, it is in fact a poor performance copy of the classroom environment on the computer. We simulate the whiteboard (we prefer chalkboard, less allergic), the teacher, the interventions, the assignments, the exams and everything else that is related to the normal classroom, even breaks and graduations. But this “Second Life” version of education has its limitations that have to be well assessed in order to define strategies to achieve the objective of education: bring new and better capabilities to water resources professionals.

Read More
Comment

 

Suscribe to our online newsletter

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

 

How to insert and read Observation Points (OBS6) in Modflow 6 with Model Muse and Flopy - Tutorial

Modflow 6 has a new approach in setting up observation points and it's essentially different to the previous versions. The OBS6 package works not only with heads and drawdowns but also with flows, so it's also possible to calibrate the model against baseflow or any other recorded flow from a boundary condition directly. We have created an applied case of the implementation of piezometers in a hillslope groundwater flow model in Modflow 6 and Model Muse. The tutorial covers all the steps related to the implementation of the observed points in Model Muse as well as the comparison among simulated and observed heads through scripts in Flopy.

Read More
3 Comments

 

Suscribe to our online newsletter

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

 

How to install Postgresql and Postgis in Windows 10 with WSL and Debian - Tutorial


The normal method to install Postgresql and Postgis requires the set up of several binaries and the workflow is usually on graphical user interfaces (GUI). We wanted to come with a way to install Postgresql and Postgis in Windows 10 while keeping the shell experience from Linux. This tutorial shows the procedure to install the database inside a Debian application (it could be Ubuntu as well) in Windows 10 that can actually be accessible from QGIS.


The normal method to install Postgresql and Postgis requires the set up of several binaries and the workflow is usually on graphical user interfaces (GUI). We wanted to come with a way to install Postgresql and Postgis in Windows 10 while keeping the shell experience from Linux. This tutorial shows the procedure to install the database inside a Debian application (it could be Ubuntu as well) in Windows 10 that can actually be accessible from QGIS.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Should groundwater models from environmental evaluations be done in open source software?

The topic of open source software and environmental assessments has some interesting associations. For example, if an investment project delivers a groundwater model in Xflow software, the environmental evaluator needs an Xflow license in order to open the model, review the simulations, and report on their observations. But what about civil society? or the communities that have an interest in knowing how the model is built or in the results of the predictive simulations, do these people also need an Xflow license? And what happens if another regulator wants to review the model, can they do so or they can only ask for a technical opinion?

Read More
Comment

 

Suscribe to our online newsletter

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

 

How to build a Postgis geodabatase with Python and Geoalchemy (with connection to QGIS3) - Tutorial

As a peruvian slang the word “chicha” means mixture, but a mixture of a high level of heterogeneity, something like doing a pizza with all the ingredients from your refrigerator. This time we have developed a tutorial with this “chicha” spirit since it combines a database, sql language, a virtualization engine, Python, a variant of SQL Alchemy, port forwarding and connection to QGIS in Windows. Certainly, we are not code developers by nature, but we are pretty happy to have achieved this level of complexity or mixture.

We have developed an applied tutorial for the implementation of a Postgresql database with Postgis enabled on a Docker image. Information about groundwater well locations have been inserted from a CSV file with Python and Geoalchemy and Docker ports have been forwarded and open to be accessible from QGIS in Windows.

Read More
Comment

 

Suscribe to our online newsletter

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

 

How to plot the azimuth and dip from a inclined bedding in QGIS 3 - Tutorial

QGIS has a wide range of options for the representation of vector data (point, line and polygon) but specific workflows have to be established to apply QGIS in different fields such as Geology. We found that there were few resources about how to plot geological features as bedding planes, faults, synclines and other and we have decided to do a series of tutorials showing those procedures on applied examples.

This time, we have developed a tutorial with the complete procedure to plot the azimuth and dip of bedding planes with QGIS. The tutorial imports a SVG marker that rotates according to a field value while the dip is presented as a label.

Read More
2 Comments

 

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 geospatial Raster from XY data with Python, Pandas and Rasterio - Tutorial

Another tutorial done under the concept of “geospatial python”. The tutorial shows the procedure to run a Scipy interpolation over a Pandas dataframe of point related data having a 2D Numpy array as an output. With some procedures of Rasterio the Numpy array was transformed into a monoband geospatial Tiff raster.

Read More
4 Comments

 

Suscribe to our online newsletter

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

 

Machine Learning Supported Groundwater Model Calibration with Modflow, Flopy, PySal and Scikit Learn - Tutorial

We have done a tutorial on a low-level-complexity model with rivers, lakes, recharge and regional groundwater flow done in Model Muse in a previous tutorial. The model was imported as an object in Python with Flopy. A sensibility analysis was done with SALib to assess the response for the object model groundwater flow to a different sample of parameters and a resulting set of parameters and corresponding heads (parameters -> heads) were recorded. Then a machine learning regression was performed with Scikit-Learn with the inverse set (heads->parameters) to get the predicted parameters for the observed data. Different error measurements were performed for two model cases to assess the overall quality of the neural network regressor.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Strategies for a hydrogeologist to develop advanced open source groundwater modeling software

There are some shining moments in live where a normal hydrogeologist decide to develop open source software for groundwater modeling and for every great task everyone needs an strategy.

You might need a plan to develop your hydrogeological career but you will certainly need an strategy to develop groundwater modeling software. We have to see a strategy as the optimization of steps towards a goal, from great strategists as Hannibal Barca against the Roman empire, we need to see the whole picture and then decide the best steps to take with the resource available.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Are hydrogeologist - numerical modelers limited without programming?

A great question came when we deal with numerical modeling in modern times or in the last 5 years, and that question is how much programming skills should a hydrogeologist - numerical modeler have? This question is above this one: Should a hydrogeologist - numerical modeler need to program in any language?

As a part of an socratic method attempt to answer this, we will split the question into some subquestions.

Read More
Comment

 

Suscribe to our online newsletter

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

 

How to install Python - Geopandas on Anaconda in Windows - Tutorial

Geopandas is an amazing library for spatial analysis since in combines the spatial tools from Shapely and Fiona with the versatily of Pandas Dataframes. Working with Geopandas in Windows was not exactly easy since there were some incompatibilities with the required packages. Here is a novel procedure to install successfully the Geopandas library when working with Anaconda in Windows.

Read More
29 Comments

 

Suscribe to our online newsletter

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

 

How to download Climate Change data from the World Bank Data API with Python

World Bank has a Climate Change Knowledge Portal with information, data and reports about climate change around the world. The portal has an Climate Data API as REST framework that can provide Precipitation and Temperature data on historic and modeled dataset from 15 global circulation models (CGMs) and 2 emissions scenarios at country and basin spatial scale. There is a Python package called wbpy that makes really easy the access to the Climate Data API by few lines of code. There are options to download data on monthly, annual and decade timescale as Python dictionary data type. This tutorial show the main parts of the API, the involved codes and a example of usage for historic and future data.

Read More

 

Suscribe to our online newsletter

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

 

Tree / Crop Counting and Classification with Python and Scikit-Image - Tutorial

Lately there has been a wide source of spatial photogrametry available for agriculture. Available submetric images can be found in Google Earth, and drone images can increase the ortophoto resolution to the order of centimeters. Most of this data gives us a new perspective of the spatial distribution and stage of the crops, however a real spatial analysis of crop metrics have not been widely performed due to limitations on the images and software involved. 

We tried to make this tutorial with the popular library OpenCV, however the installation process was tedious in Windows. Then we shifted to Scikit-Image, a image processing library in Python that comes already installed on the Anaconda software. The process for image analysis required intermediate Python and GIS skills, but most important a strong criteria of the algorithm inputs, options and results.

Read More

 

Suscribe to our online newsletter

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

 

Tutorial: Intake Channel Design with OpenFOAM and Salome

The design of hydraulic structures need the comprehension of water and structure interaction in terms of level, speed, sediment transport, among others. It is important for the hydraulic structure design to take into account the extreme events of flow, pressure and speed, therefore the computational fluid dynamics (CFD) modeling becomes essential in the design stage. OpenFOAM is an open source software for the simulation of flow in steady and transient states; this software allows us the simulation of the hydraulic response from an specific requirement in laminar and turbulent flow conditions, flow velocity calculation, and determination of static and dynamic pressures.

Read More

 

Suscribe to our online newsletter

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