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

Tests for variables with units #3654

Merged
merged 39 commits into from
Jan 15, 2020
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a342a36
add tests for variable by inheriting from VariableSubclassobjects
keewis Dec 27, 2019
c27cf4c
make sure the utility functions work with variables
keewis Dec 28, 2019
3a7f2a0
add additional tests for aggregation and numpy methods
keewis Dec 28, 2019
b0b1e2c
don't assume variables have a name attribute
keewis Dec 29, 2019
1893329
properly merge the used arguments
keewis Dec 29, 2019
4058039
properly attach to non-xarray objects
keewis Dec 29, 2019
6099585
add a test function for searchsorted and item
keewis Dec 29, 2019
a7b0f6a
add tests for missing value detection methods
keewis Dec 29, 2019
b9338ae
add tests for comparisons
keewis Dec 29, 2019
00169c5
don't try to check missing value behaviour for int arrays
keewis Dec 29, 2019
a37fada
xfail the compatible unit tests
keewis Dec 29, 2019
9081c36
use an additional check since identical is not sufficient right now
keewis Dec 29, 2019
41cb4d7
check for compatibility by comparing the dimensionality of units
keewis Dec 29, 2019
d2258af
add tests for fillna
keewis Dec 29, 2019
2f6e6df
add tests for isel
keewis Dec 29, 2019
df7ca9e
Merge branch 'master' into tests-for-variables-with-units
keewis Dec 30, 2019
69bc684
add tests for 1d math
keewis Dec 31, 2019
e81029b
add tests for broadcast_equals
keewis Jan 8, 2020
1302d12
add tests for masking
keewis Jan 8, 2020
59c9edc
add tests for squeeze
keewis Jan 8, 2020
bbb4105
add tests for coarsen, quantile, roll, round and shift
keewis Jan 8, 2020
a11885b
add tests for searchsorted
keewis Jan 8, 2020
6dba6bc
add tests for rolling_window
keewis Jan 8, 2020
d27cf80
add tests for transpose
keewis Jan 8, 2020
5dffc12
add tests for stack and unstack
keewis Jan 8, 2020
cbb8da3
add tests for set_dims
keewis Jan 8, 2020
e2faede
add tests for concat, copy and no_conflicts
keewis Jan 8, 2020
350214b
add tests for reduce
keewis Jan 8, 2020
e34a3aa
add tests for pad_with_fill_value
keewis Jan 8, 2020
48df9c5
all and any have been implemented by pint
keewis Jan 8, 2020
fa9a80b
remove a unnecessary call to np.array
keewis Jan 8, 2020
5771d4d
mark the unrelated failures as xfail
keewis Jan 9, 2020
6da9f4b
remove a debug print
keewis Jan 14, 2020
a30f787
document the need for force_ndarray
keewis Jan 14, 2020
61dff86
make is_compatible a little bit more robust
keewis Jan 15, 2020
f67c29e
clean up is_compatible
keewis Jan 15, 2020
b412d86
add docstrings explaining the use of the method and function classes
keewis Jan 15, 2020
5375c9d
put the unit comparisons into a function
keewis Jan 15, 2020
a852aef
actually squeeze the dimensions separately
keewis Jan 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading