Release v1.6
This release introduces several modifications to the config file.
You will need to upgrade your old config files manually or using
source_spec -U CONFIG_FILE_NAME
.
This release requires at least Python 3.6.
A lot of effort has been devoted to improve the documentation.
Please check it out on https://sourcespec.readthedocs.io/
Input/output
- QuakeML output (when using QuakeML input)
- Command line option
--run-id
to provide a string identifying the
current run (see pull request [#6]) - Write SourceSpec version to parfile
- Write SourceSpec version and run complete time to SQLite file
- Write author and agency info (if specified) to output files, figures and
HTML report - HTML page for misfit plots (when using grid search or importance sampling)
- Station table in HTML report is now sortable (and its header remains fixed)!
- Reduce PNG figures file size, while improving their resolution 😃
- Removed option to read event information and traces from a pickle file
(rarely used)
Processing
- Support for P-wave spectral inversion (see pull request [#9])
- It is now possible to provide different vp and vs velocities, close to the
source and close to the stations (see the new config options above and
issue [#5]) - Possibility to choose a geometrical spreading model between
(see issue [#8]):- rⁿ (default: n=1 – body waves)
- Boatwright et al. (2002): "r" below a cutoff distance, frequency-dependent
above the cutoff distance
- Use travel time to compute quality factor from t* (and viceversa)
(see issue [#5]) - Compute travel time from pick and origin time, when possible
(see issue [#10]) - Warn if noise window ends after P or S arrival
Post-Inversion
- Subtract the integral of noise spectrum from the integral of signal spectrum
when computing radiated energy, under the hypothesis that energy is additive
and noise is stationary
Config file
- Config parameter
paz
has been removed and merged intostation_metadata
- Config parameters
vp
andvs
have been renamed tovp_source
andvs_source
(see issue [#5]) - New, optional, config parameter
vp_stations
andvs_stations
- Config parameter
pre_p_time
andpre_s_time
have been renamed to
noise_pre_time
andsignal_pre_time
, respectively (see pull request [#9]) - Config parameter
rps_from_focal_mechanism
renamed to
rp_from_focal_mechanism
(see pull request [#9]) - New config parameter:
geom_spread_model
(see issue [#8]) - Config parameters
PLOT_SHOW
,PLOT_SAVE
andPLOT_SAVE_FORMAT
are now
lowercase (plot_show
,plot_save
andplot_save_format
) - New, optional, general config parameters for specyfing author and agency
information. This information is written to output files and figures,
if specified - New config parameter,
event_url
, to link the event page from the HTML
report - Removed
DEBUG
config parameter - Parameters from
GENERAL PARAMETERS
section reorganized into a new
section calledTRACE AND METADATA PARAMETERS
- Some parameters from
INVERSION PARAMETERS
moved into a new section
calledSPECTRAL MODEL PARAMETERS
Bugfixes
- Fix for not working
weighting
options:frequency
andno_weight
- Fix for negative weights occasionally generated by interpolation
- Fix bug when event coordinates are written into sqlite as binary blobs