dry-cost-creator

Least Cost Xmission Cost Creator Command Line Interface

dry-cost-creator [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

-n, --name <name>

Job name.

Default:

CostCreator

-v, --verbose

Flag to turn on debug logging. Default is not verbose.

from-config

Run Least Cost Xmission Cost Creator from a config.

dry-cost-creator from-config [OPTIONS]

Options

-c, --config <config>

Required Filepath to AssemblyAreas config json file.

-v, --verbose

Flag to turn on debug logging. Default is not verbose.

local

Run Least Cost Xmission Cost Creator on local hardware

dry-cost-creator local [OPTIONS]

Options

-h5, --h5_fpath <h5_fpath>

Required H5 file to save costs to

-iso, --iso_regions <iso_regions>

Required File with raster of ISO regions.

-excl, --excl_h5 <excl_h5>

Path to exclusion .h5 file containing NLCD and slope layers, if None use h5_fpath if None assume NLCD and slope layers are in self._excl_h5

-ccfg, --cost_configs <cost_configs>

JSON file with cost configs

-slope, --slope_layer <slope_layer>

Name of slope layer in excl_h5

Default:

srtm_slope

-nlcd, --nlcd_layer <nlcd_layer>

Name of NLCD (land use) layer in excl_h5

Default:

usa_mrlc_nlcd2011

-dm, --default_mults <default_mults>

JSON of Multipliers for regions not specified in iso_mults_fpath

-tiff, --tiff_dir <tiff_dir>

Path to save costs and intermediary rasters as geotiffs

-lyrs, --extra_layers <extra_layers>

JSON with Extra layers to add to h5 file, for example dist_to_coast

-log, --log_dir <log_dir>

Directory to dump log files.

-v, --verbose

Flag to turn on debug logging. Default is not verbose.

valid-config-keys

Echo the valid Least Cost Xmission Cost Creator config keys

dry-cost-creator valid-config-keys [OPTIONS]