gmprocess 2.8.0__tar.gz → 2.9.0__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.
Files changed (272) hide show
  1. {gmprocess-2.8.0 → gmprocess-2.9.0}/.gitignore +1 -0
  2. {gmprocess-2.8.0 → gmprocess-2.9.0}/.gitlab-ci.yml +43 -2
  3. {gmprocess-2.8.0 → gmprocess-2.9.0}/CHANGELOG.md +69 -0
  4. {gmprocess-2.8.0 → gmprocess-2.9.0}/CONTRIBUTING.md +15 -5
  5. {gmprocess-2.8.0 → gmprocess-2.9.0}/PKG-INFO +4 -1
  6. {gmprocess-2.8.0 → gmprocess-2.9.0}/code.json +82 -0
  7. {gmprocess-2.8.0 → gmprocess-2.9.0}/pyproject.toml +4 -0
  8. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/apps/gmrecords.py +1 -0
  9. gmprocess-2.9.0/src/gmprocess/bin/fix_metadata_from_sis.py +1620 -0
  10. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/provenance.py +59 -0
  11. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/stationstream.py +19 -4
  12. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/stationtrace.py +147 -15
  13. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/streamarray.py +5 -1
  14. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/streamcollection.py +23 -7
  15. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/config_production.yml +46 -0
  16. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/config_test.yml +3 -0
  17. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/config_test_download.yml +3 -0
  18. gmprocess-2.9.0/src/gmprocess/extended_xml/extended_xml_parser.py +1232 -0
  19. gmprocess-2.9.0/src/gmprocess/extended_xml/sis_metadata.py +1398 -0
  20. gmprocess-2.9.0/src/gmprocess/extended_xml/sis_snapshot.py +758 -0
  21. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/flatfile.py +8 -0
  22. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/flatfile_constants.py +20 -0
  23. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/stream_workspace.py +8 -2
  24. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/waveform_metrics_xml.py +10 -4
  25. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/bhrc/core.py +5 -5
  26. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/cosmos_writer.py +421 -105
  27. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/dmg/core.py +17 -2
  28. gmprocess-2.9.0/src/gmprocess/io/json/core.py +22 -0
  29. gmprocess-2.9.0/src/gmprocess/io/json/processed_json.py +236 -0
  30. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/knet/core.py +1 -0
  31. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/obspy/core.py +43 -36
  32. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/obspy/fdsn_fetcher.py +19 -1
  33. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/read.py +34 -6
  34. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/read_directory.py +6 -1
  35. gmprocess-2.9.0/src/gmprocess/io/seedname.py +141 -0
  36. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/combine.py +19 -10
  37. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/containers.py +30 -11
  38. gmprocess-2.9.0/src/gmprocess/metrics/oscillator.py +34 -0
  39. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/reduce.py +33 -13
  40. gmprocess-2.9.0/src/gmprocess/metrics/response.py +371 -0
  41. gmprocess-2.9.0/src/gmprocess/metrics/rotate.py +22 -0
  42. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/transform.py +186 -30
  43. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/utils.py +61 -0
  44. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_calculator.py +32 -21
  45. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_collection.py +88 -20
  46. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_component.py +4 -3
  47. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_list.py +0 -73
  48. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_type.py +10 -10
  49. gmprocess-2.9.0/src/gmprocess/subcommands/update_stationxml.py +94 -0
  50. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/assemble_utils.py +13 -4
  51. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/config.py +27 -1
  52. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/constants.py +0 -2
  53. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/export_gmpacket_utils.py +133 -68
  54. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/misc_plots.py +2 -0
  55. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/report_utils.py +4 -1
  56. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/instrument_response.py +2 -2
  57. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/phase.py +23 -7
  58. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/processing.py +23 -5
  59. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/PKG-INFO +4 -1
  60. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/SOURCES.txt +12 -1
  61. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/entry_points.txt +1 -0
  62. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/requires.txt +3 -0
  63. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/scm_file_list.json +724 -4
  64. gmprocess-2.9.0/src/gmprocess.egg-info/scm_version.json +8 -0
  65. gmprocess-2.9.0/tools/housing/crawl_sis_housing.py +567 -0
  66. gmprocess-2.9.0/tools/housing/summarize_sis_housing.py +126 -0
  67. gmprocess-2.9.0/tools/sis_qa/compare_sis_fix_metrics.py +607 -0
  68. gmprocess-2.9.0/tools/sis_qa/run_sis_fix.sh +115 -0
  69. gmprocess-2.8.0/src/gmprocess/extended_xml/extended_xml_parser.py +0 -602
  70. gmprocess-2.8.0/src/gmprocess/io/seedname.py +0 -72
  71. gmprocess-2.8.0/src/gmprocess/metrics/oscillator.py +0 -45
  72. gmprocess-2.8.0/src/gmprocess/metrics/rotate.py +0 -42
  73. gmprocess-2.8.0/src/gmprocess.egg-info/scm_version.json +0 -8
  74. {gmprocess-2.8.0 → gmprocess-2.9.0}/.coveragerc +0 -0
  75. {gmprocess-2.8.0 → gmprocess-2.9.0}/.vscode/settings.json +0 -0
  76. {gmprocess-2.8.0 → gmprocess-2.9.0}/CODE_OF_CONDUCT.md +0 -0
  77. {gmprocess-2.8.0 → gmprocess-2.9.0}/DISCLAIMER.md +0 -0
  78. {gmprocess-2.8.0 → gmprocess-2.9.0}/LICENSE.md +0 -0
  79. {gmprocess-2.8.0 → gmprocess-2.9.0}/MANIFEST.in +0 -0
  80. {gmprocess-2.8.0 → gmprocess-2.9.0}/README.md +0 -0
  81. {gmprocess-2.8.0 → gmprocess-2.9.0}/pytest.ini +0 -0
  82. {gmprocess-2.8.0 → gmprocess-2.9.0}/setup.cfg +0 -0
  83. {gmprocess-2.8.0 → gmprocess-2.9.0}/setup.py +0 -0
  84. {gmprocess-2.8.0 → gmprocess-2.9.0}/setup_env.sh +0 -0
  85. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/__init__.py +0 -0
  86. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/apps/__init__.py +0 -0
  87. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/__init__.py +0 -0
  88. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/bundle_datarelease.py +0 -0
  89. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/cwa_gather.py +0 -0
  90. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/export_ff_sac.py +0 -0
  91. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/fetch_orfeus.py +0 -0
  92. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/fix_inventory.py +0 -0
  93. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/get_cali_cloud.py +0 -0
  94. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/gmconvert.py +0 -0
  95. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/gminfo.py +0 -0
  96. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/gmprocess_config.py +0 -0
  97. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/gmrecords.py +0 -0
  98. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/gmworkspace.py +0 -0
  99. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/bin/update_event_json.sh +0 -0
  100. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/__init__.py +0 -0
  101. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/core/scalar_event.py +0 -0
  102. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/CESMD_NGA_ids.csv +0 -0
  103. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/__init__.py +0 -0
  104. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/config_production_v1.yml +0 -0
  105. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/cosmos_table10.xls +0 -0
  106. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/cosmos_table4.xls +0 -0
  107. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/demo/ci38457511/raw/CICCC.RAW +0 -0
  108. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/demo/ci38457511/raw/CICLC.v1 +0 -0
  109. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/demo/ci38457511/raw/CITOW2.RAW +0 -0
  110. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/demo/nc72282711/workspace.h5 +0 -0
  111. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/fdsn_codes.csv +0 -0
  112. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/lme/SA_rotd50.0_2020.03.31.csv +0 -0
  113. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/modules.yml +0 -0
  114. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nga_w2_selected.csv +0 -0
  115. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_clipping/bias_1.csv +0 -0
  116. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_clipping/bias_output.csv +0 -0
  117. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_clipping/masterF.txt +0 -0
  118. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_clipping/weight_1.csv +0 -0
  119. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_clipping/weight_output.csv +0 -0
  120. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/M.csv +0 -0
  121. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/bias_1.csv +0 -0
  122. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/bias_2.csv +0 -0
  123. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/bias_output.csv +0 -0
  124. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/final_training.csv +0 -0
  125. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/masterF.txt +0 -0
  126. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/model_3.txt +0 -0
  127. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/model_5.txt +0 -0
  128. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/mu_sigma.csv +0 -0
  129. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/weight_1.csv +0 -0
  130. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/weight_2.csv +0 -0
  131. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/Cant/weight_output.csv +0 -0
  132. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/M.csv +0 -0
  133. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/bias_1.csv +0 -0
  134. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/bias_2.csv +0 -0
  135. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/bias_output.csv +0 -0
  136. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/final_training.csv +0 -0
  137. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/masterF.txt +0 -0
  138. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/model_0.txt +0 -0
  139. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/mu_sigma.csv +0 -0
  140. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/weight_1.csv +0 -0
  141. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/weight_2.csv +0 -0
  142. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/nn_qa/CantWell/weight_output.csv +0 -0
  143. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/picker.yml +0 -0
  144. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/station_coordinates.xlsx +0 -0
  145. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/data/usgs_ids_nga_and_srcmod_cross_reference.xlsx +0 -0
  146. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/gui/__init__.py +0 -0
  147. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/gui/gui_ucla/Documentation.md +0 -0
  148. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/gui/gui_ucla/GUI_human_review.ipynb +0 -0
  149. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/gui/gui_ucla/HumanReviewGUI.py +0 -0
  150. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/gui/gui_ucla/__init__.py +0 -0
  151. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/__init__.py +0 -0
  152. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/__init__.py +0 -0
  153. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/base_metrics_xml.py +0 -0
  154. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/core.py +0 -0
  155. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/path_utils.py +0 -0
  156. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/rupture.py +0 -0
  157. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/station_metrics_xml.py +0 -0
  158. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/utils.py +0 -0
  159. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/asdf/workspace_constants.py +0 -0
  160. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/bhrc/__init__.py +0 -0
  161. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/__init__.py +0 -0
  162. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/cesmd_fetcher.py +0 -0
  163. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/cesmd_search.py +0 -0
  164. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/core.py +0 -0
  165. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cosmos/data_structures.py +0 -0
  166. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cwb/__init__.py +0 -0
  167. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/cwb/core.py +0 -0
  168. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/dmg/__init__.py +0 -0
  169. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/dynamic_search_parameters.py +0 -0
  170. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/esm/__init__.py +0 -0
  171. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/esm/core.py +0 -0
  172. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/fetcher.py +0 -0
  173. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/geonet/__init__.py +0 -0
  174. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/geonet/core.py +0 -0
  175. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/global_fetcher.py +0 -0
  176. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/knet/__init__.py +0 -0
  177. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/knet/knet_fetcher.py +0 -0
  178. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/nga.py +0 -0
  179. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/nsmn/__init__.py +0 -0
  180. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/nsmn/core.py +0 -0
  181. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/obspy/__init__.py +0 -0
  182. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/renadic/__init__.py +0 -0
  183. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/renadic/core.py +0 -0
  184. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/report.py +0 -0
  185. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/smc/__init__.py +0 -0
  186. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/smc/core.py +0 -0
  187. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/unam/__init__.py +0 -0
  188. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/unam/core.py +0 -0
  189. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/usc/__init__.py +0 -0
  190. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/usc/core.py +0 -0
  191. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/io/utils.py +0 -0
  192. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/__init__.py +0 -0
  193. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/metric_collection_base.py +0 -0
  194. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/station_metric.py +0 -0
  195. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/station_metric_collection.py +0 -0
  196. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/metrics/waveform_metric_calculator_component_base.py +0 -0
  197. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/__init__.py +0 -0
  198. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/arg_dicts.py +0 -0
  199. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/assemble.py +0 -0
  200. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/autoprocess.py +0 -0
  201. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/autoshakemap.py +0 -0
  202. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/base.py +0 -0
  203. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/clean.py +0 -0
  204. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/compute_station_metrics.py +0 -0
  205. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/compute_waveform_metrics.py +0 -0
  206. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/download.py +0 -0
  207. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/export_cosmos.py +0 -0
  208. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/export_failure_tables.py +0 -0
  209. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/export_gmpacket.py +0 -0
  210. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/export_metric_tables.py +0 -0
  211. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/export_provenance_tables.py +0 -0
  212. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/generate_regression_plot.py +0 -0
  213. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/generate_report.py +0 -0
  214. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/generate_station_maps.py +0 -0
  215. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/import_data.py +0 -0
  216. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/init.py +0 -0
  217. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/lazy_loader.py +0 -0
  218. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/process_waveforms.py +0 -0
  219. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/processing_steps.py +0 -0
  220. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/subcommands/projects.py +0 -0
  221. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/__init__.py +0 -0
  222. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/args.py +0 -0
  223. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/config_versioning.py +0 -0
  224. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/download_utils.py +0 -0
  225. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/ground_motion_models.py +0 -0
  226. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/logging.py +0 -0
  227. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/memory.py +0 -0
  228. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/misc.py +0 -0
  229. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/prompt.py +0 -0
  230. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/rupture_utils.py +0 -0
  231. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/strec.py +0 -0
  232. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/summary_plots.py +0 -0
  233. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/tables.py +0 -0
  234. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/utils/tests_utils.py +0 -0
  235. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/__init__.py +0 -0
  236. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/adjust_highpass.py +0 -0
  237. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/adjust_highpass_ridder.py +0 -0
  238. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/baseline_correction.py +0 -0
  239. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/clip_detection.py +0 -0
  240. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/clipping_ann.py +0 -0
  241. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/clipping_check.py +0 -0
  242. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/histogram.py +0 -0
  243. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/jerk.py +0 -0
  244. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/max_amp.py +0 -0
  245. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/ping.py +0 -0
  246. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/clipping/std_dev.py +0 -0
  247. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/convert_units.py +0 -0
  248. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/corner_frequencies.py +0 -0
  249. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/count_stats.py +0 -0
  250. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/detrend.py +0 -0
  251. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/fft.py +0 -0
  252. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/filtering.py +0 -0
  253. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/integrate.py +0 -0
  254. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/nn_quality_assurance.py +0 -0
  255. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/pretesting.py +0 -0
  256. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/prism_adaptive_baseline.py +0 -0
  257. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/processing_step.py +0 -0
  258. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/resample.py +0 -0
  259. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/sanity_checks.py +0 -0
  260. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/snr.py +0 -0
  261. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/spectrum.py +0 -0
  262. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/taper.py +0 -0
  263. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/windows.py +0 -0
  264. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/zero_crossings.py +0 -0
  265. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess/waveform_processing/zero_pad.py +0 -0
  266. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/dependency_links.txt +0 -0
  267. {gmprocess-2.8.0 → gmprocess-2.9.0}/src/gmprocess.egg-info/top_level.txt +0 -0
  268. {gmprocess-2.8.0 → gmprocess-2.9.0}/tools/matlab/README.md +0 -0
  269. {gmprocess-2.8.0 → gmprocess-2.9.0}/tools/matlab/get_all_waveforms.m +0 -0
  270. {gmprocess-2.8.0 → gmprocess-2.9.0}/tools/matlab/get_events.m +0 -0
  271. {gmprocess-2.8.0 → gmprocess-2.9.0}/tools/matlab/get_waveform_metrics.m +0 -0
  272. {gmprocess-2.8.0 → gmprocess-2.9.0}/tools/matlab/waveform_plot.png +0 -0
@@ -1,4 +1,5 @@
1
1
  *.pyc
2
+ __pycache__/
2
3
  build
3
4
  *~
4
5
  .atom/
@@ -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
- - python regression_test.py --parameters ci.yml
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,74 @@
1
1
  ## main
2
2
 
3
+
4
+ ## 2.9.0 / 2026-11-09
5
+
6
+ - Enhancements
7
+ - Use of SIS metadata
8
+ - `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).
9
+ - Add the `gmrecords update_stationxml` subcommand, which gets an event's SIS metadata again. `--prune` removes saved responses that are no longer used.
10
+ - `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.
11
+ - 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.
12
+ - 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.
13
+ - `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.
14
+ - `fix_metadata_from_sis` uses the event's saved SIS metadata when it can find it, with no network requests; `--live` asks SIS instead.
15
+ - Added helper scripts for inspecting the SIS metadata updates (tools/sis_qa/)
16
+ - Station housing and free-field selection
17
+ - `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.
18
+ - 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).
19
+ - Waveform processing and metric calculations
20
+ - 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.
21
+ - 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.
22
+ - 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.
23
+ - 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.
24
+ - Readers and writers
25
+ - Add a `json` module to allow for easy reading of "one-off" pre-processed data sets.
26
+ - `assemble` writes `read_failures.csv` in the event directory instead of `raw`.
27
+ - Add `StationHousingCode`/`StationHousingDescription` columns to `export_metric_tables`'s output, so the COSMOS structure/housing code is included alongside the other station metadata.
28
+ - Add `H1Channel`/`H2Channel`/`ZChannel` columns to `export_metric_tables`'s output, naming the SEED channel behind each component.
29
+ - Bugfixes
30
+ - Use of SIS metadata
31
+ - 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.
32
+ - `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.
33
+ - Station housing and free-field selection
34
+ - 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.
35
+ - 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.
36
+ - Waveform processing and metric calculations
37
+ - The total and stage sensitivity check in `remove_response` now fails gains that differ when both are negative; it passed them.
38
+ - 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.
39
+ - 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.
40
+ - 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).
41
+ - 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).
42
+ - 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.
43
+ - 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.
44
+ - 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.
45
+ - `WaveformMetricComponent` comparisons now use both components; `==` was always true and `<` always false.
46
+ - Readers and writers
47
+ - Fixed `is_json` raising `UnicodeDecodeError` (logged as a spurious read error) when format-sniffing binary files.
48
+ - 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.
49
+ - 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.
50
+ - DMG reader: a date, time, serial number or data type in the structure type columns is no longer stored as the structure type.
51
+ - 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.
52
+ - 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.
53
+ - 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.
54
+ - 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.
55
+ - Fix flatfile station coordinates to use matching StationXML channel/location metadata, falling back to station-level coordinates when channel metadata is unavailable.
56
+ - COSMOS writer
57
+ - 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`.
58
+ - 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`.
59
+ - 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`.
60
+ - Fix COSMOS sensitivity headers 22 (µV/count) and 42 (V/g) by computing
61
+ sensitivities from StationXML response-stage gains and units.
62
+ - Fix COSMOS writer azimuth mapping for Z channels to 400 (up) or 401 (down)
63
+ - Other
64
+ - 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.
65
+ - Replace basemap layer for station maps to use Esri.WorldTopoMap because the default OpenStreetMap returns 403 error
66
+ - Add `prov` to the dependencies; gmprocess imports it directly and only got it through `pyasdf`.
67
+ - Tests
68
+ - Fix test isolation in `scalar_event_test.py` by using `tmp_path` instead of a shared scratch directory, preventing stale-file
69
+ and parallel-run failures.
70
+ - Fix test isolation in `gmconvert_test.py` and `gminfo_test.py` by using pytest `tmp_path` fixture
71
+
3
72
  ## 2.8.0 / 2026-08-27
4
73
 
5
74
  - Enhancements
@@ -82,12 +82,22 @@ Common reasons to rebase include:
82
82
  ```
83
83
  3. Update `CHANGELOG.md` to include the changes for this version. The goal is for the changelog to be kept up to date with each merge request, so this step should largely consist of creating a new section for this release and moving content into it from "main".
84
84
  4. Commit changes to the `v1.2.1.rc0` branch.
85
- 5. Push the branch to your origin.
85
+ 5. Generate the regression comparison reports for this release, review them, and commit them to the `v1.2.1.rc0` branch:
86
+ ```
87
+ cd tests/regression
88
+ python regression_test.py --parameters release.yml release
89
+ git add reports
90
+ git commit -m "Add the v1.2.1 regression reports"
91
+ ```
92
+ - 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`.
93
+ - 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.
94
+ - 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.
95
+ 6. Push the branch to your origin.
86
96
  ```
87
97
  git push origin v1.2.1.rc0
88
98
  ```
89
- 6. Create a merge request in to upstream main, merge it, and rebase locally.
90
- 7. Create an annotated tag **from main** and push the tag upstream
99
+ 7. Create a merge request in to upstream main, review the reports with the rest of the changes, merge it, and rebase locally.
100
+ 8. Create an annotated tag **from main** and push the tag upstream
91
101
  ```
92
102
  git tag -a v1.2.1 -m "Version 1.2.1"
93
103
  git push upstream v1.2.1
@@ -96,8 +106,8 @@ Common reasons to rebase include:
96
106
  - *Note that we cannot have a hyphen in the tag name.*
97
107
  - 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
108
  - 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 gitlab. Give it a release title like `v1.2.1`.
100
- 9. Copy/paste the relevant part of the changelog into the "describe this release" section.
109
+ 9. Create release from tag in gitlab. Give it a release title like `v1.2.1`.
110
+ 10. Copy/paste the relevant part of the changelog into the "describe this release" section.
101
111
 
102
112
 
103
113
  ## Build Documentation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gmprocess
3
- Version: 2.8.0
3
+ Version: 2.9.0
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,86 @@
1
1
  [
2
+ {
3
+ "name": "groundmotion-processing",
4
+ "description": "Read and process ground motion waveform data",
5
+ "version": "v2.9.0",
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.0/groundmotion-processing-v2.9.0.zip",
12
+ "disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.0/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.0/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-09"
41
+ }
42
+ },
43
+ {
44
+ "name": "groundmotion-processing",
45
+ "description": "Read and process ground motion waveform data",
46
+ "version": "v2.8.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.8.0/groundmotion-processing-v2.8.0.zip",
53
+ "disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.8.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.8.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-08-27"
82
+ }
83
+ },
2
84
  {
3
85
  "name": "groundmotion-processing",
4
86
  "description": "Read and process ground motion waveform data",
@@ -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"
@@ -303,6 +303,7 @@ class GMrecordsApp(object):
303
303
  "assemble",
304
304
  "autoshakemap",
305
305
  "autoprocess",
306
+ "update_stationxml",
306
307
  ]
307
308
  if self.args.func.command_name in subcommands_need_conf:
308
309
  self.conf = configmod.get_config(config_path=self.conf_path)