get_filename: Get .nc filepath for data

Description Usage Arguments Value

View source: R/get_filename.R

Description

Get .nc filepath for data

Usage

1
2
3
4
5
6
get_filename(
  data = "ERA",
  specific = "historical",
  type = "PREC",
  year_range = c(2000, 2013)
)

Arguments

data

String containing data name, can be "ERA","Liu",or"CESM"

specific

which dataset to pull - just for CESM and Liu options include historical and rcp for CESM and historical and endOfCentury for Liu

type

Can be MAXT,MINT,PREC, defaults to PREC

year_range

for Liu-etal only: year range in 2000-2013, defaults whole range.

Value

Filepath (or string of filenames) to access .nc file of choosing


OSUCliMates/CliMates documentation built on July 5, 2020, 4:31 p.m.