planetary-computer-sdk-for-python icon indicating copy to clipboard operation
planetary-computer-sdk-for-python copied to clipboard

Planetary Computer SDK for Python

Results 13 planetary-computer-sdk-for-python issues
Sort by recently updated
recently updated
newest added

Hello Team, While using `planetary_computer`, I saw the following deprecation warning during import: ```bash /usr/local/lib/python3.11/site-packages/pydantic/_internal/_config.py:291: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to...

I need to download ECMWF forecast data for the "oper" stream. My code is as follows: `import planetary_computer import pystac_client catalog = pystac_client.Client.open( "https://planetarycomputer.microsoft.com/api/stac/v1", modifier=planetary_computer.sign_inplace, ) search = catalog.search( collections=["ecmwf-forecast"],...

The `sign_url` function checks whether SAS token query parameters are present and, if present, returns the URL unaltered: https://github.com/microsoft/planetary-computer-sdk-for-python/blob/0c1d7849b9fb8eb270fcde15dcd7a0ca1df18cd3/planetary_computer/sas.py#L161-L164 Is it possible to allow this function to refresh the token...