Skip to content
Snippets Groups Projects
Commit 99bd9397 authored by leufen1's avatar leufen1
Browse files

test for defaults updated

parent ac1e2562
No related branches found
No related tags found
8 merge requests!353add developments to release v1.5.0,!352Resolve "release v1.5.0",!351Lukas issue337 bug ci pipeline fails for docs,!350Resolve "upgrade code to TensorFlow V2",!342Include sample-uncertainty to wrf workflow,!341Resolve "Test Set Sample Uncertainty in PostProcessing",!337Resolve "Test Set Sample Uncertainty in PostProcessing",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #80960 failed
...@@ -62,10 +62,18 @@ class TestAllDefaults: ...@@ -62,10 +62,18 @@ class TestAllDefaults:
assert DEFAULT_HPC_LOGIN_LIST == ["ju", "hdfmll"] assert DEFAULT_HPC_LOGIN_LIST == ["ju", "hdfmll"]
def test_postprocessing_parameters(self): def test_postprocessing_parameters(self):
assert DEFAULT_EVALUATE_BOOTSTRAPS is True assert DEFAULT_DO_UNCERTAINTY_ESTIMATE is True
assert DEFAULT_CREATE_NEW_BOOTSTRAPS is False assert DEFAULT_UNCERTAINTY_ESTIMATE_BLOCK_LENGTH == "1m"
assert DEFAULT_NUMBER_OF_BOOTSTRAPS == 20 assert DEFAULT_UNCERTAINTY_ESTIMATE_EVALUATE_COMPETITORS is True
assert DEFAULT_UNCERTAINTY_ESTIMATE_N_BOOTS == 1000
assert DEFAULT_EVALUATE_FEATURE_IMPORTANCE is True
assert DEFAULT_FEATURE_IMPORTANCE_N_BOOTS is False
assert DEFAULT_FEATURE_IMPORTANCE_N_BOOTS == 20
assert DEFAULT_FEATURE_IMPORTANCE_BOOTSTRAP_TYPE == "singleinput"
assert DEFAULT_FEATURE_IMPORTANCE_BOOTSTRAP_METHOD == "shuffle"
assert DEFAULT_PLOT_LIST == ["PlotMonthlySummary", "PlotStationMap", "PlotClimatologicalSkillScore", assert DEFAULT_PLOT_LIST == ["PlotMonthlySummary", "PlotStationMap", "PlotClimatologicalSkillScore",
"PlotTimeSeries", "PlotCompetitiveSkillScore", "PlotBootstrapSkillScore", "PlotTimeSeries", "PlotCompetitiveSkillScore", "PlotBootstrapSkillScore",
"PlotConditionalQuantiles", "PlotAvailability", "PlotAvailabilityHistogram", "PlotConditionalQuantiles", "PlotAvailability", "PlotAvailabilityHistogram",
"PlotDataHistogram", "PlotPeriodogram"] "PlotDataHistogram", "PlotPeriodogram"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment