ClimateFileProcessor
util.ClimateFileProcessor

This code is for converting an IPCC climate file into an ASC file for use as a layer in GARP. IPCC data is stored in a file which has data organized by months. This actor processes that data to return file(s) that are seasonal (fall, winter, summer, or spring) and/or annual The 'outputPeriod' parameter sets the season. Minimum, maximum, or average values can be placed in the output file. The type of values is set with the 'outputType' parameter If the 'baseOutputFileName' parameter is left empty, the resulting output file is placed in the same directory as the input IPCC file, with some text added to the filename to indicate its type and period. Otherwise, the text in 'baseOutputFileName' is assumed to be the base for the output file path (and text indicating type and period is added). This allows the output to be sent to arbitrary local locations. In any case, the resulting output is an ASC grid filename.

Author(s): Dan Higgins NCEAS UC Santa Barbara
Version:


input
The input port is given the file name of the IPCC data source for climate data.

output
The output port is an ASC grid filename.



outputType
A string determining the output 'type' which has a value of 'minimum', 'maximum', or 'average'. These types refer to the value selected over the outputPeriod parameter

outputPeriod
A string determining the output 'period' which has a value of annual, fall, winter, summer, or spring

baseOutputFileName
If the 'baseOutputFileName' parameter is left empty, the resulting output file is placed in the same directory as the input IPCC file, with some text added to the filename to indicate its type and period. Otherwise, the text in 'baseOutputFileName' is assumed to be the base for the output file path (and text indicating type and period is added). This allows the output to be sent to arbitrary local locations.