We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests are failing because we expect STAC version 1.0.0 but are getting 1.1.0
FAILED tests/test_search.py::test_icesat2_search - AssertionError: assert '1.1.0' == '1.0.0'
Interestingly, the APIs are still returning v1.0.0 but it's pystac behind the scenes that does automatic version promotion: https://pystac.readthedocs.io/en/stable/concepts.html#stac-spec-version-support
pystac
import pystac item_url = 'https://planetarycomputer.microsoft.com/api/stac/v1/collections/cop-dem-glo-30/items/Copernicus_DSM_COG_10_N39_00_W109_00_DEM' item = pystac.read_file(item_url) item.to_dict() # "proj:epsg": 4326 -> 'proj:code': 'EPSG:4326' # "stac_version": "1.0.0" -> "stac_version": "1.1.0"
(the latest release of pystac last week sets 1.1 as the default) https://github.com/stac-utils/pystac/releases/tag/v1.12.0
The changes between 1.0 and 1.1 are detailed here https://github.com/radiantearth/stac-spec/releases/tag/v1.1.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tests are failing because we expect STAC version 1.0.0 but are getting 1.1.0
Interestingly, the APIs are still returning v1.0.0 but it's
pystac
behind the scenes that does automatic version promotion:https://pystac.readthedocs.io/en/stable/concepts.html#stac-spec-version-support
(the latest release of pystac last week sets 1.1 as the default)
https://github.com/stac-utils/pystac/releases/tag/v1.12.0
The changes between 1.0 and 1.1 are detailed here
https://github.com/radiantearth/stac-spec/releases/tag/v1.1.0
The text was updated successfully, but these errors were encountered: