/sebal

Python code to run SEBAL method

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SEBAL model by means GRASS and PYTHON

DOI

Motivation

Now days it is noticed several occurrences about water shortage in agriculture, decreasing yield crops and profits. The irrigation system is a resource to aid the farmers to manage the system production to achieve a reasonable yield. Among several variables for a irrigation management, there are two of them with a major importance, the crop coefficient (kc) and Reference crop evapotranspiration (ETo) (Gondim et al., 2005).

In the last decades the remote sensing techniques has been used to identify landscapes, soil classes, and water energy balance as well, providing conditions to analyze data in a regional scale. By means orbital sensors and algorithms to convert digital numbers to reflectance and radiation flux, remotesensing methods to predict the evapotranspiration is a important tool to handle the hydrological cycle (Bernardo et al., 2006).

The SEBAL (Surface Energy Balance Algorithm for Land) uses the surface energy balance to predict some hydrological features (evapotranspiration, water deficit, etc) and Its main creator is Professor Wim G. M. Bastiaanssen (Bastiaanssen et al., 1998). That method has been validated under several conditions for different locations ((Bastiaanssen, 2000),(Bastiaanssen et al., 2002), (Santos et al., 2010)).

There are several available algorithms to evapotranspiration prediction ((Wolff, 2016), (Cavalcante et al., 2016), (Hessels et al., 2017)). However is missing a specific code to run on python 3 and GRASS 74. Thus we aimed to implement SEBAL model for Landsat 8 iamges using the language Python version 3 (Rossum, 1995) and GRASS version 7.4 (Neteler et al., 2012).

How to run

You can read the post on:

You can find the video:

Logs

Mon 2022-07-18 10:50:16 -04

  • The method to set GRASS GIS environment was changed, now in this script is not created a new `mapset`. In the script just is required to assign a existing `location` and `mapset`.
  • At line 92 was create a string variable `mdtrast_mapset`, it is to make easier the computation region assignement. It provides a condiotion to call MDTrast from any `mapset`.

Notes

  • Tested on Ubuntu 18.04 LTS
  • Tested on DEBIAN 11

References

Bastiaanssen, W.G.M., 2000. SEBAL-based sensible and latent heat fluxes in the irrigated Gediz Basin, Turkey. Journal of Hydrology 229, 87–100. https://doi.org/https://doi.org/10.1016/S0022-1694(99)00202-4

Bastiaanssen, W.G.M., Ahmad, M.-u.-D., Chemin, Y., 2002. Satellite surveillance of evaporative depletion across the Indus Basin. Water Resources Research 38, 9–1–9–9. https://doi.org/10.1029/2001WR000386

Bastiaanssen, W.G.M., Menenti, M., Feddes, R.A., Holtslag, A.A.M., 1998. A remote sensing surface energy balance algorithm for land (SEBAL). 1. Formulation. Journal of Hydrology 212-213, 198–212. https://doi.org/https://doi.org/10.1016/S0022-1694(98)00253-4

Bernardo, S., Soares, A.A., Mantovani, E.C., 2006. Manual de irrigação, 8th ed. UFV, Viçosa.

Cavalcante, L.B., Inácio, A. da S., Barros, H.G., Jiménez, Nicácio, R.M., Coelho, S.M.S. da C., 2016. Cálculo do saldo de radiação pelo algoritmo sebal na porção do baixo-médio São Francisco, Brasil, utilizando um software de código livre. Revista Brasileira de Cartografia 1515–1529.

Gondim, R., Teixeira, A.d.S., Barbosa, F., 2005. Novo paradigma para a água e coeficientes de cultivos aplicados à gestão de recursos hídricos em nível de bacia hidrográfica. Revista Item Irrigação e Tecnologia 14–18.

Hessels, T., Opstal, J. van, Trambauer, P., Bastiaanssen, W., Smiej, M.F., Mohamed, Y., Er-Raji, A., 2017. pySEBAL_3.3.8.

Neteler, M., Bowman, M.H., Landa, M., Metz, M., 2012. GRASS GIS: a multi-purpose Open Source GIS. Environmental Modelling & Software 31, 124–130. https://doi.org/10.1016/j.envsoft.2011.11.014

Rossum, G. van, 1995. Python tutorial (No. CS-R9526). Centrum voor Wiskunde en Informatica (CWI), Amsterdam.

Santos, T.V. dos, Fontana, D.C., Alves, R.C.M., 2010. Avaliação de fluxos de calor e evapotranspiração pelo modelo SEBAL com uso de dados do sensor ASTER. Pesquisa Agropecuária Brasileira 45, 488–496. https://doi.org/10.1590/S0100-204X2010000500008

Wolff, W., 2016. wwolff7/SEBAL_GRASS. https://doi.org/10.5281/zenodo.167350