transmission-layer-creator

Transmission LCP routing cost, friction, and barrier layer creator.

transmission-layer-creator [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

-v, --verbose

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

convert-pois

Convert points of interconnection (POI) to short lines. The transmission routing code requires all transmission elements to be lines. The POIs defined in the CSV will be converted to lines and labeled as substations. As all substations must be link to a transmission line, a synthetic transmission line is created that is linked to the POIs.

transmission-layer-creator convert-pois [OPTIONS]

Options

-p, --poi-file <poi_file>

Required File of POIs in CSV format. Each POI must have the following fields: “POI Name”, “State”, “Voltage (kV)”, “Lat”, and “Long”. “State” may be blank. Other fields are ignored.

-t, --template-raster <template_raster>

Required Raster to extract CRS from.

-o, --out-file <out_file>

Required Filename to use for POI lines GeoPackage file.

create-h5

Create a new H5 file to store layers in.

transmission-layer-creator create-h5 [OPTIONS]

Options

-t, --template-raster <template_raster>

Required Raster to extract CRS, transform, and shape from.

-e, --existing-h5-file <existing_h5_file>

Required Existing H5 file with correct shape and profile.

-n, --new-h5-file <new_h5_file>

Required Name of H5 file to create.

create-masks

Convert a vector land file to wet, dry, and all other masks.

transmission-layer-creator create-masks [OPTIONS]

Options

-l, --land-mask-vector <land_mask_vector>

Required GeoPackage or shapefile representing land.

-t, --template-raster <template_raster>

Required Raster to extract CRS, transform, and shape from.

-m, --masks-dir <masks_dir>

Directory to store mask GeoTIFFs in.

-d, --dont-reproject

Don’t reproject vector before creating masks.

from-config

Create costs, barriers, and frictions from a config file.

transmission-layer-creator from-config [OPTIONS]

Options

-c, --config <config_fpath>

Required Configuration JSON.

-i, --ignore-unknown-keys

Silently ignore unknown keys in config file.