-
Notifications
You must be signed in to change notification settings - Fork 17
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
MNT: Cdflib update #991
MNT: Cdflib update #991
Changes from all commits
b32c417
e56286b
112aa7e
9fefce1
c66bdf3
d574419
748b254
25d8bf2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,7 @@ def test_l1a_data(request) -> xr.Dataset: | |
return dataset | ||
|
||
|
||
@pytest.mark.xfail(reason="Epoch variable data needs to monotonically increase") | ||
@pytest.mark.parametrize( | ||
"test_l1a_data, expected_logical_source", | ||
list(zip(TEST_PACKETS, EXPECTED_LOGICAL_SOURCE)), | ||
|
@@ -110,6 +111,7 @@ def test_l1a_cdf_filenames(test_l1a_data: xr.Dataset, expected_logical_source: s | |
assert dataset.attrs["Logical_source"] == expected_logical_source | ||
|
||
|
||
@pytest.mark.xfail(reason="Epoch variable data needs to monotonically increase") | ||
@pytest.mark.parametrize( | ||
"test_l1a_data, expected_shape", | ||
list(zip(TEST_PACKETS, EXPECTED_ARRAY_SHAPES)), | ||
|
@@ -167,6 +169,7 @@ def test_l1a_data_array_values(test_l1a_data: xr.Dataset, validation_data: Path) | |
) | ||
|
||
|
||
@pytest.mark.xfail(reason="Epoch variable data needs to monotonically increase") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. captured this work in #993 |
||
@pytest.mark.parametrize( | ||
"test_l1a_data, expected_num_variables", | ||
list(zip(TEST_PACKETS, EXPECTED_NUM_VARIABLES)), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import numpy as np | ||
import pytest | ||
|
||
from imap_processing.cdf.utils import write_cdf | ||
from imap_processing.hi.l1a import histogram as hist | ||
|
@@ -62,6 +63,9 @@ def test_app_nhk_decom(hi_l0_test_data_path): | |
assert cem_raw_cdf_filepath.name == "imap_hi_l1a_45sensor-hk_20100313_v001.cdf" | ||
|
||
|
||
@pytest.mark.skip( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. captured this work in #1009 |
||
reason="Need new test data with monotonically increasing epoch values" | ||
) | ||
def test_app_hist_decom(hi_l0_test_data_path): | ||
"""Test histogram (SCI_CNT) data""" | ||
bin_data_path = hi_l0_test_data_path / "20231030_H45_SCI_CNT.bin" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created new issue to capture this #992