gmprocess 2.8.0__tar.gz → 2.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gmprocess-2.8.0 → gmprocess-2.9.1}/.gitignore +1 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/.gitlab-ci.yml +43 -2
- {gmprocess-2.8.0 → gmprocess-2.9.1}/CHANGELOG.md +74 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/CONTRIBUTING.md +75 -14
- {gmprocess-2.8.0 → gmprocess-2.9.1}/PKG-INFO +4 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/code.json +124 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/pyproject.toml +4 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/apps/gmrecords.py +1 -0
- gmprocess-2.9.1/src/gmprocess/bin/fix_metadata_from_sis.py +1620 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/provenance.py +59 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/stationstream.py +19 -4
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/stationtrace.py +147 -15
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/streamarray.py +5 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/streamcollection.py +23 -7
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/config_production.yml +46 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/config_test.yml +3 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/config_test_download.yml +3 -0
- gmprocess-2.9.1/src/gmprocess/extended_xml/extended_xml_parser.py +1232 -0
- gmprocess-2.9.1/src/gmprocess/extended_xml/sis_metadata.py +1398 -0
- gmprocess-2.9.1/src/gmprocess/extended_xml/sis_snapshot.py +758 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/flatfile.py +8 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/flatfile_constants.py +20 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/stream_workspace.py +8 -2
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/waveform_metrics_xml.py +10 -4
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/bhrc/core.py +5 -5
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cosmos_writer.py +421 -105
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/dmg/core.py +17 -2
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/global_fetcher.py +13 -6
- gmprocess-2.9.1/src/gmprocess/io/json/core.py +22 -0
- gmprocess-2.9.1/src/gmprocess/io/json/processed_json.py +236 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/core.py +1 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/knet_fetcher.py +24 -28
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/core.py +43 -36
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/fdsn_fetcher.py +19 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/read.py +34 -6
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/read_directory.py +6 -1
- gmprocess-2.9.1/src/gmprocess/io/seedname.py +141 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/combine.py +19 -10
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/containers.py +30 -11
- gmprocess-2.9.1/src/gmprocess/metrics/oscillator.py +34 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/reduce.py +33 -13
- gmprocess-2.9.1/src/gmprocess/metrics/response.py +371 -0
- gmprocess-2.9.1/src/gmprocess/metrics/rotate.py +22 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/transform.py +186 -30
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/utils.py +61 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_calculator.py +32 -21
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_collection.py +88 -20
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_component.py +4 -3
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_list.py +0 -73
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_type.py +10 -10
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/download.py +21 -7
- gmprocess-2.9.1/src/gmprocess/subcommands/update_stationxml.py +94 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/assemble_utils.py +13 -4
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/config.py +27 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/constants.py +0 -2
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/download_utils.py +4 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/export_gmpacket_utils.py +133 -68
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/misc_plots.py +2 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/report_utils.py +4 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/instrument_response.py +2 -2
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/phase.py +23 -7
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/processing.py +23 -5
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/PKG-INFO +4 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/SOURCES.txt +12 -1
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/entry_points.txt +1 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/requires.txt +3 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/scm_file_list.json +728 -4
- gmprocess-2.9.1/src/gmprocess.egg-info/scm_version.json +8 -0
- gmprocess-2.9.1/tools/housing/crawl_sis_housing.py +567 -0
- gmprocess-2.9.1/tools/housing/summarize_sis_housing.py +126 -0
- gmprocess-2.9.1/tools/sis_qa/compare_sis_fix_metrics.py +607 -0
- gmprocess-2.9.1/tools/sis_qa/run_sis_fix.sh +115 -0
- gmprocess-2.8.0/src/gmprocess/extended_xml/extended_xml_parser.py +0 -602
- gmprocess-2.8.0/src/gmprocess/io/seedname.py +0 -72
- gmprocess-2.8.0/src/gmprocess/metrics/oscillator.py +0 -45
- gmprocess-2.8.0/src/gmprocess/metrics/rotate.py +0 -42
- gmprocess-2.8.0/src/gmprocess.egg-info/scm_version.json +0 -8
- {gmprocess-2.8.0 → gmprocess-2.9.1}/.coveragerc +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/.vscode/settings.json +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/CODE_OF_CONDUCT.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/DISCLAIMER.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/LICENSE.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/MANIFEST.in +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/README.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/pytest.ini +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/setup.cfg +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/setup.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/setup_env.sh +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/apps/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/bundle_datarelease.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/cwa_gather.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/export_ff_sac.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/fetch_orfeus.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/fix_inventory.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/get_cali_cloud.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmconvert.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/gminfo.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmprocess_config.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmrecords.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmworkspace.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/bin/update_event_json.sh +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/core/scalar_event.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/CESMD_NGA_ids.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/config_production_v1.yml +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/cosmos_table10.xls +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/cosmos_table4.xls +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CICCC.RAW +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CICLC.v1 +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CITOW2.RAW +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/nc72282711/workspace.h5 +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/fdsn_codes.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/lme/SA_rotd50.0_2020.03.31.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/modules.yml +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nga_w2_selected.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/bias_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/bias_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/masterF.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/weight_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/weight_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/M.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_2.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/final_training.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/masterF.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/model_3.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/model_5.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/mu_sigma.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_2.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/M.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_2.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/final_training.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/masterF.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/model_0.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/mu_sigma.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_1.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_2.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_output.csv +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/picker.yml +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/station_coordinates.xlsx +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/data/usgs_ids_nga_and_srcmod_cross_reference.xlsx +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/gui/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/Documentation.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/GUI_human_review.ipynb +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/HumanReviewGUI.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/base_metrics_xml.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/path_utils.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/rupture.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/station_metrics_xml.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/utils.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/workspace_constants.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/bhrc/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cesmd_fetcher.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cesmd_search.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/data_structures.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cwb/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/cwb/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/dmg/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/dynamic_search_parameters.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/esm/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/esm/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/fetcher.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/geonet/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/geonet/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/nga.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/nsmn/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/nsmn/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/renadic/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/renadic/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/report.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/smc/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/smc/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/unam/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/unam/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/usc/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/usc/core.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/io/utils.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/metric_collection_base.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/station_metric.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/station_metric_collection.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_calculator_component_base.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/arg_dicts.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/assemble.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/autoprocess.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/autoshakemap.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/base.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/clean.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/compute_station_metrics.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/compute_waveform_metrics.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_cosmos.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_failure_tables.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_gmpacket.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_metric_tables.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_provenance_tables.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_regression_plot.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_report.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_station_maps.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/import_data.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/init.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/lazy_loader.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/process_waveforms.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/processing_steps.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/projects.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/args.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/config_versioning.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/ground_motion_models.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/logging.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/memory.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/misc.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/prompt.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/rupture_utils.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/strec.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/summary_plots.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/tables.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/utils/tests_utils.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/__init__.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/adjust_highpass.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/adjust_highpass_ridder.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/baseline_correction.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clip_detection.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clipping_ann.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clipping_check.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/histogram.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/jerk.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/max_amp.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/ping.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/std_dev.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/convert_units.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/corner_frequencies.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/count_stats.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/detrend.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/fft.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/filtering.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/integrate.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/nn_quality_assurance.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/pretesting.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/prism_adaptive_baseline.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/processing_step.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/resample.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/sanity_checks.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/snr.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/spectrum.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/taper.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/windows.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/zero_crossings.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/zero_pad.py +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/dependency_links.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/top_level.txt +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/tools/matlab/README.md +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/tools/matlab/get_all_waveforms.m +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/tools/matlab/get_events.m +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/tools/matlab/get_waveform_metrics.m +0 -0
- {gmprocess-2.8.0 → gmprocess-2.9.1}/tools/matlab/waveform_plot.png +0 -0
|
@@ -116,12 +116,53 @@ regression test:
|
|
|
116
116
|
&& $CI_PIPELINE_SOURCE != "merge_request_event"
|
|
117
117
|
when: manual
|
|
118
118
|
allow_failure: true
|
|
119
|
+
variables:
|
|
120
|
+
# The baseline is a commit on main, so the clone needs the history.
|
|
121
|
+
GIT_DEPTH: 0
|
|
122
|
+
script:
|
|
123
|
+
- pip install -e .[test]
|
|
124
|
+
- strec_cfg update --datafolder /home/usgs-user/ --gcmt
|
|
125
|
+
- mkdir /home/usgs-user/slabs
|
|
126
|
+
- cp tests/data/slab_data/*.grd /home/usgs-user/slabs/.
|
|
127
|
+
- cd tests/regression
|
|
128
|
+
# The baseline is main: on a branch, the commit the branch started from; on main,
|
|
129
|
+
# the commit before the latest merge. Both versions run with the saved SIS metadata
|
|
130
|
+
# off, so the comparison shows the code changes.
|
|
131
|
+
- git fetch --quiet origin main
|
|
132
|
+
- BASELINE=$(git merge-base HEAD FETCH_HEAD)
|
|
133
|
+
- if [ "$BASELINE" = "$(git rev-parse HEAD)" ]; then BASELINE=$(git rev-parse HEAD^1); fi
|
|
134
|
+
- >
|
|
135
|
+
python regression_test.py --parameters ci.yml test
|
|
136
|
+
--baseline "$BASELINE" --baseline-overlay sis-off.yml --test-overlay sis-off.yml
|
|
137
|
+
stage: test
|
|
138
|
+
|
|
139
|
+
sis comparison:
|
|
140
|
+
rules:
|
|
141
|
+
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
142
|
+
variables:
|
|
143
|
+
ENVIRONMENT: staging
|
|
144
|
+
- if: >
|
|
145
|
+
$CI_PIPELINE_SOURCE != "schedule"
|
|
146
|
+
&& $CI_PIPELINE_SOURCE != "merge_request_event"
|
|
147
|
+
when: manual
|
|
148
|
+
allow_failure: true
|
|
149
|
+
variables:
|
|
150
|
+
# The environment is built from the commit, and its version needs the tags and history.
|
|
151
|
+
GIT_DEPTH: 0
|
|
119
152
|
script:
|
|
120
153
|
- pip install -e .[test]
|
|
121
|
-
- pip install polars
|
|
122
154
|
- strec_cfg update --datafolder /home/usgs-user/ --gcmt
|
|
123
155
|
- mkdir /home/usgs-user/slabs
|
|
124
156
|
- cp tests/data/slab_data/*.grd /home/usgs-user/slabs/.
|
|
125
157
|
- cd tests/regression
|
|
126
|
-
|
|
158
|
+
# The same commit and pinned environment with SIS off and on. The runs have no
|
|
159
|
+
# network access; only building the environment downloads packages.
|
|
160
|
+
- >
|
|
161
|
+
python regression_test.py --parameters ci-sis.yml test
|
|
162
|
+
--baseline HEAD --baseline-overlay sis-off.yml
|
|
163
|
+
--test HEAD --test-overlay sis-on.yml --offline
|
|
164
|
+
artifacts:
|
|
165
|
+
when: always
|
|
166
|
+
paths:
|
|
167
|
+
- tests/regression/test-results-sis/
|
|
127
168
|
stage: test
|
|
@@ -1,5 +1,79 @@
|
|
|
1
1
|
## main
|
|
2
2
|
|
|
3
|
+
## 2.9.1 / 2026-11-19
|
|
4
|
+
- Bugfixes
|
|
5
|
+
- Added multiple download attempts for knet fetcher
|
|
6
|
+
- Docs
|
|
7
|
+
- Updated contributing guidelines to reflect changes to esi-releases
|
|
8
|
+
|
|
9
|
+
## 2.9.0 / 2026-11-09
|
|
10
|
+
|
|
11
|
+
- Enhancements
|
|
12
|
+
- Use of SIS metadata
|
|
13
|
+
- `FDSNFetcher` now gets each downloaded station's metadata from ANSS SIS and saves it in the event's `sis` directory, leaving the downloaded StationXML as it is. `assemble` applies it: SIS's instrument response, position and orientation replace the downloaded ones, and SIS's housing code for the channel's location and instrument sets `structure_cosmos_code`/`structure_type`, which decides `free_field`. `sis_application.json` records what was applied to each station, and `read.use_sis_metadata: False` turns it off. Stations SIS doesn't cover, and metadata read from `read.metadata_directory`, are left alone. A SIS response that is incomplete or disagrees with its own total sensitivity adds a warning to the trace; the `read.sis_response` options set how it is handled (older configs set them under `FDSNFetcher: sis`, which also sets the timeout and retries).
|
|
14
|
+
- Add the `gmrecords update_stationxml` subcommand, which gets an event's SIS metadata again. `--prune` removes saved responses that are no longer used.
|
|
15
|
+
- `extended_xml_parser` now resolves `EquipmentLink` response stages from SIS's hardware calibrations, so channels with a linked sensor or digitizer get a complete response. `fix_metadata_from_sis` uses these responses too, so it can now report and correct stages it previously left alone. The parser previously read no hardware at all. `fix_metadata_from_sis` also now takes each stream's housing code from its own location and instrument at the event time, and no longer replaces a stored code with a value that doesn't name a housing type.
|
|
16
|
+
- SIS extended StationXML is read for schema versions 2.2, 3.0 and 3.1. Other versions are skipped, and the SIS housing crawler records the skipped stations. Versions newer than 3.1 were read as 3.0, which found none of their SIS elements.
|
|
17
|
+
- Add `fix_metadata_from_sis` script to reconcile workspace station metadata (position, orientation, sample rate, instrument sensitivity, response stages, station housing) against ANSS SIS extended StationXML, correcting the workspace and reprocessing only when a correction actually affects processing output. Extend `extended_xml_parser` to resolve SIS's response dictionary into real, complete response stages (poles/zeros, FIR coefficients, decimation), not just a gain.
|
|
18
|
+
- `fix_metadata_from_sis` now makes the same decisions about position, orientation and response as `FDSNFetcher`, through a shared function. It no longer changes sample rates, and it marks traces as failed only when the `sis` options in the workspace's config ask for that. Any difference in position or orientation now replaces the stored value. A station that differs from SIS's sample rate, or a seismometer SIS can't give a complete response for, keeps its response.
|
|
19
|
+
- `fix_metadata_from_sis` uses the event's saved SIS metadata when it can find it, with no network requests; `--live` asks SIS instead.
|
|
20
|
+
- Added helper scripts for inspecting the SIS metadata updates (tools/sis_qa/)
|
|
21
|
+
- Station housing and free-field selection
|
|
22
|
+
- `StationTrace.free_field` now prefers `structure_cosmos_code` (COSMOS building type, codes 1-4, 6, 8) over the `structure_type` keyword search whenever it names a known housing type, and that code no longer gets dropped when a stream is reprocessed.
|
|
23
|
+
- StationXML channels deeper than 3 m (`BOREHOLE_MIN_DEPTH_M`) now get the structure type "borehole", so `StationTrace.free_field` treats them as not free field and they are dropped when a stream collection is first assembled. They were previously treated as free field (e.g., SB.BVDA.04, SB.BVDA1.03, SB.BVDA2.01/02).
|
|
24
|
+
- Waveform processing and metric calculations
|
|
25
|
+
- An unexpected error in a processing step now fails that stream, with the error as the failure reason, and processing continues with the next stream. It previously stopped processing of the whole event.
|
|
26
|
+
- Faster response spectra and RotD (`gmprocess.metrics.response`): simplified calculation and optimized with with Numba; RotD oscillator rotates the two horizontal oscillator responses, rather than rotating the ground response then computing the oscillator response; the upsampled record is reused for all periods; channel and RotD metrics share one oscillator calculation per period.
|
|
27
|
+
- Add the `metrics.response_precision` config option for the oscillator response: `float64` (default), `mixed32` or `float32`. This has little value now, but should be useful for large-scale batch calculations in the future refactor.
|
|
28
|
+
- Stored waveform metrics now hold the real channel in `original_channel`; it held the component name (e.g., `H1`). Files written earlier still read correctly.
|
|
29
|
+
- Readers and writers
|
|
30
|
+
- Add a `json` module to allow for easy reading of "one-off" pre-processed data sets.
|
|
31
|
+
- `assemble` writes `read_failures.csv` in the event directory instead of `raw`.
|
|
32
|
+
- Add `StationHousingCode`/`StationHousingDescription` columns to `export_metric_tables`'s output, so the COSMOS structure/housing code is included alongside the other station metadata.
|
|
33
|
+
- Add `H1Channel`/`H2Channel`/`ZChannel` columns to `export_metric_tables`'s output, naming the SEED channel behind each component.
|
|
34
|
+
- Bugfixes
|
|
35
|
+
- Use of SIS metadata
|
|
36
|
+
- SIS responses for a multisensor (e.g., an OMNISENSOR) now use the calibration of each channel's own internal sensor. The accelerometer channels took the seismometer's, so they kept the downloaded response with a warning.
|
|
37
|
+
- `fix_metadata_from_sis` now reads a station's channels from all of SIS's station epochs; it only read the first epoch's, so a station whose active channels are in a later one wasn't corrected. It also keeps the stored response when SIS's stages disagree with its total sensitivity, and no longer empties a channel's stages when SIS lists none.
|
|
38
|
+
- Station housing and free-field selection
|
|
39
|
+
- Fix `StreamWorkspace.get_streams` silently dropping a station's data whenever its free-field classification was non-free-field, since it re-applied `StreamCollection`'s fetch-time `drop_non_free` filtering on every read instead of only when a station is first added to the workspace.
|
|
40
|
+
- Fix `StreamCollection.select` silently dropping non-free-field streams from a collection built with `drop_non_free=False` (e.g., one read from a workspace), since it re-applied free-field filtering. This also stopped `select_colocated` from failing colocated non-free-field streams.
|
|
41
|
+
- Waveform processing and metric calculations
|
|
42
|
+
- The total and stage sensitivity check in `remove_response` now fails gains that differ when both are negative; it passed them.
|
|
43
|
+
- The frequency domain bandstop filter now removes the band between `freqmin` and `freqmax`. It ignored both and kept a narrow band around `freq` with the sign reversed. No processing step uses this filter.
|
|
44
|
+
- Frequency domain filters now record one pass and the name "Single-pass acausal Butterworth" for lowpass, highpass and bandstop as well as bandpass. The warning that they apply only once now appears for them instead of for time domain filters.
|
|
45
|
+
- Fix `StationTrace.differentiate(frequency=True)` for traces with an odd number of samples: the inverse FFT now uses the original length. It previously returned one sample fewer, with amplitudes scaled by N/(N-1).
|
|
46
|
+
- Fix `StationStream`'s identical-values check dividing by a trace's mean, which silently failed to flag a trace as degenerate whenever its mean was exactly zero (e.g., an all-zero trace).
|
|
47
|
+
- RotD selects the two passed horizontal channels by direction instead of using the first two traces. This affected direct calculator use, not streams read from a workspace.
|
|
48
|
+
- Fix waveform metric calculation modifying the input traces' stats: RotD SA/PSA/SV/PSV/SD set `units_type` on the first horizontal trace, so RotD PGA (and channel PGA on a repeated calculation) was not converted to %g when a RotD velocity or displacement metric was calculated before it.
|
|
49
|
+
- Waveform metrics now store period and damping exactly; they were rounded to three and two decimals, which merged nearby dampings (0.005 and 0.01) and stopped others (0.025) from matching the config. Existing workspaces keep their rounded values.
|
|
50
|
+
- `WaveformMetricComponent` comparisons now use both components; `==` was always true and `<` always false.
|
|
51
|
+
- Readers and writers
|
|
52
|
+
- Fixed `is_json` raising `UnicodeDecodeError` (logged as a spurious read error) when format-sniffing binary files.
|
|
53
|
+
- The obspy reader and `StationTrace` now treat the location codes `""` and `"--"` as the same when selecting a channel from StationXML; a file with one spelling and metadata with the other failed to load.
|
|
54
|
+
- Fix the K-NET/KiK-net reader giving vertical channels a dip of 0, which also caused one channel of each stream to be dropped as a duplicate.
|
|
55
|
+
- DMG reader: a date, time, serial number or data type in the structure type columns is no longer stored as the structure type.
|
|
56
|
+
- Add `gmprocess.io.seedname.orientation_component` to determine a channel's orientation category (vertical/north-ish/east-ish) from its azimuth/dip rather than by guessing from the channel code, and fix two places that had been guessing inconsistently.
|
|
57
|
+
- Fix provenance read from a workspace holding numbers as strings with `prov` 3, which raised `TypeError` when metrics were read for a stream written back to the workspace. Workspaces already written this way now read correctly. Numpy numbers now keep their type when written.
|
|
58
|
+
- Ground motion packets: as-recorded components now use the channel code (e.g., `HNN`) instead of `h1`/`h2`/`z` and have `as_recorded` true; each takes its azimuth, dip and times from its own trace, and combined components have no azimuth or dip.
|
|
59
|
+
- Ground motion packets: each stream now gets its own metrics when a station has more than one instrument, and metrics come from the writer's label.
|
|
60
|
+
- Fix flatfile station coordinates to use matching StationXML channel/location metadata, falling back to station-level coordinates when channel metadata is unavailable.
|
|
61
|
+
- COSMOS writer
|
|
62
|
+
- COSMOS writer, filters: filter types now go in integer header fields 61 and 62, chosen separately for each end of the spectrum; they were in fields 60 (processing stage) and 62. The filtering domain flag (field 64) now distinguishes frequency domain from time domain; it was always "time domain". The corners in real header fields 54 and 57 were swapped. A one-pass ObsPy filter now gets "single direction", a band with no filter gets "None", and other filter types get their own code. A frequency domain filter keeps the bi-directional code, the closest available, with a comment identifying it as a 1-pass acausal filter. A trace without all of bandpass, highpass and lowpass entries no longer raises `TypeError`.
|
|
63
|
+
- COSMOS writer, V3: each file now holds the spectra of its own station and channel; every file held those of the first channel of the first station. Values now follow the file's period axis, with -999 for a missing period; stored metrics can be in another order. A block with no values at the configured damping is now skipped with a warning; such a file said it held values and had none. A stream without metrics is skipped with a warning instead of raising `IndexError`.
|
|
64
|
+
- COSMOS writer: the processing agency is now written, the processing date no longer overflows its field, a structure type with no COSMOS code no longer raises `KeyError`, and a workspace with no `unprocessed` label no longer raises `ValueError`.
|
|
65
|
+
- Fix COSMOS sensitivity headers 22 (µV/count) and 42 (V/g) by computing
|
|
66
|
+
sensitivities from StationXML response-stage gains and units.
|
|
67
|
+
- Fix COSMOS writer azimuth mapping for Z channels to 400 (up) or 401 (down)
|
|
68
|
+
- Other
|
|
69
|
+
- Remove the unused `WaveformMetricList.from_df`, which gave every SA metric the same damping and read other metric types starting with "s" as SA. Damping defaults and docstrings for response spectra metrics now use a fraction of critical, as the calculations do.
|
|
70
|
+
- Replace basemap layer for station maps to use Esri.WorldTopoMap because the default OpenStreetMap returns 403 error
|
|
71
|
+
- Add `prov` to the dependencies; gmprocess imports it directly and only got it through `pyasdf`.
|
|
72
|
+
- Tests
|
|
73
|
+
- Fix test isolation in `scalar_event_test.py` by using `tmp_path` instead of a shared scratch directory, preventing stale-file
|
|
74
|
+
and parallel-run failures.
|
|
75
|
+
- Fix test isolation in `gmconvert_test.py` and `gminfo_test.py` by using pytest `tmp_path` fixture
|
|
76
|
+
|
|
3
77
|
## 2.8.0 / 2026-08-27
|
|
4
78
|
|
|
5
79
|
- Enhancements
|
|
@@ -75,29 +75,90 @@ Common reasons to rebase include:
|
|
|
75
75
|
|
|
76
76
|
## Releases
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
Releases are prepared and tagged with the `releases` command from the
|
|
79
|
+
[`esi-releases`](https://code.usgs.gov/ghsc/esi/esi-releases) package
|
|
80
|
+
(`pip install esi-releases`, version 0.2.0 or later). Run it from the
|
|
81
|
+
repository root; every command accepts `--help`, and `--dry-run` shows what
|
|
82
|
+
would change without changing anything.
|
|
83
|
+
|
|
84
|
+
The changelog should already describe the release: each merge request adds
|
|
85
|
+
its changes under the `## main` heading of `CHANGELOG.md`.
|
|
86
|
+
|
|
87
|
+
1. Start from an up-to-date main branch and check the release metadata:
|
|
88
|
+
```
|
|
89
|
+
git checkout main
|
|
90
|
+
git pull --tags
|
|
91
|
+
releases check
|
|
92
|
+
```
|
|
93
|
+
`releases check` reports problems with `code.json`, `CHANGELOG.md` and the
|
|
94
|
+
git tags, such as a release that was made without updating `code.json`.
|
|
95
|
+
2. Prepare the release. Choose "major", "minor" or "patch" following
|
|
96
|
+
[semantic versioning](https://semver.org); for example, for a minor
|
|
97
|
+
release:
|
|
80
98
|
```
|
|
99
|
+
releases minor --dry-run
|
|
81
100
|
releases minor
|
|
82
101
|
```
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
102
|
+
This adds an entry for the new version to `code.json` with updated URLs,
|
|
103
|
+
and moves the notes under `## main` in `CHANGELOG.md` into a new dated
|
|
104
|
+
section for the version. It stops without changing anything if there are
|
|
105
|
+
no notes under `## main` or the version is already tagged.
|
|
106
|
+
3. Review the changes, editing them if needed, then commit them on a release
|
|
107
|
+
candidate branch named like `v1.2.1.rc0`:
|
|
108
|
+
```
|
|
109
|
+
git diff
|
|
110
|
+
git checkout -b v1.2.1.rc0
|
|
111
|
+
git commit -m "Release v1.2.1" code.json CHANGELOG.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Alternatively, if you don't need to review the changes first, steps 2 and
|
|
115
|
+
3 can be done in one command:
|
|
116
|
+
```
|
|
117
|
+
releases minor --commit
|
|
86
118
|
```
|
|
87
|
-
|
|
119
|
+
This makes the same changes, creates a release candidate branch named like
|
|
120
|
+
`v1.2.1.rc0` (using the next unused `rc` number, or the name given with
|
|
121
|
+
`--branch`), and commits `code.json` and `CHANGELOG.md` to it as
|
|
122
|
+
"Release v1.2.1". It requires a working tree with no uncommitted changes.
|
|
123
|
+
4. Generate the regression comparison reports for this release, review them, and commit them to the `v1.2.1.rc0` branch:
|
|
88
124
|
```
|
|
89
|
-
|
|
90
|
-
|
|
125
|
+
cd tests/regression
|
|
126
|
+
python regression_test.py --parameters release.yml release
|
|
127
|
+
git add reports
|
|
128
|
+
git commit -m "Add the v1.2.1 regression reports"
|
|
129
|
+
```
|
|
130
|
+
- The command compares the previous release with the branch, with the saved SIS metadata on as in the default configuration, and writes the report to `tests/regression/reports/v1.2.1/sis-on/`. It takes the version from `code.json` and the previous release from the latest tag. See `tests/regression/README.md`.
|
|
131
|
+
- When the SIS metadata or its use changes in the release, add `--sis-off` to also compare with the SIS metadata off in both versions. That report, in `sis-off/`, shows the code changes alone, so the two reports separate them from the SIS changes.
|
|
132
|
+
- The checkout must be clean. If the branch changes after the reports are made, generate them again, so that they describe the code that is merged and tagged.
|
|
133
|
+
5. Push the branch to your origin. For example:
|
|
134
|
+
```
|
|
135
|
+
git push -u origin v1.2.1.rc0
|
|
136
|
+
```
|
|
137
|
+
6. Create a merge request into upstream main, review the reports with the rest of the changes, and merge it.
|
|
138
|
+
7. Tag the release **from main**:
|
|
139
|
+
```
|
|
140
|
+
git checkout main
|
|
141
|
+
git pull --tags
|
|
142
|
+
releases tag
|
|
143
|
+
```
|
|
144
|
+
`releases tag` checks that main is clean and matches the branch it tracks
|
|
145
|
+
(so your main should track the upstream main), and that `code.json` and
|
|
146
|
+
the changelog agree on a version that has not been tagged yet. It then
|
|
147
|
+
creates an annotated tag such as `v1.2.1` and prints the command to push
|
|
148
|
+
it. Push the tag upstream:
|
|
91
149
|
```
|
|
92
|
-
git tag -a v1.2.1 -m "Version 1.2.1"
|
|
93
150
|
git push upstream v1.2.1
|
|
94
151
|
```
|
|
95
152
|
- This git push command is what triggers the "release" pipeline that includes the test, build, and deploy stages.
|
|
96
|
-
- *Note that we cannot have a hyphen in the tag name.*
|
|
97
|
-
- Also, if we end the tag name with "dev" then it will be build and uploaded to pypi as a pre-release version, which means that it will never be pip installed unless the user specifies the exact version of the pre-release.
|
|
98
|
-
- Maintenance note: the PYPI tokens are maintained in gitlab for the ESI group, under Settings then CI/CD, then Variables. These tokens are associated with the "pager_cicd" pypi service account.
|
|
99
|
-
8. Create release from tag in
|
|
100
|
-
|
|
153
|
+
- *Note that we cannot have a hyphen in the tag name.*
|
|
154
|
+
- Also, if we end the tag name with "dev" then it will be build and uploaded to pypi as a pre-release version, which means that it will never be pip installed unless the user specifies the exact version of the pre-release. `releases` does not create these tags; create them with `git tag -a`.
|
|
155
|
+
- Maintenance note: the PYPI tokens are maintained in gitlab for the ESI group, under Settings then CI/CD, then Variables. These tokens are associated with the "pager_cicd" pypi service account.
|
|
156
|
+
8. Create a release from the tag in GitLab, titled like `v1.2.1`. For the
|
|
157
|
+
"describe this release" section, use the release's changelog notes,
|
|
158
|
+
printed by:
|
|
159
|
+
```
|
|
160
|
+
releases changelog v1.2.1
|
|
161
|
+
```
|
|
101
162
|
|
|
102
163
|
|
|
103
164
|
## Build Documentation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gmprocess
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.9.1
|
|
4
4
|
Summary: USGS Automated Ground Motion Processing Software
|
|
5
5
|
Author-email: Eric Thompson <emthompsone@usgs.gov>, Mike Hearne <mhearne@usgs.gov>, Brad Aagaard <baagaard@usgs.gov>, Bruce Worden <cbworden@contractor.usgs.gov>, John Rekoske <jrekoske@ucsd.edu>, Heather Hunsinger <hhunsinger@usgs.gov>, Gabe Ferragut <gferragut@usgs.gov>
|
|
6
6
|
License: License
|
|
@@ -71,6 +71,7 @@ Requires-Dist: openpyxl>=3.1.0
|
|
|
71
71
|
Requires-Dist: openquake.engine>=3.18
|
|
72
72
|
Requires-Dist: pandas>=1.3.0
|
|
73
73
|
Requires-Dist: Pint>0.24.3
|
|
74
|
+
Requires-Dist: prov>=2.1.1
|
|
74
75
|
Requires-Dist: ps2ff>=1.5.9
|
|
75
76
|
Requires-Dist: pyarrow
|
|
76
77
|
Requires-Dist: pyasdf>=0.7
|
|
@@ -92,6 +93,8 @@ Requires-Dist: esi-releases>=0.1; extra == "dev"
|
|
|
92
93
|
Requires-Dist: flake8>=3.9; extra == "dev"
|
|
93
94
|
Requires-Dist: ipython>=7.26; extra == "dev"
|
|
94
95
|
Requires-Dist: pylint>=2.17; extra == "dev"
|
|
96
|
+
Requires-Dist: reportlab>=4; extra == "dev"
|
|
97
|
+
Requires-Dist: svglib>=1.5; extra == "dev"
|
|
95
98
|
Provides-Extra: test
|
|
96
99
|
Requires-Dist: pytest-xdist>=3.8; extra == "test"
|
|
97
100
|
Requires-Dist: pytest>=6.2; extra == "test"
|
|
@@ -1,4 +1,127 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"name": "groundmotion-processing",
|
|
4
|
+
"description": "Read and process ground motion waveform data",
|
|
5
|
+
"version": "v2.9.1",
|
|
6
|
+
"status": "Production",
|
|
7
|
+
"organization": "U.S. Geological Survey",
|
|
8
|
+
"vcs": "git",
|
|
9
|
+
"repositoryURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing.git",
|
|
10
|
+
"homepageURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing",
|
|
11
|
+
"downloadURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/archive/v2.9.1/groundmotion-processing-v2.9.1.zip",
|
|
12
|
+
"disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.1/DISCLAIMER.md",
|
|
13
|
+
"permissions": {
|
|
14
|
+
"licenses": [
|
|
15
|
+
{
|
|
16
|
+
"name": "Public Domain, CC0-1.0",
|
|
17
|
+
"URL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.1/LICENSE.md"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"usageType": "openSource",
|
|
21
|
+
"exemptionText": null
|
|
22
|
+
},
|
|
23
|
+
"laborHours": 1,
|
|
24
|
+
"languages": [
|
|
25
|
+
"python"
|
|
26
|
+
],
|
|
27
|
+
"tags": [
|
|
28
|
+
"earthquake",
|
|
29
|
+
"impact",
|
|
30
|
+
"strong motion",
|
|
31
|
+
"amplitudes",
|
|
32
|
+
"ground motion",
|
|
33
|
+
"usg-artificial-intelligence"
|
|
34
|
+
],
|
|
35
|
+
"contact": {
|
|
36
|
+
"name": "Eric Thompson",
|
|
37
|
+
"email": "emthompson@usgs.gov"
|
|
38
|
+
},
|
|
39
|
+
"date": {
|
|
40
|
+
"metadataLastUpdated": "2026-11-19"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "groundmotion-processing",
|
|
45
|
+
"description": "Read and process ground motion waveform data",
|
|
46
|
+
"version": "v2.9.0",
|
|
47
|
+
"status": "Production",
|
|
48
|
+
"organization": "U.S. Geological Survey",
|
|
49
|
+
"vcs": "git",
|
|
50
|
+
"repositoryURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing.git",
|
|
51
|
+
"homepageURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing",
|
|
52
|
+
"downloadURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/archive/v2.9.0/groundmotion-processing-v2.9.0.zip",
|
|
53
|
+
"disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.0/DISCLAIMER.md",
|
|
54
|
+
"permissions": {
|
|
55
|
+
"licenses": [
|
|
56
|
+
{
|
|
57
|
+
"name": "Public Domain, CC0-1.0",
|
|
58
|
+
"URL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.0/LICENSE.md"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"usageType": "openSource",
|
|
62
|
+
"exemptionText": null
|
|
63
|
+
},
|
|
64
|
+
"laborHours": 1,
|
|
65
|
+
"languages": [
|
|
66
|
+
"python"
|
|
67
|
+
],
|
|
68
|
+
"tags": [
|
|
69
|
+
"earthquake",
|
|
70
|
+
"impact",
|
|
71
|
+
"strong motion",
|
|
72
|
+
"amplitudes",
|
|
73
|
+
"ground motion",
|
|
74
|
+
"usg-artificial-intelligence"
|
|
75
|
+
],
|
|
76
|
+
"contact": {
|
|
77
|
+
"name": "Eric Thompson",
|
|
78
|
+
"email": "emthompson@usgs.gov"
|
|
79
|
+
},
|
|
80
|
+
"date": {
|
|
81
|
+
"metadataLastUpdated": "2026-11-09"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "groundmotion-processing",
|
|
86
|
+
"description": "Read and process ground motion waveform data",
|
|
87
|
+
"version": "v2.8.0",
|
|
88
|
+
"status": "Production",
|
|
89
|
+
"organization": "U.S. Geological Survey",
|
|
90
|
+
"vcs": "git",
|
|
91
|
+
"repositoryURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing.git",
|
|
92
|
+
"homepageURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing",
|
|
93
|
+
"downloadURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/archive/v2.8.0/groundmotion-processing-v2.8.0.zip",
|
|
94
|
+
"disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.8.0/DISCLAIMER.md",
|
|
95
|
+
"permissions": {
|
|
96
|
+
"licenses": [
|
|
97
|
+
{
|
|
98
|
+
"name": "Public Domain, CC0-1.0",
|
|
99
|
+
"URL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.8.0/LICENSE.md"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"usageType": "openSource",
|
|
103
|
+
"exemptionText": null
|
|
104
|
+
},
|
|
105
|
+
"laborHours": 1,
|
|
106
|
+
"languages": [
|
|
107
|
+
"python"
|
|
108
|
+
],
|
|
109
|
+
"tags": [
|
|
110
|
+
"earthquake",
|
|
111
|
+
"impact",
|
|
112
|
+
"strong motion",
|
|
113
|
+
"amplitudes",
|
|
114
|
+
"ground motion",
|
|
115
|
+
"usg-artificial-intelligence"
|
|
116
|
+
],
|
|
117
|
+
"contact": {
|
|
118
|
+
"name": "Eric Thompson",
|
|
119
|
+
"email": "emthompson@usgs.gov"
|
|
120
|
+
},
|
|
121
|
+
"date": {
|
|
122
|
+
"metadataLastUpdated": "2026-08-27"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
2
125
|
{
|
|
3
126
|
"name": "groundmotion-processing",
|
|
4
127
|
"description": "Read and process ground motion waveform data",
|
|
@@ -981,4 +1104,4 @@
|
|
|
981
1104
|
"metadataLastUpdated": "2019-08-22"
|
|
982
1105
|
}
|
|
983
1106
|
}
|
|
984
|
-
]
|
|
1107
|
+
]
|
|
@@ -37,6 +37,7 @@ dependencies = [
|
|
|
37
37
|
"openquake.engine>=3.18",
|
|
38
38
|
"pandas>=1.3.0",
|
|
39
39
|
"Pint>0.24.3",
|
|
40
|
+
"prov>=2.1.1",
|
|
40
41
|
"ps2ff>=1.5.9",
|
|
41
42
|
"pyarrow",
|
|
42
43
|
"pyasdf>=0.7",
|
|
@@ -61,6 +62,8 @@ dev = [
|
|
|
61
62
|
"flake8>=3.9",
|
|
62
63
|
"ipython>=7.26",
|
|
63
64
|
"pylint>=2.17",
|
|
65
|
+
"reportlab>=4",
|
|
66
|
+
"svglib>=1.5",
|
|
64
67
|
]
|
|
65
68
|
test = [
|
|
66
69
|
"pytest-xdist>=3.8",
|
|
@@ -99,6 +102,7 @@ gmworkspace = "gmprocess.bin.gmworkspace:main"
|
|
|
99
102
|
gmprocess_config = "gmprocess.bin.gmprocess_config:main"
|
|
100
103
|
cwa_gather = "gmprocess.bin.cwa_gather:cli"
|
|
101
104
|
fix_inventory = "gmprocess.bin.fix_inventory:main"
|
|
105
|
+
fix_metadata_from_sis = "gmprocess.bin.fix_metadata_from_sis:main"
|
|
102
106
|
fetch_orfeus = "gmprocess.bin.fetch_orfeus:cli"
|
|
103
107
|
get_cali_cloud = "gmprocess.bin.get_cali_cloud:main"
|
|
104
108
|
export_ff_sac = "gmprocess.bin.export_ff_sac:main"
|