create_rare_species_model - CLI interface
Create a “rare species” model by intersecting the convex hull for a group of occurrences with the ecoregions those points fall within and then rasterizing the result.
create_rare_species_model [-h] [--config_file CONFIG_FILE] [--log_filename LOG_FILENAME]
[--log_console] [-r REPORT_FILENAME]
[--species_column SPECIES_COLUMN] [--x_column X_COLUMN]
[--y_column Y_COLUMN] [--burn_value BURN_VALUE]
[--nodata_value NODATA_VALUE]
[--output_format {auto,AAIGrid,GTiff}]
point_csv_filename ecoregions_filename model_raster_filename
create_rare_species_model positional arguments
point_csv_filename
- File location of an occurrence csv file. (default:None
)ecoregions_filename
- File location of ecoregions raster file. (default:None
)model_raster_filename
- File location to write the model raster file. (default:None
)
create_rare_species_model 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
)--species_column
SPECIES_COLUMN
,-sp
SPECIES_COLUMN
- CSV column for species or group name. (default:species_name
)--x_column
X_COLUMN
,-x
X_COLUMN
- CSV column containing x coordinate (ex. longitude). (default:x
)--y_column
Y_COLUMN
,-y
Y_COLUMN
- CSV column containing y coordinate (ex. latitude). (default:y
)--burn_value
BURN_VALUE
,-b
BURN_VALUE
- Raster burn value for model presence. (default:50
)--nodata_value
NODATA_VALUE
,-n
NODATA_VALUE
- Raster nodata value for model absence. (default:-9999
)--output_format
OUTPUT_FORMAT
,-of
OUTPUT_FORMAT
- The output format for the model raster.(AAIGrid -> Ascii Grid, GTiff -> GeoTiff, auto -> Choose by filename. (default:auto
)