# solarforecastarbiter.validation.quality_mapping.convert_mask_into_dataframe¶

solarforecastarbiter.validation.quality_mapping.convert_mask_into_dataframe(flag_series)[source]

Convert flag_series into a boolean DataFrame indicating which checks the flags represent.

Parameters: flag_series (pandas.Series) – Integer series of validated quality flags pandas.DataFrame – Columns are keys of BITMASK_DESCRIPTION_DICT and values are booleans indicating if the input flag corresponds to the given check. An additional column, NOT VALIDATED, indicates if the data has not been validated. Additional columns defined by DERIVED_MASKS are computed based on the results of the fundamental flags. Columns may vary depending the version of the quality flags in the series.