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

Module MapSeries

source code

Map Series

Functions [hide private]
 
Import(study, varname, inshape, datefield, datetype, statefield, extract=True, exporttable=False, addtsf=False, adddates=True)
Import a Map Series (such as vegetation maps) This function imports a map series.
source code
 
Extract(study, varname) source code
 
PrepMapSeries(study, varname, inshape, datefield, datetype, statefield, adddates=True) source code
 
PopulateIntervals(datafile, sortexpr='')
Populate the point-events with PREVSTATE, PREVDATE
source code
 
AddFireAttributes(basegrid, addgrid, cellsize)
Add Time Since Fire to each map in a map series
source code
 
ExtractRasters(varname, datagrid, dates, cellsize) source code
Function Details [hide private]

Import(study, varname, inshape, datefield, datetype, statefield, extract=True, exporttable=False, addtsf=False, adddates=True)

source code 
Import a Map Series (such as vegetation maps)
    This function imports a map series. A map series in this sense 
    is a polygon shapefile that represents discrete observations of 
    a value or state made at a specific places and times. There are 
    two output variables created for each map series which represent 
    the next and previous state observed at each sample point and 
    date. they are named with respect the the input varname as Pname 
    and Nname corresponding to the previous and next observations of 
    a series called name. 
    
Inputs              
    varname         variable name for source data and output data
    inshape         input polygon shapefile
    datefield       name of date field
    datetype        format of date field ( YYYY | YYYYMMDD )
    statefield      name of the state (mapped quantity) field

Options
    adddates        add new unique dates to the study sample dates
    addtsf          compute the time since fire at that mapdate
    exporttable     export the variable specific data table