pr_fm_be: Formatting of Berkeley Earth Gridded temperature data

View source: R/pr_fm_be.R

pr_fm_beR Documentation

Formatting of Berkeley Earth Gridded temperature data

Description

Formatting of Berkeley Earth Gridded temperature data

Usage

pr_fm_be(
  path = tempdir(),
  year = 2011,
  offset = 264,
  extent = c(-126, -66, 23, 54),
  internal = TRUE
)

Arguments

path

a path to the gridded data, only average temperature data will be considered

year

year to process (requires year - 1 to be present)

offset

offset of the time series in DOY (default = 264, sept 21)

extent

geographic coordinates constraining the output, defined as bottom left, top right c(lon1, lat1, lon2, lat2) (default = c(-126, -66, 23, 54))

internal

return results as an R variable or save as an RDS file

Examples


## Not run: 
# run with default settings
# extracts values of the referenced publication
# see github README
be_data <- pr_fm_be()

## End(Not run)

khufkens/phenor documentation built on Aug. 31, 2023, 1:24 a.m.