IndexError: list index out of range
See original GitHub issueHi, I got ‘IndexError’ when I am trying to read most recent ATL08 data products using ‘load’ from icepys.
ds = reader.load()
File "C:\Users\xiongl21\Miniconda3\envs\icepyx-env\lib\site-packages\icepyx\core\read.py", line 443, in load
self._build_single_file_dataset(file, groups_list)
File "C:\Users\xiongl21\Miniconda3\envs\icepyx-env\lib\site-packages\icepyx\core\read.py", line 560, in _build_single_file_dataset
is2ds = Read._add_var_to_ds(
File "C:\Users\xiongl21\Miniconda3\envs\icepyx-env\lib\site-packages\icepyx\core\read.py", line 342, in _add_var_to_ds
grp_spec_vars = [
File "C:\Users\xiongl21\Miniconda3\envs\icepyx-env\lib\site-packages\icepyx\core\read.py", line 343, in <listcomp>
wanted_vars[i]
IndexError: list index out of range
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (14 by maintainers)
Top Results From Across the Web
List Index Out of Range – Python Error Message Solved
You'll get the Indexerror: list index out of range error when iterating through a list and trying to access an item that doesn't...
Read more >Indexerror: list Index Out of Range in Python - STechies
In python “list index out of range” error occurs when we try to access an undefined element from the list. List index out...
Read more >Index Error: list index out of range (Python) - Stack Overflow
Generally it means that you are providing an index for which a list element does not exist. E.g, if your list was [1,...
Read more >Python IndexError: List Index Out of Range [Easy Fix] - Finxter
The error “list index out of range” arises if you access invalid indices in your ...
Read more >How to fix - List Index Out of Range in Python - GeeksforGeeks
Reason of the error – The length of the list is 5 and if we are an iterating list on 6 then it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @JessicaS11 and @weiji14 ! Thanks for the instructions. I have just accepted the invite and will be going over the PR review.
@ricardobarroslourenco
That would be great - thanks for the offer and getting involved in this conversation. Check your email for an org invite.