polaris.Step.validate_baselines
- Step.validate_baselines()[source]
Compare variables between output files in this step and in the same step from a baseline run if one was provided.
Writes out either a
baseline_passed.logorbaseline_failed.logfile in the work directory depending on whether all variables passed the comparison. The maximum l1, l2 and l_infinity norm differences found for each variable are stored inself.baseline_diff_summaryand written tobaseline_diff_summary.jsonin the work directory so that they can be summarized by the suite runner.- Returns:
compared (bool) – Whether a baseline comparison was performed
success (bool) – Whether the outputs were successfully validated against a baseline