Skip to main content

Scripts to compute and analyse the RUSLE R-factor.

Project description

image

R-factor

The R-factor is a measure used in erosion and (overland) sediment modelling to quantify the effect of rainfall on soil erosion. It is typically defined in the context of the RUSLE equation, in which gross erosion for an agricultural parcel is estimated.

Specifically, the R-factor is a measure for the total erosivity of a number of rainfall events within a defined timeframe (year, month, number of days). The factor is computed by calculating the erosivity for every rainfall event in a timeseries, and taking the sum of the erosivity of all events in one year. These yearly values can be used to compute an average value, the R-factor, presenting the rainfall erosivity for a given period. An in-depth explanation of the formula's is given here <rfactor>.

The implemented formula's in this code are developed in a context of rainfall in Belgium (Verstraeten et al., 2006). Yet, the current Python implementation allows for an easy integration of alternative functions and relations. An in-depth analysis of the application of this code on Flanders can be found in in this report.

Note

In the earlier versions (<0.1.0) of the R-factor package, Matlab was used for the core computations. Since version 0.1.0, a faster Python implementation is provided. Using the version 0.0.x will provide other results compared to version >0.1.0, as explained in the package documentation.

Get started

This package makes use of Python (and a limited number of dependencies such as Pandas and Numpy). To install:

pip install rfactor

Make sure to check out the installation instructions and follow the example in the Get started section of the package documentation.

Rainfall and erosivity data

Any 10 minute ezqolurion input rainfall should work, but input rainfall data for the initial project were provided by the Flemish Environment Agency (VMM) and the Royal Meteorological Institute (RMI). The data from the Flemish Environment Agency (VMM) are available via waterinfo. The input rainfall data from the Royal Meteorological Institute (RMI) are not shared in this project. Please contact the RMI if you would like to obtain the a copy of the RMI rainfall input data.

The erosivity data calculated with the rainfall input data are provided by the partners of this project, and are used as test data for analysing the R-factor for Flanders.

Code

The open-source code can be found on GitHub.

Documentation

The documentation can be found on the R-factor documentation page.

License

This project is licensed under the GNU Lesser Public License v3.0, see LICENSE for more information.

Contact

For technical questions, we refer to the documentation. If you have a technical issue with running the model, or if you encounter a bug, please use the issue-tracker on github: https://github.com/watem-sedem/rfactor/issues

If you have questions about the history or concept of the model that are not answered in the documentation please contact KU Leuven via https://ees.kuleuven.be/en/geography/modelling/erosion/watem-sedem/contact.

Do you have questions about the application of R-factor in Flanders? Please contact 'Departement Omgeving' of the Government of Flanders on cn-ws@omgeving.vlaanderen.be

Powered by

image

image

image

image

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rfactor-0.1.3.tar.gz (506.6 kB view details)

Uploaded Source

Built Distribution

rfactor-0.1.3-py2.py3-none-any.whl (21.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rfactor-0.1.3.tar.gz.

File metadata

  • Download URL: rfactor-0.1.3.tar.gz
  • Upload date:
  • Size: 506.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rfactor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e319f39f8e7c4f16ecbc3216fa9c584769da94cb6b7857fb22198fbdeb7e9217
MD5 a8dfbff04987744bd2ec8d598cc59e92
BLAKE2b-256 dd79f4e3c0935c1b3279da1e2fc7c8fe0142670aec0ef06deed5a9ccb08f565f

See more details on using hashes here.

File details

Details for the file rfactor-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: rfactor-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rfactor-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8c6d87946dd8180d467a5fe2fc0539d5c7aa5d201757521e494b2fe900c1021
MD5 e09c4e90effe4604d3634b706bcc263a
BLAKE2b-256 61dbd7018fdcccef156c382c26ccbdf6d366681d48a6ed2ffc76fe68c6e3beda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page