ajdawson / windspharm

A Python library for spherical harmonic computations on vector winds.
http://ajdawson.github.io/windspharm
MIT License
82 stars 38 forks source link

Tests for verifying metadata on result arrays #74

Open shoyer opened 8 years ago

shoyer commented 8 years ago

The current unit tests verify that input is properly handled and that the WindVector methods produce arrays with the numerically correct values, but -- as far as I can tell -- they don't verify that the metadata interfaces produce arrays with the appropriate metadata.

This would be useful -- I suspect that adding checks would possibly even turn up a few bugs.

ajdawson commented 8 years ago

I suspect so, please feel free to make a start on this.