Revision 7524ffcd9753a26a45d3f259ade1ad4cc298b40f authored by Jon Thielen on 28 August 2019, 13:03:18 UTC, committed by Jon Thielen on 21 September 2019, 00:09:56 UTC
There were *many* places in the code base where passing pint Quantities
to numpy functions was assumed to return a plain ndarray. This behavior
will no longer be the case after pint implements __array_function__ in
its next version, and so, this modifies usage to explicitly request
magnitude where it is assumed that quantities are stripped.

Also, makes some miscelaneous changes with regards to the split between
scalar and sequence quantity classes.

Updates test tolerances to account for changes to base
constants from pint v0.9 defaults to v0.10 defaults (except for
geopotential <-> height conversions which are problematic and resolved
elsewhere).

Finally, resolves issues with xarray v0.13.0 (no implicit casting to
ndarray or inplace argument anymore).
1 parent 43c1475
History
File Mode Size
.circleci
.github
ci
docs
examples
metpy
staticdata
talks
tutorials
.appveyor.yml -rw-r--r-- 1.9 KB
.codeclimate.yml -rw-r--r-- 657 bytes
.codecov.yml -rw-r--r-- 674 bytes
.coveragerc -rw-r--r-- 67 bytes
.gitattributes -rw-r--r-- 92 bytes
.gitignore -rw-r--r-- 232 bytes
.landscape.yml -rw-r--r-- 279 bytes
.lgtm.yml -rw-r--r-- 175 bytes
.mailmap -rw-r--r-- 960 bytes
.stickler.yml -rw-r--r-- 121 bytes
.travis.yml -rw-r--r-- 5.4 KB
AUTHORS.txt -rw-r--r-- 601 bytes
CITATION.txt l--------- 15 bytes
CLA.md -rw-r--r-- 11.7 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.2 KB
CONTRIBUTING.md -rw-r--r-- 14.8 KB
LICENSE -rw-r--r-- 1.5 KB
MANIFEST.in -rw-r--r-- 422 bytes
README l--------- 10 bytes
README.rst -rw-r--r-- 7.1 KB
SUPPORT.md -rw-r--r-- 1.1 KB
conftest.py -rw-r--r-- 1.1 KB
environment.yml -rw-r--r-- 691 bytes
setup.cfg -rw-r--r-- 1.8 KB
setup.py -rw-r--r-- 3.3 KB
versioneer.py -rw-r--r-- 67.0 KB

README.rst

back to top