krischer / instaseis

Instant high-frequency seismograms from an AxiSEM database
http://instaseis.net
Other
51 stars 23 forks source link

Include checks whether specified src-rec parameters are within loaded database #9

Closed pjkoelemeijer closed 8 years ago

pjkoelemeijer commented 9 years ago

When the specified source depth is outside the loaded database domain, the error is not very insightful: e.g. ValueError: Element not found

Consistency checks for source depth, and source-receiver distance may be useful, particularly when a local database (e.g. of restricted epicentral distance) is used.

krischer commented 8 years ago

Better late then never. The last couple of commits to the master fix this.