Skip to content

Commit

Permalink
Fix var names
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Dec 21, 2023
1 parent 89b9b9a commit dda1fed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_intertidal.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ def test_dem_accuracy(
# Load modelled elevation and uncertainty data
modelled_da = load_reproject(
path=mod_path,
gbox=validation_ds.odc.geobox,
name="modelled_ds",
gbox=validation_da.odc.geobox,
resampling="average",
).band_data

# Preprocess and calculate accuracy statistics
validation_z, modelled_z = preprocess_validation(modelled_ds, validation_ds, None)
validation_z, modelled_z = preprocess_validation(modelled_da, validation_da, None)
accuracy_df = eval_metrics(x=validation_z, y=modelled_z, round=3)

# Assert accuracy is within tolerance
Expand Down

0 comments on commit dda1fed

Please sign in to comment.