getRData: getRData

View source: R/getRData.R

getRDataR Documentation

getRData

Description

Prepares RAF netCDF data, in data.frame, with user interaction. Returns it and saves it as an .Rdata file.

Usage

getRData(subsetTime = FALSE, newFileName = FALSE)

Arguments

subsetTime

FALSE by default, which causes all available times to be returned. If this is TRUE, the user is asked for the time range.

newFileName

FALSE by default, in which case the default name and location are used to store the file (/Data/Work/FD.Rdata). If set TRUE, the user is asked for the new file name. The data.frame is returned as the value of the function in any case.

Details

For specified variables and time period, constructs a data.frame, saves it in Rdata format, and places it as a specified file. Also returns the data.frame as the value of the function.

Value

The constructed data.frame, which is also stored as a .RData-format file.

Author(s)

William Cooper


NCAR/Ranadu documentation built on Jan. 27, 2023, 1:09 a.m.