Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Integration tests

This readme is automatically generated by the coastlines.validation.py script; edits should be made to the validation_cli function located here.

This directory contains integration tests that are run to verify that the entire Coastlines code runs correctly. The test_coastline.py file runs a simple Coastlines analysis over a single beach (Narrabeen Beach in northern Sydney), using the DEA Coastlines Command Line Interface (CLI) tools to run the raster, vector, continental layers and validation analysis steps.

Validation

In addition to testing whether the code runs without errors, we also run a small-scale validation of the results of the integration tests by comparing them to validation data from the Narrabeen-Collaroy Beach Survey Program. The ensures that the code both works, and generates sensible results.

Note that this integration test validation is for a single site and a limited number of years; for a full validation of the DEA Coastlines product, refer to Bishop-Taylor et al. 2021.

Latest integration test validation results

The latest integration test completed at 2023-02-07 12:37. Compared to the previous run, it had an:

  • RMSE accuracy of 6.16 m (:heavy_check_mark: improved by 0.36)
  • MAE accuracy of 4.84 m (:heavy_check_mark: improved by 0.02)
  • Bias of -2.67 m (:heavy_check_mark: improved by 1.79)
  • Pearson correlation of 0.975 (:heavy_exclamation_mark: worsened by 0.01)