(
product_path: esa_safe.PathType,
swath_pol: str,
)
| 112 | |
| 113 | @pytest.mark.parametrize("product_path,swath_pol", SENTINEL1_PRODUCTS) |
| 114 | def test_open_dataset_orbit( |
| 115 | product_path: esa_safe.PathType, |
| 116 | swath_pol: str, |
| 117 | ) -> None: |
| 118 | res = xr.open_dataset(product_path, engine="sentinel-1", group=f"{swath_pol}/orbit") |
| 119 | |
| 120 | assert isinstance(res, xr.Dataset) |
| 121 | assert set(res.sizes) == {"axis", "azimuth_time"} |
| 122 | assert set(res.variables) == {"azimuth_time", "axis", "velocity", "position"} |
| 123 | |
| 124 | |
| 125 | @pytest.mark.parametrize("product_path,swath_pol", SENTINEL1_PRODUCTS) |
nothing calls this directly
no test coverage detected