nc_helper: Wrapper class for working with ncdf4 objects

Description Usage Arguments Slots Author(s)

Description

Easier I/O for .nc objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## S4 method for signature 'nc_helper'
initialize(.Object, ...)

## S4 method for signature 'nc_helper'
AddCoords(object, lon, lat, sample, overwrite = F)

## S4 method for signature 'nc_helper'
SetupDataFile(object, overwrite = F, backup = F)

## S4 method for signature 'nc_helper'
ManipulateDataFile(object, rename = NULL,
  move = NULL)

## S4 method for signature 'nc_helper'
FillArray(object, df, nc = NULL)

## S4 method for signature 'nc_helper'
PullDataFrame(object)

## S4 method for signature 'numeric'
CoordVecsToList(x, y = NULL)

## S4 method for signature 'data.frame'
CoordVecsToList(x, y = NULL)

## S4 method for signature 'list'
CoordVecsToList(x, y = NULL)

## S4 method for signature 'nc_helper'
AggregateByDimension(object, dim, FUN, ...)

CollateFiles(object)

AddFile(object, file)

UpdateTimeStamp(object)

## S4 method for signature 'character'
GetMeta(class, ...)

Arguments

object

Object of class 'remote'

class

Character-string of class to pass to getMethod

Slots

coords

List of length-2 numeric vectors specifying c(lon, lat)

file_name

nc filename where data is stored

sample

Numeric ID for each unique location

time

Numeric vector of years

time_units

Length-1 character describing time units

variables

Length-n character vector of variable names

timestamp

POSIXct w/ tz = GMT indicating last time object was modified

nc_dir

Collated data directory, will be created if nonexistant

raw_dir

Raw data directory

n_fill

Tally of how many lat/lon entries have been filled for each year

Author(s)

Brandon McNellis


bmcnellis/RSFIA documentation built on June 1, 2019, 7:40 a.m.