Joel Fiddes bio photo

Joel Fiddes

Research and monitoring in mountain regions

Email Researchgate Google scholar LinkedIn Github Google photos Skype



Here are tools I use in my work, either authored by me, contributions to development or just a user. They are all available under opensource licensing, documented by publications and with nice open communities behind them.


R package for landscape clustering and land-surface modelling

  • preprocessing (landscape clustering, running LSM in parallel)
  • postprocessing (read output, mapping)
  • data analysis (specific variable postprocessing, e.g. drought indices)

TopoSUB is a R project for sampling the most important aspects of land surface heterogeneity through a lumped scheme, allowing for the application of numerical land surface models (LSMs), like e.g. GEOtop, over large areas in mountain regions or other heterogeneous environments (Fiddes et al. 2012). The project was initiated by Joel Fiddes, the source code is available via the toposub GitHub sitory.

A simplified example of multidimensional sampling used by TopoSUB. The heterogeneous subgrid is grouped into samples S1-5 according to three dimensions P1-3 which define the parameter space (3-D cube). Colour represents sample membership, shade of colour symbolises within sample variation with respect to P1-3. This method generalises to higher sample numbers, more highly resolved subgrids and higher orders of dimensionality.


Github Github (R-package)


Fiddes, J. & Gruber, S. 2012: TopoSUB: a tool for efficient large area numerical modelling in complex topography at sub-grid scales, Geoscientific Model Development, 5, 1245–1257,10.5194/gmd-5-1245-2012. Fiddes, J., Endrizzi, S., and Gruber, S.: Large-area land surface simulations in heterogeneous terrain driven by global data sets: application to mountain permafrost, The Cryosphere, 9, 411-426, doi:10.5194/tc-9-411-2015, 2015.


TopoSCALE is a downscaling tool for atmospheric (3D) model output in complex terrain. The method makes use of an interpolation of pressure-level data according to topographic height of the subgrid. An elevation and topography correction is used to downscale short-wave radiation. Long-wave radiation is downscaled by deriving a cloud-component of all-sky emissivity at grid level and using downscaled temperature and relative humidity fields to describe variability with elevation. Precipitation is downscaled with a simple non-linear lapse and optionally disaggregated using a climatology approach.

A schematic of the TopoSCALE method.




Fiddes, J. & Gruber, S. 2014: TopoSCALE v.1.0: downscaling gridded climate data in complex terrain, Geoscientific Model Development, 7, 387-405, doi:10.5194/gmd-7-387-2014. Fiddes, J., Endrizzi, S., and Gruber, S.: Large-area land surface simulations in heterogeneous terrain driven by global data sets: application to mountain permafrost, The Cryosphere, 9, 411-426, doi:10.5194/tc-9-411-2015, 2015.


GEOtop is a distributed model of the mass and energy balance of the hydrological cycle, which is applicable to simulations in continuum in small catchments. GEOtop deals with the effects of topography on the interaction between energy balance and hydrological cycle with peculiar solutions.


Documentation Github


Endrizzi, S., Gruber, S., Dall’Amico, M., and Rigon, R. 2014: GEOtop 2.0: simulating the combined energy and water balance at and below the land surface accounting for soil freezing, snow cover and terrain effects, Geosci. Model Dev., 7, 2831-2857, 10.5194/gmd-7-2831-2014


Open support platform for environmental research (OSPER) built around GSN that enables management and storage of online sensor data and metadata management.

Web platform Current snow depth and air temperature at the Weissfluhjoch, Davos, 2540m asl Current snow surface and air temperature at the Weissfluhjoch, Davos, 2540m asl


The MeteoIO library aims at making data access easy and safe for numerical simulations in environmental sciences requiring general meteorological data. MeteoIO’s main design goals are:

  • providing data format/protocol independent data access
  • providing safe and robust I/O
  • making I/O code as unobtrusive and simple as possible for the user
  • providing ready to use data to the user, which means transparent caching, filtering, resampling, spatial interpolation.
  • enabling unattended use from an IO point of view
  • offering high modularity


MeteoIO in Bavay, M. and Egger, T., “MeteoIO 2.4.2: a preprocessing library for meteorological data”, Geosci. Model Dev., 7, 3135-3151, doi:10.5194/gmd-7-3135-2014, 2014.




SNOWPACK is a multi-purpose snow and land-surface model, which focusses on a detailed description of the mass and energy exchange between the snow, the atmosphere and optionally with the vegetation cover and the soil. It also includes a detailed treatment of mass and energy fluxes within these media.




The basics

  • Linux
  • Bash scripting for making stuff run
  • Awk lightning fast data manipulation
  • R data analysis and geospatial functions
  • Various geospatial tools and libraries
  • Python for building stuff and pandas data tools
  • Sublime, less, joe editors
  • Sql (mysql/postgres) databases
  • Git/Github version control and repository
  • Jekyll / Markdown for docs and sites