Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regression test for example tide prediction #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add regression test for example tide prediction #9

wants to merge 2 commits into from

Conversation

fawkesley
Copy link

This is a regression test to pin the behaviour of pytides doing a full
analysis for example_observations_2.csv

I have run this test based directly off sam-cox/pytides and off my whitespace changes and they pass on both.

Note that it depends on the new CsvObservations class and should be merged after #8

Paul M Furley added 2 commits June 13, 2014 10:28
The purpose of these classes is to make a convenient way to load observation
data (datetime, height) from a source such as CSV, and handle any
wrangling to ie numpy when required.

- `Observations` is an abstract-base-class defining a basic interface
  which all subclasses must adhere to.
- `CsvObservations` reads observations from an arbitrary-sized CSV with
  UTC dates. Note that it tries to avoid reading the file into memory.
- Tests for CsvObservations which capture its behaviour.

Included is an example data set from the NOAA with hourly observations
for the year of 2013.
This is a regression test to pin the behaviour of pytides doing a full
analysis for `example_observations_2.csv`

Note that it depends on the new `CsvObservations` class.
@fawkesley
Copy link
Author

Note that I've now rebased this off the new example_observations_2.csv introduced over in #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant