reV.utilities.exceptions

Custom Exceptions and Errors for reV

Exceptions

CollectionRuntimeError

RuntimeError for collection handler.

CollectionValueError

ValueError for collection handler.

CollectionWarning

Warning during .h5 collection

ConfigError

Error for bad configuration inputs

ConfigWarning

Warning for unclear or default configuration inputs

DataShapeError

Error with mismatched data shapes.

EmptySupplyCurvePointError

Execution error for SAM simulations

ExclusionLayerError

Error with bad exclusion data

ExecutionError

Error for execution failure

ExtrapolationWarning

Warning for when value will be extrapolated

FileInputError

Error during input file checks.

FileInputWarning

Warning during input file checks.

HandlerKeyError

KeyError for Handlers

HandlerRuntimeError

RuntimeError for Handlers

HandlerValueError

ValueError for Handlers

HandlerWarning

Warning during .h5 handling

InputError

Error during input checks.

InputWarning

Warning for unclear or default configuration inputs

JSONError

Error reading json file.

MultiFileExclusionError

Error for bad multi file exclusion inputs.

NearestNeighborError

Execution error for bad nearest neighbor mapping results.

OffshoreWindInputError

Error for bad offshore wind inputs

OffshoreWindInputWarning

Warning for potentially dangerous offshore wind inputs

OutputWarning

Warning for suspect output files or data

ParallelExecutionWarning

Warning for parallel job execution.

PipelineError

Error for pipeline execution failure

ProjectPointsValueError

Error for bad ProjectPoints CLI values

PySAMVersionError

Version error for SAM installation

PySAMVersionWarning

Version warning for SAM installation

ResourceError

Error for poorly formatted resource.

SAMExecutionError

Execution error for SAM simulations

SAMExecutionWarning

Warning for problematic SAM execution

SAMInputError

Input error for SAM simulations

SAMInputWarning

Warning for bad SAM inputs

SlurmWarning

Warning for SLURM errors/warnings

SupplyCurveError

Execution error for SAM simulations

SupplyCurveInputError

Execution error for SAM simulations

WhileLoopPackingError

Error for stuck in while loop while packing

reVDeprecationWarning

Warning of deprecated feature.

reVError

Generic Error for reV

reVLossesValueError

Value Error for reV losses module.

reVLossesWarning

Warning for reV losses module.