Skip to content

Permit https and url clients#1

Open
rumachan wants to merge 1 commit intojwellik:mainfrom
rumachan:url_client
Open

Permit https and url clients#1
rumachan wants to merge 1 commit intojwellik:mainfrom
rumachan:url_client

Conversation

@rumachan
Copy link

GeoNet in NZ uses a FDSN web service with the URL "https://service-nrt.geonet.org.nz" for our near real time data. The ObsPy shortcut "GEONET" only provides data older than 7 days. When I set client: "https://service-nrt.geonet.org.nz" in the configuration file there was an error because tsdata.py was not checking for a URL starting with https. In addition, FDSNClient was being fed server_string which had no protocol, so it produced an error.

  • Added https to list of FDSN protocols
  • Replaced server_string with datasource when calling FDSNClient

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

Successfully merging this pull request may close these issues.

1 participant

Comments