Closed veenstrajelmer closed 1 week ago
dfmt.observations.uhslc_ssh_read_catalog()
engine="fiona"
fiona>=1.10.0
"JSONDecodeError: Extra data: line 1 column 2 (char 1)"
Wait until one of these issues is fixed and then update dfm_tools code and/or minimal versions to resolve the failing testcases:
FAILED tests/test_modelbuilder.py::test_cmems_nc_to_ini_midnight_centered - ModuleNotFoundError: No module named 'tests' FAILED tests/test_observations.py::test_ssh_catalog_subset_expected_fields[uhslc-fast] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1) FAILED tests/test_observations.py::test_ssh_catalog_subset_expected_fields[uhslc-rqds] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1) FAILED tests/test_observations.py::test_ssh_catalog_subset[uhslc-fast] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1) FAILED tests/test_observations.py::test_ssh_catalog_subset[uhslc-rqds] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1) FAILED tests/test_observations.py::test_ssh_retrieve_data[uhslc-fast] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1) FAILED tests/test_observations.py::test_ssh_retrieve_data[uhslc-rqds] - json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
The geojson was updated as suggested in https://github.com/Toblerity/Fiona/issues/1451#issuecomment-2366896427, so the tests pass again.
dfmt.observations.uhslc_ssh_read_catalog()
usesengine="fiona"
since pyogrio does not parse dicts properly as documented in https://github.com/geopandas/pyogrio/issues/445fiona>=1.10.0
raises"JSONDecodeError: Extra data: line 1 column 2 (char 1)"
as documented in https://github.com/Toblerity/Fiona/issues/1451.Wait until one of these issues is fixed and then update dfm_tools code and/or minimal versions to resolve the failing testcases: