I use icepyx to download ICESat-2 data from NSIDC. When I ran the script this afternoon, it has been stuck on
"Your order status is still pending at NSIDC. Please continue waiting... this may take a few moments."
for about an hour now, maybe more. It has been awhile since I previously ran the script, although it has always seemed to work fine. Just wondering if there is an issue on the server side, or if I should be looking more code.
Thank you,
Ty
ICESat-2 download_granules(path) stuck on pending
Re: ICESat-2 download_granules(path) stuck on pending
So it seems my previous post was a bit in haste, as almost immediately after posting to the forum, the server changed from pending to processing and eventually everything downloaded just fine. One other question, typically I set
`spatial_extent = '/some/folder/with/a/shapefile/file.shp'`
but instead had to use `spatial_extent = [xmin, ymin, xmax, ymax]` to avoid the following error.
>>> region_a.order_vars.append(beam_list=['gt1l', 'gt1r', 'gt2l', 'gt2r', 'gt3l', 'gt3r'], var_list=['h_ph','lat_ph', 'lon_ph', 'signal_conf_ph'])
>>> region_a.download_granules(path)
Total number of data order requests is 1 for 77 granules.
Data request 1 of 1 is submitting to NSIDC
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/query.py", line 1129, in download_granules
self.order_granules(verbose=verbose, subset=subset, **kwargs)
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/query.py", line 1059, in order_granules
self._granules.place_order(
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/granules.py", line 375, in place_order
root = ET.fromstring(request.content)
File "/usr/lib/python3.10/xml/etree/ElementTree.py", line 1342, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49
It's no problem, as I still intersect the photons with the polygon, but was wondering if there is some reason, why I am getting this error.
Thanks!
Ty
`spatial_extent = '/some/folder/with/a/shapefile/file.shp'`
but instead had to use `spatial_extent = [xmin, ymin, xmax, ymax]` to avoid the following error.
>>> region_a.order_vars.append(beam_list=['gt1l', 'gt1r', 'gt2l', 'gt2r', 'gt3l', 'gt3r'], var_list=['h_ph','lat_ph', 'lon_ph', 'signal_conf_ph'])
>>> region_a.download_granules(path)
Total number of data order requests is 1 for 77 granules.
Data request 1 of 1 is submitting to NSIDC
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/query.py", line 1129, in download_granules
self.order_granules(verbose=verbose, subset=subset, **kwargs)
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/query.py", line 1059, in order_granules
self._granules.place_order(
File "/home/9nf/.local/lib/python3.10/site-packages/icepyx/core/granules.py", line 375, in place_order
root = ET.fromstring(request.content)
File "/usr/lib/python3.10/xml/etree/ElementTree.py", line 1342, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49
It's no problem, as I still intersect the photons with the polygon, but was wondering if there is some reason, why I am getting this error.
Thanks!
Ty
-
- User Services
- Posts: 12
- Joined: Tue Dec 07, 2021 11:49 am America/New_York
Re: ICESat-2 download_granules(path) stuck on pending
Hi Ty,
Nice to chat with you today. As I mentioned, but just to document here, I'm guessing your initial order was made during some scheduled maintenance downtime on Wednesday. Glad to hear your order went through eventually.
Kind regards,
Mikala
Nice to chat with you today. As I mentioned, but just to document here, I'm guessing your initial order was made during some scheduled maintenance downtime on Wednesday. Glad to hear your order went through eventually.
Kind regards,
Mikala
Re: ICESat-2 download_granules(path) stuck on pending
Yes, everything went well! Thanks so much Mikala