Git Product home page Git Product logo

soildataprep's Introduction

SoilDataPrep

Prepare soil parameterisation (e.g. for meso-scale hydrological modelling with WASA-SED), using the global datasets SoilGrids and Pelletier et al. (2016). Pedotransfer functions from other packages (ptf.rawls{soilwaterptf}, euptf{euptf}) are applied to calculate soil characteristics.

Pelletier, J.D. et al. 2016, A gridded global data set of soil, immobile regolith, and sedimentary deposit thicknesses for regional and global land surface modeling, Journal of Advances in Modeling Earth Systems, 8.

Installation


#install these libraries from CRAN, if you don't have them
library(sp)
library(raster)
library(rgdal)
library(rpart)
library(gWidgets)
library(gWidgetstcltk)
library(curl)
library(data.table)
library(panelaggregation)
library(devtools)
library("remotes")

#other libraries not on CRAN (for installation, see details in ```SoilDataPrep/example```)
library("euptf")
library("soiltexture")
library("soilwaterfun")
library("soilwaterptf")

#install SoilDataPrep package
  install_github(repo = "tillf/SoilDataPrep/SoilDataPrep")
  
library(SoilDataPrep)

Input

DEM and shapefile of the catchment

Example

An example workflow can be found in SoilDataPrep/example

soildataprep's People

Contributors

alban-doko avatar kindiebitew avatar sophiadobko avatar tillf avatar

Watchers

 avatar  avatar

soildataprep's Issues

Improvement docu: Legend of TAXNWRB values

Maybe, this could be added to the SoilDataPrep documentation - some meta data on the TAXNWRB soil classes:

SoilGrids IDs and classes:

  • Codes and names:

ftp://ftp.soilgrids.org/legends/TAXNWRB.qml
(explanation: SoilDataPrep creates a tif-map called "soils_catchment", with the most probable soil class; only values are assigned to each pixel. Here you can find, which value is which FAO soil class.)

  • Legend & short characteristic of soil types:

ftp://ftp.soilgrids.org/data/recent/SoilGrids250m_TAXNWRB_legend_June_2016.pdf

  • Index of all SoilGrids legends:

ftp://ftp.soilgrids.org/legends/

Explanation & paper on SoilGrids:

FAO legend & explanation of soil types:

New SoilGrids Release May 2020

The new SoilGrids release is not accessible anymore with SoilDataPrep.
(https://www.isric.org/explore/soilgrids)

Data access is now possible via:

Map projection seems to have changed to "Homolosine" which might require a reprojection for users' input maps DEM and subbasin-shapefile (previously given in WGS84 LatLon).

I did not yet check the layer names for changes. The new names are listed here:
https://files.isric.org/soilgrids/latest/data/

Also, Soil Organic Carbon has been calculated differently in the latest release.
(See: https://www.isric.org/explore/soilgrids/faq-soilgrids#What_happened_to_the_maps_of_soil_types
-> Are there differences between the soil organic carbon stocks in the latest and former versions of SoilGrids?)

Check layer depths

Check if the correct soilgrids layer depts ( #Thickness [mm] - set thickness of soil layers from those used in soilgrids
soil_means2$sl1thickness = 25
soil_means2$sl2thickness = 75
soil_means2$sl3thickness = 120
soil_means2$sl4thickness = 230
soil_means2$sl5thickness = 350
soil_means2$sl6thickness = 700
soil_means2$sl7thickness = 500
) are correctly exported. In one of Anne's parameterizations this was not the case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.