class documentation
class FDSNFetcher(BaseFetcher):
A fetcher based on FDSN server
Warning
If you want to obtain restricted data you will need to indicate a user and a password on the hostorclient. Another option is that you instantiate yourself an obspyclient and supply it to the FDSNFetcher. The current synthax to indicate the username and password is using
hostorclient = "http://YOUR_FDSN_HOST;YOUR_USER;YOUR_PASSWORD"
| Parameters | |
| hostorclient | The URL of the host to connect to. See the warning above if you need to supply a user and password. |
| allinone | Indicate that the whole request should be request as one request. |
| merge | Indicate that before returning the data to the Downloader the fetcher should merge the received traces. |
| bool | Indicate that before returning the data to the Downloader the fetcher should merge the received traces. |
| default | Indicate that before returning the data to the Downloader the fetcher should merge the received traces. |
| Method | work |
This is the main method of the FDSNFetcher. |
| Method | __init__ |
Undocumented |
| Instance Variable | _all |
Undocumented |
| Instance Variable | _fc |
Undocumented |
| Instance Variable | _merge |
Undocumented |
def work(self, key, items):
overrides
fetchtool.Downloader.BaseFetcher.workThis is the main method of the FDSNFetcher.
This is used by the Downloadeder. You should not call it yourself.