prominent-wind-dirs

Prominent Wind Directions Command Line Interface

prominent-wind-dirs [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

-n, --name <name>

Job name. Default is “ProminentWindDirs”.

Default:

'ProminentWindDirs'

-v, --verbose

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

from-config

Run prominent wind directions from a config.

prominent-wind-dirs from-config [OPTIONS]

Options

-c, --config <config>

Required Filepath to ProminentWindDirections config json file.

-v, --verbose

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

local

Compute prominent wind directions on local hardware

prominent-wind-dirs local [OPTIONS]

Options

-prh5, --powerrose_h5_fpath <powerrose_h5_fpath>

Required Filepath to .h5 file containing powerrose data

-excl, --excl_fpath <excl_fpath>

Required Filepath to exclusions h5 with techmap dataset.

-o, --out_dir <out_dir>

Required Directory to dump output files

-ad, --agg_dset <agg_dset>

Powerrose dataset to aggreate

Default:

'powerrose_100m'

-td, --tm_dset <tm_dset>

Dataset name in the techmap file containing the exclusions-to-resource mapping data,

Default:

'techmap_wtk'

-res, --resolution <resolution>

SC resolution, must be input in combination with gid. Prefered option is to use the row / col slices to define the SC point instead

Default:

128

-ea, --excl_area <excl_area>

Area of an exclusion cell (square km)

Default:

0.0081

-mw, --max_workers <max_workers>

Number of cores to run summary on. None is all available cpus

-spw, --sites_per_worker <sites_per_worker>

Number of SC points to process on each parallel worker

Default:

1000

-log, --log_dir <log_dir>

Directory to dump log files. Default is out_dir.

-v, --verbose

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

valid-config-keys

Echo the valid Prominent Wind Dirs config keys

prominent-wind-dirs valid-config-keys [OPTIONS]