Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've recently had some problems with icepyx 1.3.0. #632

Open
liangyue2018 opened this issue Nov 19, 2024 · 1 comment
Open

I've recently had some problems with icepyx 1.3.0. #632

liangyue2018 opened this issue Nov 19, 2024 · 1 comment

Comments

@liangyue2018
Copy link

liangyue2018 commented Nov 19, 2024

region_a = ipx.Query('ATL09',[-55, 68, -48, 71],['2019-02-22','2019-02-28'],
                           start_time='00:00:00', end_time='23:59:59')
region_a.show_custom_options(dictview=True)

Here is the Traceback:

Traceback (most recent call last):

  File D:\anaconda3\envs\icepyx_env\Lib\site-packages\icepyx\core\query.py:871 in show_custom_options
    all(key in self._cust_options for key in keys)

  File D:\anaconda3\envs\icepyx_env\Lib\site-packages\icepyx\core\query.py:871 in <genexpr>
    all(key in self._cust_options for key in keys)

AttributeError: 'Query' object has no attribute '_cust_options'


During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File D:\anaconda3\envs\icepyx_env\Lib\site-packages\IPython\core\interactiveshell.py:3577 in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  Cell In[8], line 1
    region_a.show_custom_options(dictview=True)

  File D:\anaconda3\envs\icepyx_env\Lib\site-packages\icepyx\core\query.py:873 in show_custom_options
    self._cust_options = is2ref._get_custom_options(

  File D:\anaconda3\envs\icepyx_env\Lib\site-packages\icepyx\core\is2ref.py:106 in _get_custom_options
    root = ET.fromstring(response.content)

  File D:\anaconda3\envs\icepyx_env\Lib\xml\etree\ElementTree.py:1330 in XML
    parser.feed(text)

  File <string>
ParseError: syntax error: line 1, column 49
@liangyue2018
Copy link
Author

This error seemed uncertained, I have figured it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant