()
| 197 | |
| 198 | |
| 199 | def test_burst_id_attribute() -> None: |
| 200 | product_path = ( |
| 201 | DATA_FOLDER |
| 202 | / "S1A_IW_SLC__1SDH_20220414T102209_20220414T102236_042768_051AA4_E677.SAFE" |
| 203 | ) |
| 204 | |
| 205 | res = xr.open_dataset(product_path, engine="sentinel-1", group="IW1/HH") |
| 206 | assert "burst_ids" in res.attrs |
| 207 | assert len(res.attrs["burst_ids"]) == res.attrs["number_of_bursts"] |
| 208 | |
| 209 | product_path = ( |
| 210 | DATA_FOLDER |
| 211 | / "S1B_IW_SLC__1SDV_20210401T052622_20210401T052650_026269_032297_EFA4.SAFE" |
| 212 | ) |
| 213 | res = xr.open_dataset(product_path, engine="sentinel-1", group="IW1/VV") |
| 214 | assert "burst_ids" not in res.attrs |
| 215 | |
| 216 | |
| 217 | def test_open_calibration_dataset() -> None: |
nothing calls this directly
no test coverage detected