Skip to contents

The function downloads the IMERG V07 - Final Run precipitation product, which provides research-quality, gridded global multi-satellite precipitation estimates with quasi-Lagrangian time interpolation, gauge data, and climatological adjustment.

Usage

IMERG_download_V07(
  path = ".",
  user,
  password,
  dates,
  band = "precipitation",
  lonMin = -86,
  lonMax = -66,
  latMin = -19.25,
  latMax = 1.25,
  removeHDF5 = TRUE,
  quiet = TRUE
)

Source

https://github.com/csaybar/gpm/

Arguments

path

path (character). Default is the working directory, getwd(). Missing values will be ignored.

user

Earthdata username (character). See EARTHDATA NASA page

password

Earthdata password (character). See EARTHDATA NASA page

dates

Single date to download, e.g., as.Date("2020-12-18")

band

The available bands (character) are:

  • band "precipitation"

  • band "precipitationQualityIndex"

  • band "probabilityLiquidPrecipitation"

  • band "randomError"

  • band "IRinfluence"

  • band "IRprecipitation"

  • band "MWobservationTime"

  • band "MWprecipitation"

  • band "MWprecipSource"

  • band "precipitationUncal"

lonMin

Minimum latitude of bounding box

lonMax

Maximum latitude of bounding box

latMin

Minimum longitude of bounding box

latMax

Maximum longitude of bounding box

removeHDF5

Remove HD5 files after the conversion to NetCDF

quiet

logical; suppress wget info during download.

Note

Modified by Ahmed Homoudi, January 2024.

Author

Cesar Aybar

Examples

if (FALSE) { # \dontrun{
IMERG_download_V07(
  user = "you_user@gmail.com",
  password = "you_user@gmail.com",
  dates = c("2018-01-01")
)
} # }