Package firetools :: Module TimeSeries
[hide private]
[frames] | no frames]

Module TimeSeries

source code

Time Series Functions

Functions [hide private]
 
Import(study, varname, infile='', lag='', invalues='')
Import a time series variable A time series variable is one that has only a temporal component and no spatial component.
source code
 
Extract(study, varname)
Extract a Time Series
source code
Function Details [hide private]

Import(study, varname, infile='', lag='', invalues='')

source code 
Import a time series variable
A time series variable is one that has only a temporal component and no spatial component. All points in the study will get the same value associated with the corresponding date. The input csv file must contain three unlabeled (no header) fields in the order startdate, enddate, value where startdate and enddate describe the period over which the value applies. No interpolation occurs so a sample interval must contain the entire time series interval to be included in it. Start and end dates need to match the study sample dates if they are of similar duration (ie annual precipitation)

Inputs
    varname     name of output variable
    infile      csv input file (fields=[start,end,value] no header) 
    lag         lag time (years) to sum the input time series over 

Extract(study, varname)

source code 

Extract a Time Series 
        
        MORE