Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Apr 11, 2024
1 parent 43eb8ad commit eae6efa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_intertidal.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def test_dem_accuracy(
)

# Preprocess and calculate accuracy statistics
validation_z, modelled_z = preprocess_validation(modelled_da, validation_da, None)
validation_z, modelled_z, _ = preprocess_validation(
validation_da, modelled_da, modelled_da, lat=-5, hat=5
)
accuracy_metrics = eval_metrics(x=validation_z, y=modelled_z, round=3)

# Assert accuracy is within tolerance
Expand Down Expand Up @@ -260,7 +262,7 @@ def test_validate_metadata():
[
"metadata/ga_s2ls_intertidal_cyear_3.odc-product.yaml",
"metadata/eo3_intertidal.odc-type.yaml",
"data/processed/ga_s2ls_intertidal_cyear_3/0-0-1/tes/ting/2021--P1Y/ga_s2ls_intertidal_cyear_3_testing_2021--P1Y_final.odc-metadata.yaml",
"data/processed/ga_s2ls_intertidal_cyear_3/0-0-1/tes/ting/2021--P1Y/ga_s2ls_intertidal_cyear_3_testing_2021--P1Y_final.odc-metadata.yaml",
"--thorough",
],
)
Expand Down

0 comments on commit eae6efa

Please sign in to comment.