castelao / CoTeDe

Quality Control of Oceanographic Data
https://cotede.readthedocs.io
BSD 3-Clause "New" or "Revised" License
48 stars 17 forks source link

WIP: notebook demo: xarray/netcdf/pandas #42

Closed jessicaaustin closed 3 years ago

jessicaaustin commented 4 years ago

I created this notebook to play around with the library and try to understand it. Cleaned up a bit, it might be useful as documentation.

I exported a subset of data from a mooring, and saved as both netcdf and csv files. I defined some custom global range tests (using dummy config for the tests), and ran against the netcdf loaded via xarray. That seemed to work fine. I also tried loading the data into a pandas dataframe and running using the same config, but I got an error. I'm not sure if that's due to the way I defined the tests or some other problem.

Ref: https://github.com/openjournals/joss-reviews/issues/2063

castelao commented 3 years ago

The issue was with the tests with differentiation. It was solved some time ago, and there are some validation tests and examples. If you want to retry this notebook, please re-open this PR.

Thank you, I do appreciate your time.