gpm_download: Download IMERG v05B Final, Early and Late Run

Description Usage Arguments Details Author(s) Examples

View source: R/gpm_download.R

Description

Download IMERG v05B Final, Early and Late Run.

Usage

1
2
3
gpm_download(path, user, password, dates, product, band = 6,
  lonMin = -86, lonMax = -66, latMin = -19.25, latMax = 1.25,
  removeHDF5 = TRUE, quiet = TRUE, n = 1, s = 2600000)

Arguments

path

path (character). The default corresponds to the working directory, getwd(). Missing values will be ignored.

user

pmm user (character). See https://pmm.nasa.gov/data-access/downloads/gpm

password

pmm password (character). See https://pmm.nasa.gov/data-access/downloads/gpm

dates

sequences of days.

product

IMERG product (character). Currently are supported: 'finalrun', 'late' and 'early'.

band

The available bands are:
band "HQobservationTime" = 1.
band "HQprecipSource" = 2.
band "HQprecipitation" = 3.
band "IRkalmanFilterWeight" = 4.
band "IRprecipitation" = 5.
band "precipitationCal" = 6.
band "precipitationUncal" = 7.
band "probabilityLiquidPrecipitation" = 8.
band "randomError" = 9.

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 GEOTIFF

quiet

logical; suppress info of the download.

n

Specify maximum number of connections (axel parameter)

s

Specify maximum speed (bytes per second)

Details

You need to have installed "Axel download accelerator application" and GDAL. Obs: If you are using Windows, the executables of "GDAL" and "AXEL" must be set as system variables. For install axel try the following:

Ubuntu/Debian users: apt-get install axel
Windows users: gpm_getaxel()

The use of the "PPS" ftp to download GPM and TRMM data is free, but you first need register your email address in http://registration.pps.eosdis.nasa.gov/registration/. You can found more information about axel here:
https://github.com/axel-download-accelerator/axel/.

Author(s)

Cesar Aybar

Examples

1
2
3
4
5
6
7
8
## Not run: 
gpm_download(path = '.',
            user = 'you_user@gmail.com',
            password = 'you_user@gmail.com',
            dates = c('2018-01-01'),
            product = 'finalrun')

## End(Not run)

csaybar/gpm documentation built on Jan. 13, 2020, 2:37 a.m.