nikosT / Gisola

Gisola: A High Performance Computing application for real-time Moment Tensor inversion
GNU General Public License v3.0
44 stars 12 forks source link

Error running gisola with event and no waveform plot #31

Closed nikosT closed 2 years ago

nikosT commented 2 years ago

Discussed in https://github.com/nikosT/Gisola/discussions/30

Originally posted by **vdionicio** February 23, 2022 Dear @nikosT, I'm tring to run gisola with a particular event like this: ./gisola.py --event SGC2022dugzug -c ../test/config_sgc.yaml -l log_cron the program is running well but at the end it gave me this error: 2022-02-23 19:49:48,261 INFO Function 'calculateInversions' executed 290.32 seconds /home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/site-packages/obspy/io/quakeml/core.py:1109: UserWarning: 'smi:org.gfz-potsdam.de/geofon/RMHP(10)>>BW(4,1,5)' is not a valid QuakeML URI. It will be in the final file but note that the file will not be a valid QuakeML file. warnings.warn(msg % obj.id) 2022-02-23 19:49:51,872 INFO Function 'gatherResults' executed 3.61 seconds 2022-02-23 19:49:58,946 ERROR Fatal Error occurred multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) File "/home/sgc-geo46333/Gisola-main/src/plot.py", line 943, in caller func() File "/home/sgc-geo46333/Gisola-main/src/plot.py", line 430, in streams tr=config.st.select(station=sta, channel=cha)[0] File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/site-packages/obspy/core/stream.py", line 649, in __getitem__ return self.traces.__getitem__(index) IndexError: list index out of range """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sgc-geo46333/Gisola-main/src/./gisola.py", line 236, in plot.allplots() File "/home/sgc-geo46333/Gisola-main/src/config.py", line 181, in inner func(*args, **kwargs) File "/home/sgc-geo46333/Gisola-main/src/plot.py", line 958, in allplots res=p.map(caller, functions) File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/multiprocessing/pool.py", line 364, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/multiprocessing/pool.py", line 771, in get raise self._value IndexError: list index out of range 2022-02-23 19:49:58,947 INFO Moving to next event, if any When I open the list_all.html and get into the solution, I can not see the the waveforms image ![Captura de pantalla de 2022-02-23 15-12-59](https://user-images.githubusercontent.com/99366636/155400461-c9852c68-e98a-4bdb-a633-71849ff3c871.png) I hope you can give suggestions to solve the problem. Thanks a lot. Best wishes, Viviana
nikosT commented 2 years ago

The issue has been fixed at the latest Gisola release v.1.1.0.