Conversation
From 2026-06-01, the Earthscope/IRIS FDSNEvent server will no longer operate. Therefore, update the default server to point to the USGS's https://earthquake.usgs.gov instead (short name `"NEIC"`). This is preferred over the ISC as a default as the USGS server response times are typically quicker. Note that the USGS server's default value for `starttime` is only 30 days before present, so update the default value for the `FDSNEvent` request created by `get_events` to 1800, in order to work around this, as this otherwise would be a change from the previous SeisRequests behaviour. Update tests to reflect the different catalogue used by default in NEIC requests.
Servers often return a `charset=utf-8` note in the `Content-Type` header after the actual content type, but this is harmless (and even helpful). Remove this part of the header before checking for compliant content types.
c2aadaa to
0e9ca7a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #31 +/- ##
==========================================
+ Coverage 89.98% 90.00% +0.01%
==========================================
Files 7 7
Lines 619 620 +1
==========================================
+ Hits 557 558 +1
Misses 62 62 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because Earthscope are removing their FDSNEvent service, change to
use a different default server (USGS).