Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfinkens committed Oct 18, 2024
1 parent 1488664 commit 2458354
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,16 +601,17 @@ def fixture_dataset(self):
"covariance_spectral_response_function_vis": (("srf_size", "srf_size"), [[1, 2], [3, 4]]),
"channel_correlation_matrix_independent": (("channel", "channel"), [[1, 2], [3, 4]]),
"channel_correlation_matrix_structured": (("channel", "channel"), [[1, 2], [3, 4]]),
"time": (("y", "x"), [[time, fill_val], [time, time]],
{"_FillValue": fill_val, "add_offset": 0})
"time_ir_wv": (("y", "x"), [[time, fill_val], [time, time]],
{"_FillValue": fill_val, "add_offset": 0})
}
)

@pytest.fixture(name="dataset_exp")
def fixture_dataset_exp(self):
"""Get expected dataset after preprocessing.
- Time should have been converted to datetime64
- Timestamps should have been converted to datetime64
- Time dimension should have been renamed
- Duplicate dimensions should have been removed
- x/y coordinates should have been assigned
"""
Expand Down

0 comments on commit 2458354

Please sign in to comment.