Blog Archives

2D MODPATH particle tracking animations with R and ImageMagick

December 14, 2012
By
2D MODPATH particle tracking animations with R and ImageMagick

The PMPATH particle tracking output, with a file format similar to the pathline output mode of MODPATH (see above), can be transformed easily into a GIF animation using R and ImageMagick (see below for a simple example).First of all, you...

Read more »

R and the SGeMS blockdata format

December 7, 2012
By
R and the SGeMS blockdata format

The popular geostatistical software SGeMS has some options for working with non-point support (block) data through the BGeost set of algorithms by Yongshe Liu (see his PhD thesis), and published in Liu and Journel (2009). A specific but ...

Read more »

Estimation of hydraulic conductivity and its uncertainty from grain-size data using GLUE and artificial neural networks.

June 13, 2012
By
Estimation of hydraulic conductivity and its uncertainty from grain-size data using GLUE and artificial neural networks.

AbstractVarious approaches exist to relate saturated hydraulic conductivity (Ks) to grain-size data. Most methods use a single grain-size parameter and hence omit the information encompassed by the entire grain-size distribution. This study compares two data-driven modelling methods—multiple linear regression and artificial neural networks—that use the entire grain-size distribution data as input for Ks prediction. Besides the predictive capacity of the methods,...

Read more »

Digitize linear and (semi-)log scale graphs with multiple point sets

June 5, 2012
By
Digitize linear and (semi-)log scale graphs with multiple point sets

Working on a paper, I ran into the problem of needing data from a graph that was not mine, and for which no underlying table was published. With today's software packages, it is however not very difficult to digitize a figure yourself. I remembered rea...

Read more »

Use R! – Part 2

May 9, 2012
By
Use R! – Part 2

Here is a follow-up of my first post about using R. For our yearly KU Leuven Geology PhD Seminar (08-09/05/2012), I quickly pasted this script together from several examples I had run into in the past, as well as some things that I have been doing myse...

Read more »

R and MODFLOW

January 15, 2012
By
R and MODFLOW

Here are some functions for reading and writing MODFLOW files from R. I hope to update this in the future!################################################################################### read.modflow.pval ############################################...

Read more »

R and the Geotechnical Exchange Format

December 24, 2011
By
R and the Geotechnical Exchange Format

Quite some time ago now, I wrote this function to read some *.gef files into R. "gef" stands for Geotechnical Exchange Format. Details on this data format can be found at http://www.geffiles.nl/, as well as several software tools. I had a long list of ...

Read more »

Use R!

July 7, 2011
By
Use R!

In short: R is a free intuitive programming language that is used by practitioners in a plethora of academic disciplines. Therefore, it is on the cutting edge, and expanding rapidly. It creates stunning visuals, works seamlessly together with LaTeX, has really good online documentation and the community is unparalleled. A week...

Read more »

R and the Geostatistical Software Library data format

June 9, 2011
By
R and the Geostatistical Software Library data format

The *.gslib file format originates from the Geostatistical Software Library, but is also used in the follow-up of that software, i.e. the Stanford Geostatistical Modelling Software (SGeMS). Since not all geostatistical algorithms are implemen...

Read more »