-
Notifications
You must be signed in to change notification settings - Fork 11
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
When Running your code, I got this error as follows: #19
Comments
KOERI data are not available from IRIS. client: KOERI #enter all the clients separated by commas This should fix the issue. |
Dear Dr Cédric The question relating to the geographical region was asked before by my former student, Serdar helli. File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib\axes_axes.py", line 5747, in _pcolorargs TypeError: Dimensions of C (539, 1080) are incompatible with X (1081) and/or Y (540); see help(pcolormesh) thanks in advance for your reply |
When does this error occurs? |
as you see, 2022/10/01 17:17:22|INFO| Searching and downloading data for RF; KO-AFSR File "", line 1, in File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile File "I:/serdar/stadium.py", line 368, in File "I:/serdar/stadium.py", line 217, in main File "I:\serdar\rfsks_support\other_support.py", line 198, in select_to_download_events File "I:\serdar\rfsks_support\download_large_data.py", line 263, in download_data File "I:\serdar\rfsks_support\plotting_map.py", line 273, in events_map File "I:\serdar\rfsks_support\plotting_map.py", line 18, in plot_topo_simple File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\mpl_toolkits\basemap_init_.py", line 548, in with_transform File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\mpl_toolkits\basemap_init_.py", line 3457, in pcolormesh File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib_init_.py", line 1601, in inner File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib\axes_axes.py", line 6157, in pcolormesh File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib\axes_axes.py", line 5747, in _pcolorargs TypeError: Dimensions of C (539, 1080) are incompatible with X (1081) and/or Y (540); see help(pcolormesh) |
Interesting. When running on my machine it runs smoothly. |
I am not working on this project but I tried. Thank you for your time. |
The main differences I notice are that we tested this code on Linux and OS X with matplotlib==3.1.1, while you are using matplotlib==3.5.3 |
I installed matplotlib==3.1.1 after removing matplotlib==3.5.3. |
An easy way would be to disable the automated plots (by matplotlib).
Then plot the necessary images using customized scripts that should be easy to write. |
Traceback (most recent call last): File "", line 1, in File "C:\Users\gulten.polat\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile File "C:\Users\gulten.polat\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile File "I:/serdar/stadium.py", line 368, in File "I:/serdar/stadium.py", line 217, in main File "I:\serdar\rfsks_support\other_support.py", line 198, in select_to_download_events File "I:\serdar\rfsks_support\download_large_data.py", line 236, in download_data File "I:\serdar\rfsks_support\rfsks_extras.py", line 279, in multi_download File "I:\serdar\rfsks_support\rfsks_extras.py", line 228, in retrieve_waveform File "I:\serdar\rfsks_support\rfsks_extras.py", line 48, in filter_traces_rf File "I:\serdar\rfsks_support\rfsks_extras.py", line 21, in minendtime IndexError: list index out of range ??? I made these changes in stepwise.yaml. It worked until this error: |
In the settings , I changed
data_settings:
client: IRIS #enter all the clients separated by commas
network: "KOERI" #* for all stations
station: "" # for all stations
channel: BHZ,BHE,BHN #
locations: {"","00"} #List all locations, e.g "","00"
and
Define the geographical region
mnlong: 25 #minimum longitude
mxlong: 45 #maximum longitude
mnlat: 36 #minimum latitude
mxlat: 45 #maximum latitude
rf_data.get_stnxml(network=network, station=station)
File "C:\Users\pc\Desktop\stadium\STADIUM-Py-master\rfsks_support\download_large_data.py", line 82, in get_stnxml
inventory.write(self.inventoryfile, 'STATIONXML')
UnboundLocalError: local variable 'inventory' referenced before assignment
2022/09/27 18:22:44|INFO|
2022/09/27 18:22:44|INFO| Obtaining events catalog
2022/09/27 18:22:44|ERROR| No data available, exiting...
The text was updated successfully, but these errors were encountered: