MCPcopy Create free account
hub / github.com/bopen/xarray-sentinel / test_open_calibration_dataset

Function test_open_calibration_dataset

tests/test_30_xarray_backends.py:217–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215
216
217def test_open_calibration_dataset() -> None:
218 annotation_path = (
219 DATA_FOLDER
220 / "S1B_IW_SLC__1SDV_20210401T052622_20210401T052650_026269_032297_EFA4.SAFE"
221 )
222 res = xr.open_dataset(
223 annotation_path, engine="sentinel-1", group="IW1/VV/calibration"
224 )
225
226 assert isinstance(res, xr.Dataset)
227 assert set(res.sizes) == {"line", "pixel"}

Callers

nothing calls this directly

Calls 1

open_datasetMethod · 0.80

Tested by

no test coverage detected