Developing geospatial webapps with Python and Django - Tutorial

There are many ways to display spatial data, from the traditional maps, GIS desktop software and most recently on the web. We face certain challenges to display spatial data on the web because we will require certain functionalities that we find on a desktop software and certain spatial analysis tools implemented as buttons. Django is a web framework written in Python that allows to create web applications with moderate simplicity and this framework is capable of displaying vector spatial data using libraries such as Folium.

We have created a tutorial with an applied case of displaying hydrological spatial information on a webapp in Django. The tutorial creates a Django project, creates an app for the spatial data representation, imports the vector data (geojson or shp) and displays spatial data with defined styles.

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.

 

How much does a groundwater model cost? And how long does it take?

Development of groundwater numerical models on a commercial scale has brought some issues regarding stakeholder participation, prediction quality and indelible price and time.

It might be that the question of how much a model can cost can be resolved as an equilibrium of how much are people willing to pay and how much the consultant is willing to receive. We will discuss some topics of this critical but not well explained topic in this article.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Modeling impermeable walls with MODFLOW 6 and HFB Package - Tutorial

Modeling the performance and effectiveness of flow barriers or impermeable walls on the groundwater flow regime is a challenge due to the wall geometry / orientation and discretization requirements. The package Horizontal Flow Barrier was designed to simulate barriers of defined thickness and conductances that are located in between flow cells, in this way the flow barrier is independent for the model discretization. This package is not new, it dates back to 1993, and it was implemented on many MODFLOW versions.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Hatarichem v2, the online tool to create Piper, Schoeller and Stiff Diagrams

We present our own webapp for the representation of the Piper Diagram, Stiff Diagram and Scholler Diagram. The webapp was developed in Python Django and it is entirely free for everyone. The main objective behind this webapp was to develop a user friendly and minimum requirement tool to create these water quality / hidrogeochemical diagrams. The video tutorial shows the complete procedure to update the working file and then generate the diagrams.

Read More

 

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.

 

Why is the "first great experience" so important to learn open software in water resources?

Software is a technology tool, and through the history of mankind, tools are most recent technology have changed our cognitive skills and developed our intelligence. Water resources specialists deal with numerical simulations of surface flow, groundwater flow, interaction with the environment and prediction of future impacts with an extensive use of software and computers. In our point of view, there is a need of professionals that can deal with many types of software and programming codes to develop comprehensive evaluations of the current and future conditions of the water resources.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Tutorial to create a geospatial Voronoi-sh mesh with Python, Scipy and Geopandas

Divide a continuous media as a hydrological / hydrogeological basin into discrete parts is an art. Cell size have to related to hydrological features, cell number have to be optimized to cover areas of interest with an adequate refinement while minimizing the total cell number. The computational process has be fast to allow user run multiple times to achieve a desired mesh.

We have done a tutorial that creates a Voronoi-sh mesh over shapefiles with several options for refinement and polygon relaxation, resulting polygons are clipped to the mesh boundary and exported as shapefile or geojson. The script was done with Python, Scipy, and Geopandas.

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.

 

Basic example of hydrological modeling at basin scale with HEC HMS 4.5

HEC HMS is a software developed by the US Corps of Engineers that implements a series of hydrological methods to represent different physical process of the water cycle. The tools and options of HEC HMS make it a very versatile and powerful software for the hydrological simulation of different escenarios as extreme events on arid regions, or water balances in wet climates.

This tutorial shows the complete procedure to set up and simulate the hydraulic response of a 8 hour storms over a 20 hour period, model results are intended to show maximum flows and flow development with time. The area of study is a andean basin that was divided on two sub-basins (high and low part), each one has their own storm precipitation data. The model consider the use of hydrological components as subbasin, reaches and sinks.

Read More

 

Suscribe to our online newsletter

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

 

Tutorial to run a simple model of OpenFOAM with Parafoam in Windows 10

The following tutorial shows the procedure to run an example model with the simple solver (steady-state for incompressible turbulent flow) from OpenFOAM in Windows 10. The tutorial covers also the steps to install Xming for the direct visualization of the model output with Paraview.

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.

 

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.

 

Tutorial of regional groundwater flow modeling with MODFLOW 6 and Model Muse 4

Modeling groundwater flow on a regional scale has its own challenges because a regional model itself deals with refinement requirements, larger baselines, higher differences in elevations, complex geologies and areas without observation data.

The applied model of this tutorial covers the Angascancha Reservoir basin groundwater flow model in Ayacucho, Peru. This example have been modeled in several courses, tutorials and webinars with Modflow 2005, Flopy and Model Muse, however, this is the first time we port the model (succesfully) to Modflow 6 and Model Muse 4.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Tutorial to install OpenDroneMap (ODM) in Windows 10

OpenDroneMap is such a great software for its capabilities to spatially process drone image and create a complete set of outputs as digital elevation model, point clouds, orthophotos and others. For regular users, the installation and the computational resources have allways been a challenge. This time we have develop a succesful procedure to install and run OpenDroneMap in Windows 10 by installing a Ubuntu 18.04 subsystem.

Read More
9 Comments

 

Suscribe to our online newsletter

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

 

8 Tutorials of Contaminant Transport Modeling in Modflow and MT3DMS / MT3D

Groundwater remediation is a challenge for stakeholders, scientists and population due to the limited baselines, high uncertainty, limited budgets and timeframes, and not so strong modeling capabilities of related professionals on a general scope (don’t take it personal). We might think about the success of groundwater remediation when we achieve a big group - more than a hundred per country - of geoscientists whit high skills on groundwater modeling distributed on the private sector, the regulatory sector and academia.

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 OpenFOAM 7 directly on Window 10 - Tutorial

OpenFoam is a great open source software for the numerical simulation of water, air, heat and any other physical fluid. Unfortunately OpenFOAM is Linux native and options to run it on Windows are limited with restrictions on tools, versions and available computational resources. With the latest developments on Windows 10 is is posible to install OpenFoam directly in Windows with something called a Windows Subsystem for Linux (WSL) and installing Ubuntu inside Windows.

This tutorial covers all the step required to install OpenFOAM in Windows 10 and its the base for coming modeling tutorials on OpenFOAM.

Read More
9 Comments

 

Suscribe to our online newsletter

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

 

Download clipped satellite imagery from USGS AppEEARS tutorial - Case land cover images

When working with satellite imagery we have to take into account the spatial and temporal scale. The selection and processing of remote sensing data products on a specific area over a certain period of time requires a great amount of time and computational resources. We have explored the web application AppEEARS from the USGS to download land cover images (MCD12Q1v006) over a specific area and time range. The tutorial covers all the steps from creating a polygon in QGIS3 as Geojson, upload into the webapp, the subsequent instructions to download the files, displaying the data in QGIS3 and review the pixel values correspondances.

Read More
Comment

 

Suscribe to our online newsletter

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

 

Groundwater modeling tutorial in MODFLOW 6 with regional flow, lakes, rives and piezometers

We have developed an applied groundwater modeling case on the mesoscale that covers the most relevant physical process that affect the underground flow regime. Numerical simulation was constructed on Modflow 6 and Model Muse 4 on steady state conditions with variable hydraulic conductivity with depth to represent interbedded low conductivity layers. The tutorial cover all the steps of model and boundary condition setup, working with spatial data, analysis of water balance and review of water levels on piezometers.

Note: This is a base case for a coming webinar in sensibility analysis with MODFLOW 6, Python and the Flopy and Salib libraries. More information of this event will be posted on our social networks.

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.

 

How to install Modflow 6 on Model Muse 4 - Tutorial

Great free and open groundwater flow modeling software are in constant development process, therefore year by year we have newer versions or even new software. This time we have uptated a basic and useful tutorial from 2016 to the new version of Modflow and Model Muse. The tutorial shows the complete procedure to download and install Model Muse 4 and configure Modflow 6.

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 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 record GPS position on a Postgresql database using a Raspberry Pi - Tutorial

Nowadays we can track GPS position with several devices as smartphones, wearables and handheld devices, but how can we store massive GPS positions on a effective way for later postprocessing, analysis and comparison with another device information. We have created a whole procedure enable the a GPS module as a serial device on a Raspberry Pi, then read the GPS information and sent it to a Postgresql database. The tutorial have several steps from the software installation, scripting to monitoring stored data.

Read More
6 Comments

 

Suscribe to our online newsletter

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

 

How to insert Piezometers (HOB) into a Regional Modflow 6 Model and plot Observed - Calculated Heads

This tutorial has the complete process to insert piezometers as a HOB package into a regional groundwater flow in Modflow6. Original location, surface elevation and screen elevation are in csv format that was converted to shapefile in order to be imported by Model Muse 4. The tutorial also covers a Python script to represent the plot of calculated-observed heads with the NRMSE value as a header.

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.