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

Time-sies and plots cannot eb seen, getting error #430

Open
SRoy07-bit opened this issue Dec 11, 2024 · 1 comment
Open

Time-sies and plots cannot eb seen, getting error #430

SRoy07-bit opened this issue Dec 11, 2024 · 1 comment

Comments

@SRoy07-bit
Copy link

Hello,
I was analysing a frame ID (006D_05509_131313) and then when i ran it, it showed the following and was not able to display the velocity or time-series:
Searching latest epoch for mli...
Traceback (most recent call last):
File "/home/psaha/Zagros_data/LiCSBAS/bin/LiCSBAS01_get_geotiff.py", line 499, in
sys.exit(main())
^^^^^^
File "/home/psaha/Zagros_data/LiCSBAS/bin/LiCSBAS01_get_geotiff.py", line 212, in main
response = requests.get(url)
^^^^^^^^^^^^^^^^^
File "/home/psaha/anaconda3/lib/python3.12/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/psaha/anaconda3/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/psaha/anaconda3/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/psaha/anaconda3/lib/python3.12/site-packages/requests/sessions.py", line 724, in send
history = [resp for resp in gen]
^^^
File "/home/psaha/anaconda3/lib/python3.12/site-packages/requests/sessions.py", line 191, in resolve_redirects
raise TooManyRedirects(
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
(base) psaha@psaha-ThinkPad-E460:/Zagros_data/006D_05509_131313$ LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5 &
[1] 9447
(base) psaha@psaha-ThinkPad-E460:
/Zagros_data/006D_05509_131313$
LiCSBAS_plot_ts.py ver1.13.4 20210910 Y. Morishita
LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5
Traceback (most recent call last):
File "/home/psaha/Zagros_data/LiCSBAS/bin/LiCSBAS_plot_ts.py", line 256, in
cmap = tools_lib.get_cmap(cmap_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/psaha/Zagros_data/LiCSBAS/LiCSBAS_lib/LiCSBAS_tools_lib.py", line 431, in get_cmap
plt.cm.register_cmap(name = cmap_name, cmap = _cmap)
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'matplotlib.cm' has no attribute 'register_cmap'

[1]+ Exit 1 LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5

Can you please help with this error and tell me why teh plots are not being displayed?

@yumorishita
Copy link
Owner

#244 (comment)

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

2 participants