We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55c582 commit b3bbbb6Copy full SHA for b3bbbb6
tests/data/satellite_ds.pickle renamed to tests/data/satellite_ds.nc
8.43 MB
tests/test_intertidal.py
@@ -6,6 +6,7 @@
6
import rioxarray
7
import numpy as np
8
import pandas as pd
9
+import xarray as xr
10
import seaborn as sns
11
from mdutils import Html
12
from mdutils.mdutils import MdUtils
@@ -23,12 +24,9 @@
23
24
@pytest.fixture()
25
def satellite_ds():
26
"""
- Loads a timeseries of satellite data from a .pickle file.
27
- TODO: Replace this with data loaded directly from datacube
28
- after adding access to prod database.
+ Loads a pre-generated timeseries of satellite data from NetCDF.
29
30
- with open("tests/data/satellite_ds.pickle", "rb") as handle:
31
- return pickle.load(handle)
+ return xr.open_dataset("tests/data/satellite_ds.pickle")
32
33
34
@pytest.mark.dependency()
0 commit comments