natcap.invest.coastal_blue_carbon.preprocessor

Coastal Blue Carbon Preprocessor.

natcap.invest.coastal_blue_carbon.preprocessor.execute(args)

Coastal Blue Carbon Preprocessor.

The preprocessor accepts a list of rasters and checks for cell-transitions across the rasters. The preprocessor outputs a CSV file representing a matrix of land cover transitions, each cell pre-filled with a string indicating whether carbon accumulates or is disturbed as a result of the transition, if a transition occurs.

Parameters
  • args['workspace_dir'] (string) – directory path to workspace

  • args['results_suffix'] (string) – append to outputs directory name if provided

  • args['lulc_lookup_table_path'] (string) – filepath of lulc lookup table

  • args['landcover_csv_path'] (string) – filepath to a CSV containing the year and filepath to snapshot rasters on disk. The years may be in any order, but must be unique.

Returns

None