-
Notifications
You must be signed in to change notification settings - Fork 117
Download granule not working #720
Description
I am trying to run a simple Quickstart as instructed on this first page:
import icepyx as ipx query = ipx.Query( # Collection short name "ATL06", # Bounding box [-55, 68, -48, 71], # Time bounds ['2019-02-20','2019-02-28'], ) query.download_granules('/tmp/icepyx')
However, I get the following Attribute error:
`AttributeError Traceback (most recent call last)
Cell In[1], line 10
1 import icepyx as ipx
2 query = ipx.Query(
3 # Collection short name
4 "ATL06",
(...) 8 ['2019-02-20','2019-02-28'],
9 )
---> 10 query.download_granules('/tmp/icepyx')
File [~/Github/icepyx/icepyx/core/query.py, in Query.download_granules(self, path, overwrite)
1022 if hasattr(self, "last_order") is None:
1023 raise ValueError("No order has been placed yet.")
-> 1024 status = self.last_order.status()
1025 if status["status"] == "running" or status["status"] == "accepted":
1026 print(
1027 (
1028 "Your harmony job status is still "
1029 f"{status['status']}. Please continue waiting... this may take a few moments."
1030 )
1031 )
AttributeError: 'Query' object has no attribute 'last_order'
I followed the installation instruction like this:mamba env create --name icepyx-env --channel conda-forge icepyx
mamba activate icepyx-env
mamba update icepyx
`
Current version installed is 2.0.0
I know there is message about harmony job status, but I do not know how to fix this?
If icepyx is not working for a while, do you have alternative suggestions to download icesat-2 data?