encode_layers - CLI interface
Encode raster and / or vector layers into a site by layer matrix.
encode_layers [-h] [--config_file CONFIG_FILE] [--log_filename LOG_FILENAME] [--log_console]
[-r REPORT_FILENAME]
[--encode_method {biogeo,presence_absence,largest_class,mean_value}]
[--min_coverage MIN_COVERAGE] [--min_presence MIN_PRESENCE]
[--max_presence MAX_PRESENCE] [--layer [LAYER [LAYER ...]]]
[--layer_file_pattern LAYER_FILE_PATTERN]
grid_filename out_matrix_filename
encode_layers positional arguments
grid_filename
- File location of grid to use for site geometries. (default:None
)out_matrix_filename
- File location to write the encoded matrix. (default:None
)
encode_layers optional arguments
--config_file
CONFIG_FILE
- Path to configuration file. (default:None
)--log_filename
LOG_FILENAME
,-l
LOG_FILENAME
- A file location to write logging data. (default:None
)--log_console
- If provided, write log to console.-r
REPORT_FILENAME
,--report_filename
REPORT_FILENAME
- File location to write the wrangler report. (default:None
)--encode_method
ENCODE_METHOD
,-m
ENCODE_METHOD
- The method to use to encode each layer. (default:mean_value
)--min_coverage
MIN_COVERAGE
- Minimum percentage of a cell that has to be covered to encode it. (default:25
)--min_presence
MIN_PRESENCE
- Minimum value to be considered present when encoding presence absence. (default:10
)--max_presence
MAX_PRESENCE
- The maximum value that should be considered present. (default:127
)--layer
LAYER
- File location of layer [ LABEL [ ATTRIBUTE FIELD ]]. (default:None
)--layer_file_pattern
LAYER_FILE_PATTERN
- File pattern to one or more layers. (default:None
)