reV.qa_qc.qa_qc.QaQcModule

class QaQcModule(module_name, config, out_root)[source]

Bases: object

Class to handle Module QA/QC

Parameters:

config (dict) – Dictionary with pre-extracted config input group.

Methods

Attributes

area_filter_kernel

Get the minimum area filter kernel name ('queen' or 'rook').

cmap

Get the QA/QC plot colormap

columns

Get the supply_curve columns to QA/QC

dsets

Get the reV_h5 dsets to QA/QC

excl_dict

Get the exclusions dictionary

excl_fpath

Get the source exclusions filepath

fpath

Get the reV module output filepath(s)

group

Get the reV_h5 group to QA/QC

lcoe

Get the supply_curve lcoe column to plot

min_area

Get the minimum area filter minimum area in km2.

plot_step

Get the QA/QC step between exclusion mask points to plot

plot_type

either 'plot' or 'plotly'

process_size

Get the reV_h5 process_size for QA/QC

sub_dir

QA/QC sub directory for this module's outputs

property fpath

Get the reV module output filepath(s)

Returns:

fpaths (str | list) – One or more filepaths output by current module being QA’d

property sub_dir

QA/QC sub directory for this module’s outputs

property plot_type

either ‘plot’ or ‘plotly’

Type:

Get the QA/QC plot type

property dsets

Get the reV_h5 dsets to QA/QC

property group

Get the reV_h5 group to QA/QC

property process_size

Get the reV_h5 process_size for QA/QC

property cmap

Get the QA/QC plot colormap

property plot_step

Get the QA/QC step between exclusion mask points to plot

property columns

Get the supply_curve columns to QA/QC

property lcoe

Get the supply_curve lcoe column to plot

property excl_fpath

Get the source exclusions filepath

property excl_dict

Get the exclusions dictionary

property area_filter_kernel

Get the minimum area filter kernel name (‘queen’ or ‘rook’).

property min_area

Get the minimum area filter minimum area in km2.