zhangfengcdt opened a new issue, #2125:
URL: https://github.com/apache/sedona/issues/2125

   pystac-client can take in tuples but our STACReader will just return 0 items 
found. We should either support tuples or raise an error that requires users to 
feed in a list
   
   ## Steps to reproduce
   
   ```python
   t = ["2025-01-01", "2025-02-01"]
   
   items = client.search(
       collection_id="sentinel-2-c1-l2a",
       bbox=geometry.bounds,
       datetime=t,
       max_items=200,
       return_dataframe=False
   )
   len(list(items))  # Returns 24
   ```
   
   ```python
   t = ("2025-01-01", "2025-02-01")
   
   items = client.search(
       collection_id="sentinel-2-c1-l2a",
       bbox=geometry.bounds,
       datetime=t,
       max_items=200,
       return_dataframe=False
   )
   len(list(items))  # Returns 0
   ```
   
   P.S., BUG-1009
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to