A set of functions designed to calculate the standardised precipitation and standardised precipitation evapotranspiration indices using NASA POWER data as described in Blain et al. (2023) <doi:10.2139/ssrn.4442843>. These indices are calculated using a reference data source. The functions verify if the indices' estimates meet the assumption of normality and how well NASA POWER estimates represent realworld data. Indices are calculated in a routine mode. Potential evapotranspiration amounts and the difference between rainfall and potential evapotranspiration are also calculated. The functions adopt a basic time scale that splits each month into four periods. Days 1 to 7, days 8 to 14, days 15 to 21, and days 22 to 28, 29, 30, or 31, where 'TS=4' corresponds to a 1month length moving window (calculated 4 times per month) and 'TS=48' corresponds to a 12month length moving window (calculated 4 times per month).
Package details 


Author  Gabriel Constantino Blain [aut, cre] (<https://orcid.org/0000000188327734>), Graciela R. Sobierajski [aut] (<https://orcid.org/0000000272119268>), Leticia L. Martins [aut] (<https://orcid.org/0000000202993005>), Adam H. Sparks [aut] (<https://orcid.org/0000000200618359>) 
Maintainer  Gabriel Constantino Blain <gabriel.blain@sp.gov.br> 
License  MIT + file LICENSE 
Version  1.0.0 
URL  https://github.com/gabrielblain/PowerSDI 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.