Replies: 3 comments
-
Hi @vdionicio,
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, changing the magnitude type to null it's working. Best regards, Viviana |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, changin the magnitude type to null it's working. Best regards, Viviana |
Beta Was this translation helpful? Give feedback.
-
Dear @nikosT,
I'm tried to run the example:
2. calculate MTs for all events found in datetime range (rest info retrieved from FDSNWS-event)
restrictions such as magnitude threshold, regions and more are set in the default
configuration file (./config.yaml)
./gisola.py --datetime-range 2020-01-01T00:00:00 2021-01-01T00:00:00
and the result is:
2022-02-18 16:34:20,571 INFO Connecting to FDSNWS-event host: http://eida.gein.noa.gr
2022-02-18 16:34:21,020 INFO Requesting event in timespan: 2020-01-01T00:00:00.000000Z - 2021-01-01T00:00:00.000000Z
2022-02-18 16:34:21,021 INFO Minimum Magnitude and type is set to: 4.0 and MLh respectively
2022-02-18 16:35:24,842 INFO Request would result in too much data. Denied by the datacenter. Split the request in smaller parts
Detailed response of server:
Error 413: Request Entity Too Large
The result set of your request exceeds the configured maximum number of objects (100000). Refine your request parameters.
Usage details are available from /fdsnws/event/1/
Request:
/fdsnws/event/1/query?starttime=2020-01-01T00%3A00%3A00.000000&endtime=2021-01-01T00%3A00%3A00.000000&minmagnitude=4.0&orderby=time-asc&magnitudetype=MLh&includeallorigins=true&includeallmagnitudes=true&includearrivals=true
Request Submitted:
2022-02-18T16:35:29.124115
Service Version:
1.2.2
Traceback (most recent call last):
File "/home/sgc-geo46333/Gisola-main/src/./gisola.py", line 155, in
cat+=event.getFDSNWSCatalog(_cfg, logger, minMag=minMag, starttime=UTCDateTime(start), endtime=UTCDateTime(end))
File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/site-packages/obspy/core/event/catalog.py", line 193, in iadd
raise TypeError
TypeError
When I tried with my own FDSNWS:
./gisola.py -d 2019-12-24T19:03:00 2019-12-25T19:04:00 -c ../test/config_mesetas_ojeda.yaml
the result is:
022-02-18 16:31:54,222 INFO Connecting to FDSNWS-event host: http://10.100.100.232:8091
2022-02-18 16:31:54,243 INFO Requesting event in timespan: 2019-12-24T19:03:00.000000Z - 2019-12-25T19:04:00.000000Z
2022-02-18 16:31:54,243 INFO Minimum Magnitude and type is set to: 4.0 and MLh respectively
2022-02-18 16:31:54,559 INFO No event is found...
Traceback (most recent call last):
File "/home/sgc-geo46333/Gisola-main/src/./gisola.py", line 155, in
cat+=event.getFDSNWSCatalog(_cfg, logger, minMag=minMag, starttime=UTCDateTime(start), endtime=UTCDateTime(end))
File "/home/sgc-geo46333/anaconda3/envs/gisola/lib/python3.9/site-packages/obspy/core/event/catalog.py", line 193, in iadd
raise TypeError
TypeError
Even though I know there is one event in that datetime range.
I hope you can give suggestions to solve the problem.
Thanks a lot.
Best wishes,
Viviana
Beta Was this translation helpful? Give feedback.
All reactions