ldeo-glaciology / XApRES_old

A package for collecting data from the British Antarctic Survey's Autonomous Phase-Sensitive Radar (ApRES) in Xarrays and processing it
MIT License
2 stars 1 forks source link

add tests #6

Closed jkingslake closed 1 year ago

jkingslake commented 1 year ago

I would like to add some simple tests to the repo for the purposes of continuous integration.

An example is in this notebook. It checks two ways of choosing which files to load.

Other ideas could include a test that loads a dat and computes the profile and checks that you accurately get some pre-computed value, like the mean of the power or something.

Then we would need to work out how to automate the process in github actions.

jkingslake commented 1 year ago

I have added a couple of tests in the new repo where we are working on this code. https://github.com/ldeo-glaciology/xapres_package

So no need to continue working on it here.