question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

region.order_granules()

See original GitHub issue

region.order_granules() is returning the following error:

Traceback (most recent call last):

  File "C:\Users\shara\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3441, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "C:\Users\shara\AppData\Local\Temp/ipykernel_18140/1626716426.py", line 1, in <module>
    print_hli('East Himalaya','2020-01-01')

  File "C:\Users\shara\AppData\Local\Temp/ipykernel_18140/2156725338.py", line 15, in print_hli
    get_data('C:/Users/shara/ISDAT/'+region+'/shapefile/'+region+'.shp',date_range,path)

  File "C:\Users\shara\AppData\Local\Temp/ipykernel_18140/450032445.py", line 30, in get_data
    region.order_granules()

  File "C:\Users\shara\anaconda3\lib\site-packages\icepyx\core\query.py", line 828, in order_granules
    self._granules.place_order(

  File "C:\Users\shara\anaconda3\lib\site-packages\icepyx\core\granules.py", line 287, in place_order
    root = ET.fromstring(request.content)

  File "C:\Users\shara\anaconda3\lib\xml\etree\ElementTree.py", line 1320, in XML
    parser.feed(text)

  File "<string>", line unknown
ParseError: syntax error: line 1, column 49

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Sharanb02commented, Jul 7, 2021

@Sharanb02 Excellent! I’m glad you were able to figure that out. Thanks for providing the links to your code and repo. Since you know your code best, the easiest and fastest way for me to help you is if you can provide a minimal working example (MWE) that replicates the error. If you could provide the specific inputs you are providing to region = ipd.Query('ATL06',bbox,date_range) (i.e., the values of bbox and date_range), then it will be easier for us to determine if the error is being caused by something within icepyx or, as you wondered, somewhere else in your code.

@JessicaS11, I actually tried to uninstall and reinstall icepyx. I got an error saying . python Could not find module 'D:\anaconda3\lib\site-packages\scipy\.libs\libbanded5x.EHDKC2XVYTQQ5MALRS6XN2CUSS6SRL6P.gfortran-win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax. It solved out after downgrading to tornado=6.0.4, and scikit-learn=0.23.2 and scypi=1.5.2.(Stack overflow 😛). It works now. @weiji14 and @JessicaS11 Thank you so much for patiently helping me sort it out. This is my first time exploring this amazing package, so kind of having a lot of errors. I’m closing this issue for now.

0reactions
JessicaS11commented, Jul 7, 2021

Thanks for keeping us updated, @Sharanb02, and I’m glad you were able to sort things out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proximity labeling identifies LOTUS domain proteins ... - eLife
A proximity labeling approach defines germ granule proteome in Caenorhabditis elegans, and identifies LOTUS domain proteins as key ...
Read more >
MergeTree | ClickHouse Docs
Use the ORDER BY tuple() syntax, if you do not need sorting. ... A granule is the smallest indivisible data set that ClickHouse...
Read more >
Organization of Cell Types (Section 1, Chapter 8 ...
The region of the neuron containing the nucleus is known as the cell body, ... Many lysosomes become degraded to lipofuscin granules, which...
Read more >
Multiple Choice Questions for Glaciers and Glaciation ...
Which of the following erosional features would you look for to assess whether an area had undergone glaciation? horns, aretes or cols hanging...
Read more >
Fine Structure of the Deinococcus radiodurans Nucleoid ...
We found that nucleoids of exponentially growing bacteria have diffuse coralline shapes and do not show a visible molecular order. Electron-dense granules are ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found