gmprocess 2.5.0__tar.gz → 2.7.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 (254) hide show
  1. {gmprocess-2.5.0 → gmprocess-2.7.0}/.gitignore +1 -1
  2. {gmprocess-2.5.0 → gmprocess-2.7.0}/.gitlab-ci.yml +8 -2
  3. gmprocess-2.7.0/.vscode/settings.json +4 -0
  4. {gmprocess-2.5.0 → gmprocess-2.7.0}/CHANGELOG.md +92 -41
  5. {gmprocess-2.5.0 → gmprocess-2.7.0}/PKG-INFO +12 -8
  6. {gmprocess-2.5.0 → gmprocess-2.7.0}/README.md +1 -1
  7. {gmprocess-2.5.0 → gmprocess-2.7.0}/code.json +82 -0
  8. {gmprocess-2.5.0 → gmprocess-2.7.0}/pyproject.toml +14 -7
  9. {gmprocess-2.5.0 → gmprocess-2.7.0}/setup_env.sh +1 -1
  10. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/apps/gmrecords.py +2 -0
  11. gmprocess-2.7.0/src/gmprocess/bin/export_ff_sac.py +315 -0
  12. gmprocess-2.7.0/src/gmprocess/bin/get_cali_cloud.py +1075 -0
  13. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/stationstream.py +38 -26
  14. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/stationtrace.py +13 -10
  15. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/streamcollection.py +7 -1
  16. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/config_production.yml +5 -4
  17. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/config_production_v1.yml +1 -1
  18. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/config_test.yml +2 -1
  19. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/fdsn_codes.csv +3 -3
  20. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/flatfile.py +19 -4
  21. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/flatfile_constants.py +3 -0
  22. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/cesmd_fetcher.py +14 -1
  23. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/cosmos_writer.py +188 -211
  24. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/data_structures.py +1 -1
  25. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/global_fetcher.py +6 -4
  26. gmprocess-2.7.0/src/gmprocess/io/knet/knet_fetcher.py +420 -0
  27. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/obspy/core.py +4 -3
  28. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/obspy/fdsn_fetcher.py +14 -3
  29. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/read_directory.py +6 -5
  30. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/utils.py +1 -1
  31. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_collection.py +13 -5
  32. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/compute_station_metrics.py +10 -6
  33. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/export_metric_tables.py +12 -6
  34. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/init.py +1 -1
  35. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/export_gmpacket_utils.py +12 -2
  36. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/adjust_highpass_ridder.py +6 -2
  37. gmprocess-2.7.0/src/gmprocess/waveform_processing/count_stats.py +14 -0
  38. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/detrend.py +2 -1
  39. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/instrument_response.py +21 -11
  40. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/PKG-INFO +12 -8
  41. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/SOURCES.txt +4 -0
  42. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/entry_points.txt +2 -0
  43. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/requires.txt +10 -6
  44. gmprocess-2.5.0/src/gmprocess/io/knet/knet_fetcher.py +0 -441
  45. {gmprocess-2.5.0 → gmprocess-2.7.0}/.coveragerc +0 -0
  46. {gmprocess-2.5.0 → gmprocess-2.7.0}/CODE_OF_CONDUCT.md +0 -0
  47. {gmprocess-2.5.0 → gmprocess-2.7.0}/CONTRIBUTING.md +0 -0
  48. {gmprocess-2.5.0 → gmprocess-2.7.0}/DISCLAIMER.md +0 -0
  49. {gmprocess-2.5.0 → gmprocess-2.7.0}/LICENSE.md +0 -0
  50. {gmprocess-2.5.0 → gmprocess-2.7.0}/MANIFEST.in +0 -0
  51. {gmprocess-2.5.0 → gmprocess-2.7.0}/pytest.ini +0 -0
  52. {gmprocess-2.5.0 → gmprocess-2.7.0}/setup.cfg +0 -0
  53. {gmprocess-2.5.0 → gmprocess-2.7.0}/setup.py +0 -0
  54. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/__init__.py +0 -0
  55. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/apps/__init__.py +0 -0
  56. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/__init__.py +0 -0
  57. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/bundle_datarelease.py +0 -0
  58. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/cwa_gather.py +0 -0
  59. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/fetch_orfeus.py +0 -0
  60. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/fix_inventory.py +0 -0
  61. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/gmconvert.py +0 -0
  62. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/gminfo.py +0 -0
  63. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/gmprocess_config.py +0 -0
  64. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/gmrecords.py +0 -0
  65. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/gmworkspace.py +0 -0
  66. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/bin/update_event_json.sh +0 -0
  67. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/__init__.py +0 -0
  68. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/provenance.py +0 -0
  69. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/scalar_event.py +0 -0
  70. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/core/streamarray.py +0 -0
  71. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/CESMD_NGA_ids.csv +0 -0
  72. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/__init__.py +0 -0
  73. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/config_test_download.yml +0 -0
  74. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/cosmos_table10.xls +0 -0
  75. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/cosmos_table4.xls +0 -0
  76. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/demo/ci38457511/raw/CICCC.RAW +0 -0
  77. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/demo/ci38457511/raw/CICLC.v1 +0 -0
  78. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/demo/ci38457511/raw/CITOW2.RAW +0 -0
  79. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/demo/nc72282711/workspace.h5 +0 -0
  80. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/lme/SA_rotd50.0_2020.03.31.csv +0 -0
  81. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/modules.yml +0 -0
  82. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nga_w2_selected.csv +0 -0
  83. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_clipping/bias_1.csv +0 -0
  84. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_clipping/bias_output.csv +0 -0
  85. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_clipping/masterF.txt +0 -0
  86. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_clipping/weight_1.csv +0 -0
  87. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_clipping/weight_output.csv +0 -0
  88. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/M.csv +0 -0
  89. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/bias_1.csv +0 -0
  90. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/bias_2.csv +0 -0
  91. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/bias_output.csv +0 -0
  92. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/final_training.csv +0 -0
  93. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/masterF.txt +0 -0
  94. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/model_3.txt +0 -0
  95. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/model_5.txt +0 -0
  96. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/mu_sigma.csv +0 -0
  97. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/weight_1.csv +0 -0
  98. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/weight_2.csv +0 -0
  99. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/Cant/weight_output.csv +0 -0
  100. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/M.csv +0 -0
  101. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/bias_1.csv +0 -0
  102. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/bias_2.csv +0 -0
  103. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/bias_output.csv +0 -0
  104. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/final_training.csv +0 -0
  105. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/masterF.txt +0 -0
  106. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/model_0.txt +0 -0
  107. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/mu_sigma.csv +0 -0
  108. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/weight_1.csv +0 -0
  109. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/weight_2.csv +0 -0
  110. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/nn_qa/CantWell/weight_output.csv +0 -0
  111. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/picker.yml +0 -0
  112. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/station_coordinates.xlsx +0 -0
  113. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/data/usgs_ids_nga_and_srcmod_cross_reference.xlsx +0 -0
  114. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/gui/__init__.py +0 -0
  115. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/gui/gui_ucla/Documentation.md +0 -0
  116. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/gui/gui_ucla/GUI_human_review.ipynb +0 -0
  117. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/gui/gui_ucla/HumanReviewGUI.py +0 -0
  118. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/gui/gui_ucla/__init__.py +0 -0
  119. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/__init__.py +0 -0
  120. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/__init__.py +0 -0
  121. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/base_metrics_xml.py +0 -0
  122. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/core.py +0 -0
  123. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/path_utils.py +0 -0
  124. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/rupture.py +0 -0
  125. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/station_metrics_xml.py +0 -0
  126. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/stream_workspace.py +0 -0
  127. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/utils.py +0 -0
  128. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/waveform_metrics_xml.py +0 -0
  129. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/asdf/workspace_constants.py +0 -0
  130. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/bhrc/__init__.py +0 -0
  131. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/bhrc/core.py +0 -0
  132. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/__init__.py +0 -0
  133. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/cesmd_search.py +0 -0
  134. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cosmos/core.py +0 -0
  135. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cwb/__init__.py +0 -0
  136. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/cwb/core.py +0 -0
  137. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/dmg/__init__.py +0 -0
  138. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/dmg/core.py +0 -0
  139. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/dynamic_search_parameters.py +0 -0
  140. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/esm/__init__.py +0 -0
  141. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/esm/core.py +0 -0
  142. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/fetcher.py +0 -0
  143. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/geonet/__init__.py +0 -0
  144. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/geonet/core.py +0 -0
  145. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/knet/__init__.py +0 -0
  146. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/knet/core.py +0 -0
  147. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/nga.py +0 -0
  148. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/nsmn/__init__.py +0 -0
  149. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/nsmn/core.py +0 -0
  150. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/obspy/__init__.py +0 -0
  151. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/read.py +0 -0
  152. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/renadic/__init__.py +0 -0
  153. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/renadic/core.py +0 -0
  154. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/report.py +0 -0
  155. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/seedname.py +0 -0
  156. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/smc/__init__.py +0 -0
  157. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/smc/core.py +0 -0
  158. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/unam/__init__.py +0 -0
  159. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/unam/core.py +0 -0
  160. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/usc/__init__.py +0 -0
  161. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/io/usc/core.py +0 -0
  162. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/__init__.py +0 -0
  163. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/combine.py +0 -0
  164. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/containers.py +0 -0
  165. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/metric_collection_base.py +0 -0
  166. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/oscillator.py +0 -0
  167. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/reduce.py +0 -0
  168. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/rotate.py +0 -0
  169. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/station_metric.py +0 -0
  170. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/station_metric_collection.py +0 -0
  171. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/transform.py +0 -0
  172. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/utils.py +0 -0
  173. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_calculator.py +0 -0
  174. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_calculator_component_base.py +0 -0
  175. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_component.py +0 -0
  176. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_list.py +0 -0
  177. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/metrics/waveform_metric_type.py +0 -0
  178. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/__init__.py +0 -0
  179. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/arg_dicts.py +0 -0
  180. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/assemble.py +0 -0
  181. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/autoprocess.py +0 -0
  182. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/autoshakemap.py +0 -0
  183. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/base.py +0 -0
  184. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/clean.py +0 -0
  185. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/compute_waveform_metrics.py +0 -0
  186. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/download.py +1 -1
  187. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/export_cosmos.py +0 -0
  188. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/export_failure_tables.py +0 -0
  189. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/export_gmpacket.py +0 -0
  190. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/export_provenance_tables.py +0 -0
  191. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/generate_regression_plot.py +0 -0
  192. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/generate_report.py +0 -0
  193. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/generate_station_maps.py +0 -0
  194. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/import_data.py +0 -0
  195. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/lazy_loader.py +0 -0
  196. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/process_waveforms.py +0 -0
  197. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/processing_steps.py +0 -0
  198. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/subcommands/projects.py +0 -0
  199. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/__init__.py +0 -0
  200. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/args.py +0 -0
  201. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/assemble_utils.py +0 -0
  202. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/config.py +0 -0
  203. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/config_versioning.py +0 -0
  204. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/constants.py +0 -0
  205. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/download_utils.py +0 -0
  206. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/ground_motion_models.py +0 -0
  207. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/logging.py +0 -0
  208. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/memory.py +0 -0
  209. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/misc.py +0 -0
  210. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/misc_plots.py +0 -0
  211. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/prompt.py +0 -0
  212. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/report_utils.py +0 -0
  213. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/rupture_utils.py +0 -0
  214. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/strec.py +0 -0
  215. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/summary_plots.py +0 -0
  216. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/tables.py +0 -0
  217. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/utils/tests_utils.py +0 -0
  218. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/__init__.py +0 -0
  219. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/adjust_highpass.py +0 -0
  220. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/baseline_correction.py +0 -0
  221. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/clip_detection.py +0 -0
  222. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/clipping_ann.py +0 -0
  223. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/clipping_check.py +0 -0
  224. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/histogram.py +0 -0
  225. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/jerk.py +0 -0
  226. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/max_amp.py +0 -0
  227. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/ping.py +0 -0
  228. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/clipping/std_dev.py +0 -0
  229. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/convert_units.py +0 -0
  230. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/corner_frequencies.py +0 -0
  231. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/fft.py +0 -0
  232. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/filtering.py +0 -0
  233. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/integrate.py +0 -0
  234. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/nn_quality_assurance.py +0 -0
  235. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/phase.py +0 -0
  236. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/pretesting.py +0 -0
  237. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/prism_adaptive_baseline.py +0 -0
  238. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/processing.py +0 -0
  239. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/processing_step.py +0 -0
  240. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/resample.py +0 -0
  241. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/sanity_checks.py +0 -0
  242. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/snr.py +0 -0
  243. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/spectrum.py +0 -0
  244. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/taper.py +0 -0
  245. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/windows.py +0 -0
  246. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/zero_crossings.py +0 -0
  247. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess/waveform_processing/zero_pad.py +0 -0
  248. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/dependency_links.txt +0 -0
  249. {gmprocess-2.5.0 → gmprocess-2.7.0}/src/gmprocess.egg-info/top_level.txt +0 -0
  250. {gmprocess-2.5.0 → gmprocess-2.7.0}/tools/matlab/README.md +0 -0
  251. {gmprocess-2.5.0 → gmprocess-2.7.0}/tools/matlab/get_all_waveforms.m +0 -0
  252. {gmprocess-2.5.0 → gmprocess-2.7.0}/tools/matlab/get_events.m +0 -0
  253. {gmprocess-2.5.0 → gmprocess-2.7.0}/tools/matlab/get_waveform_metrics.m +0 -0
  254. {gmprocess-2.5.0 → gmprocess-2.7.0}/tools/matlab/waveform_plot.png +0 -0
@@ -17,9 +17,9 @@ docs/_build
17
17
  docs/contents/tutorials/data
18
18
  docs/contents/tutorials/*.log
19
19
  *code-workspace*
20
- .vscode/
21
20
  dask-worker-space/
22
21
  *code-workspace
23
22
  # Vim tags
24
23
  tags
25
24
  public
25
+ .vscode/
@@ -5,8 +5,11 @@ default:
5
5
  # - shakecast-dev
6
6
  before_script:
7
7
  - python --version
8
+ - apt-get update
9
+ - apt-get install -y python3.12-venv tree
10
+ - python -m venv venv
11
+ - source venv/bin/activate
8
12
  - export PATH="/home/usgs-user/.local/bin:$PATH"
9
- - apt-get install tree
10
13
 
11
14
  # repository rules
12
15
  .fork: &fork
@@ -78,8 +81,11 @@ pages:
78
81
  image: code.usgs.gov:5001/devops/images/usgs/python:3.12-build
79
82
  before_script:
80
83
  - python --version
84
+ - apt-get update
85
+ - apt-get install -y python3.12-venv tree
86
+ - python -m venv venv
87
+ - source venv/bin/activate
81
88
  - export PATH="/home/usgs-user/.local/bin:$PATH"
82
- - apt-get install tree
83
89
  artifacts:
84
90
  paths:
85
91
  # The folder that contains the files to be exposed at the Page URL
@@ -0,0 +1,4 @@
1
+ {
2
+ "python.formatting.provider": "black",
3
+ "editor.formatOnSave": true
4
+ }
@@ -1,5 +1,49 @@
1
1
  ## main
2
2
 
3
+
4
+ ## 2.7.0 / 2026-06-04
5
+
6
+ - Enhancements
7
+ - Support PSA metric for gmpacket files
8
+ - Add export_ff_sac script for selecting SAC files for finite fault inversion
9
+ - Add unit test for export_ff_sac script
10
+ - Treat an empty location code as the same as "--" when checking for duplicate records
11
+ - Updated KNET fetcher to use NIED http directory interface
12
+ - Added unit tests to test V3 cosmos writer (and updated workspace.h5)
13
+ - Add "count_mean", "count_min", and "count_max" as trace parameters.
14
+ - Add logging to show query for CESMD fetcher if a timeout occurs
15
+ - Bugfix
16
+ - Fixed cosmos v3 writer where damping_values was assigned in wrong scope
17
+ - Fixed cosmos v3 bug with concatenate_channels=False (only one trace got periods)
18
+ - Set trace warnings and failures for instrument response mismatches between total sensitivity and stages.
19
+ - Fix station metric bug in imc_sort by forcing waveform metric to match station metric before writing
20
+ - Fix compute_station_metrics.py to write to station metrics if any stream passed
21
+
22
+ ## 2.6.0 / 2026-04-20
23
+
24
+ - Enhancements
25
+ - Make cosmos writer more consistent with PRISM formatting
26
+ - Strip zero pads after integration in cosmos writer
27
+ - Strip zero pads works if no zero pads applied to trace
28
+ - New script get_cali_cloud that retrieves data from NCEDC/SCEDC AWS S3 buckets.
29
+ - Bugfix
30
+ - Fix bug where a mSEED file was read as tar file based on magic number
31
+ - Fixed cosmos v3 writer so multidamping response spectra can be used
32
+ - Fixed units reported in COSMOS V3 file.
33
+ - Fixed Excel writer for mtables to use updated arguments
34
+ - Added 'location "\*"' to config file because it can impact data downloaded
35
+ - Fix description of the "Butterworth gmprocess" filter method.
36
+ - Dependencies
37
+ - Upgraded esi-core to v1.2.1
38
+ - Added pydantic[email] as a dependency
39
+ - Require numpy>1.26 and remove cap on numpy 2.
40
+ - Updated minimum version of pandas to 1.3.0
41
+ - Updated minimum version of openpyxl to 3.1.0
42
+ - Updated minimum version of obspy to 1.5.0
43
+ - Other
44
+ - Updated GFZ domain name from gfz-potsdam.de to gfz.de
45
+ - Temporarily install obspy from source and encorce setuptools<82.
46
+
3
47
  ## 2.5.0 / 2025-05-21
4
48
 
5
49
  - Enhancements
@@ -21,7 +65,7 @@
21
65
  - Bugfix
22
66
  - Fix error with zeropad method using 'fhp' to extracts filter order
23
67
  - Fix cosmos v0 writer header failing to write sensitivities due to if statement testing 'trace.stats.standard' instead of 'trace.stats'
24
- - Set self.output_units in instrument_response.RemoveResponse._remove_sensivitiy() to "ACC" (was not set).
68
+ - Set self.output_units in instrument_response.RemoveResponse.\_remove_sensivitiy() to "ACC" (was not set).
25
69
  - Get structure type from correct field in DMG format.
26
70
  - Fix two calls to `numpy.mean()` to avoid warnings about zero length arrays.
27
71
  - Fixed error in parsing units from COSMOS format.
@@ -35,18 +79,18 @@
35
79
  - Increase default query window duration.
36
80
  - Add a new "source_path" method to compute the signal end that uses 1/fc as the source duration, which is then added to a path duration that is parameterized with coefficients for an intercept and distance term.
37
81
  - Exclude network 7D, which is for ocean bottom stations.
38
- - Apply clipping check to strong motion instruments. In the past, we thought it was safe to assume strong motion instruments did not clip but we have found exceptions to this.
82
+ - Apply clipping check to strong motion instruments. In the past, we thought it was safe to assume strong motion instruments did not clip but we have found exceptions to this.
39
83
  - Update summary plots so that the time axis is the same across raw, accel, vel, and disp plots.
40
84
  - Update report to plot stations in order of epicentral distance.
41
85
  - Update setup_env.sh to use miniforge rather than miniconda and renamed to install.sh to be consistent with other repos.
42
86
  - Add taper before differentiation for velocity instruments.
43
- - Expand instrument response QA to include consistency of units with instrument type.
44
- - Set unit registry to treat "counts" as having a unique dimension, rather than being dimensionless.
87
+ - Expand instrument response QA to include consistency of units with instrument type.
88
+ - Set unit registry to treat "counts" as having a unique dimension, rather than being dimensionless.
45
89
  - Simplify SNR failure message.
46
90
  - Allow water_level to be specified as "None" for the instrument response in config file.
47
91
  - Add QA check for inconsistency in sample rate reported in data and metadata.
48
92
  - Increase `sec_before_split` default value for trimming the record.
49
- - Add config options to allow for using a Butterworth filter for filtering prior to instrument response removal, rather than the default options that ObsPy uses with their `remove_response` method.
93
+ - Add config options to allow for using a Butterworth filter for filtering prior to instrument response removal, rather than the default options that ObsPy uses with their `remove_response` method.
50
94
  - Add `bandpass` processing step.
51
95
  - Documentation
52
96
  - Fix the description of the --textfile option for gmrecords.
@@ -58,6 +102,7 @@
58
102
  - Bugfix in normalizing pre-event noise spectra.
59
103
 
60
104
  ## 2.2.0 / 2024-12-23
105
+
61
106
  - Enhancements
62
107
  - Add the PRISM/Jones et al. (doi: 10.1785/0220160200) adaptive baseline correction step.
63
108
  - Add support for SV and SD metrics (for cosmos writer V3)
@@ -76,16 +121,17 @@
76
121
  - Bug fixes
77
122
  - Ensure that the FFT is taken for the length record as is used for normalizing the SNR.
78
123
  - Other
79
- - When trying to read the config file, allow for yaml read error to be raised rather than returning None.
124
+ - When trying to read the config file, allow for yaml read error to be raised rather than returning None.
80
125
  - Increase tolerance for misaligned traces to be resampled.
81
126
 
82
127
  ## 2.1.2 / 2024-11-14
128
+
83
129
  - Enhancements
84
130
  - Station distance (epicentral distance) added to the reports
85
131
  - Add support velocity and displacement COSMOS and DMG files
86
132
  - More graceful exiting when bad eventid is inputted to `download`
87
133
  - Allow `reports` to continue processing when an event directory is empty (no data)
88
- - Update default config to use the Ramos-Sepulveda et al. (2023) high-pass corner selection method, and increase the p-wave shift to -2 sec from -1 sec.
134
+ - Update default config to use the Ramos-Sepulveda et al. (2023) high-pass corner selection method, and increase the p-wave shift to -2 sec from -1 sec.
89
135
  - Bug fixes
90
136
  - Resolve ps2ff imports
91
137
  - Distance to source in reports fixed for failed traces
@@ -95,12 +141,13 @@
95
141
  - Exclude 'XO' network as default in config ('XO' is an assortment of temporary deployment networks in the Alaska region)
96
142
  - Added a fetch_orfeus script to bin that allows users to create gmprocess-compliant workspace files
97
143
  from data downloaded from the European ORFEUS Engineering Strong Motion (ESM) web-service.
98
- - Removed what looked to be a workaround to capture MassDownloader output sent to stdout and redirect to our logging.
144
+ - Removed what looked to be a workaround to capture MassDownloader output sent to stdout and redirect to our logging.
99
145
  With the newer versions of Obspy this is no longer necessary.
100
146
 
101
147
  ## 2.1.1 / 2024-09-16
148
+
102
149
  - Enhancements
103
- - Modified default frequencies for FAS metrics to be consistent with (Kottke AR, et al, 2021)
150
+ - Modified default frequencies for FAS metrics to be consistent with (Kottke AR, et al, 2021)
104
151
  - Added FAS check to unit test for `export_metric_tables`
105
152
  - Bug fixes
106
153
  - Fixed bug when running `compute_station_metrics` so that failed streams are not added to the workspace
@@ -109,6 +156,7 @@
109
156
  - Fixed missing vertical/horizontal orientation information in KNET reader.
110
157
 
111
158
  ## 2.1.0 / 2024-06-09
159
+
112
160
  - New features
113
161
  - Add UCLA review GUI
114
162
  - Add --conf and --data command line arguments for the gmrecords command.
@@ -128,6 +176,7 @@
128
176
  - Fix `autoshakemap` to use `export_gmpacket` subcommand instead of `export_shakemap`.
129
177
 
130
178
  ## 2.0.0 / 2024-02-26
179
+
131
180
  - Documentation Updates
132
181
  - Switched over to the vectorized openquake for the mixed effects tutorial.
133
182
  - Fixed typos and removed unused imports for openquake
@@ -149,13 +198,15 @@
149
198
  - Move the "config" subcommand to be a stand-alone command line program called "gmprocess_config".
150
199
  - Removed "list_metrics" command.
151
200
  - Removed cap on python version, increased minimum version to 3.9
152
- - Updated cwb_gather command, and renamed to cwa_gather and updated instructions to include TSMIP and StationXML now that it is available.
201
+ - Updated cwb_gather command, and renamed to cwa_gather and updated instructions to include TSMIP and StationXML now that it is available.
153
202
  - Capped scipy version to be less than 1.13 because of incompatibility with obspy (should be fixed in next version of obspy).
154
203
 
155
204
  ## 1.3.2 / 2024-02-03
205
+
156
206
  - Fix bug in trace units that was created in 1.3.1 and affects all velocity instruments.
157
207
 
158
208
  ## 1.3.1 / 2024-01-31
209
+
159
210
  - Fix bug that vs30measured should be bool, not float.
160
211
  - Adjust io tests to make use of pytest fixtures and get a bit of speedup.
161
212
  - Re-organize waveform_processing/instrument_response.py module.
@@ -192,7 +243,7 @@
192
243
 
193
244
  - Added station metric units to constants.
194
245
  - Bugfixes
195
- - Resolve key error that was preventing writing of metric tables when Arias Intensity was requested.
246
+ - Resolve key error that was preventing writing of metric tables when Arias Intensity was requested.
196
247
  - Resolve bug that occurs when multiple channels/stations are present in the inventory when trying to retrieve the sampling rate for the metric table.
197
248
 
198
249
  ## 1.2.8 / 2023-08-21
@@ -216,15 +267,15 @@
216
267
 
217
268
  ## 1.2.7 / 2023-04-28
218
269
 
219
- - Add the "no_noise" option to the "windows" section of the config to allow for processing older waveforms that did not include pre-event noise.
270
+ - Add the "no_noise" option to the "windows" section of the config to allow for processing older waveforms that did not include pre-event noise.
220
271
  - Update workspace so that when the config attribute is set, any missing values entries are filled in with defaults.
221
272
  - Moved supplemental stream info out of StationXML description field and into auxiliary data.
222
273
  - Added a "fix_inventory" utility script to move data supplemental stream data from StationXML to auxiliary data in existing workspace files.
223
274
  - Bugfixes
224
275
  - Avoid gmpacket export error when no records are present.
225
- - Adding support for STREC (https://code.usgs.gov/ghsc/esi/strec#table-of-contents) in gmprocess-
226
- probabilities of different regimes and supporting STREC information are now added to the auxiliary
227
- data section of the workspace.
276
+ - Adding support for STREC (https://code.usgs.gov/ghsc/esi/strec#table-of-contents) in gmprocess-
277
+ probabilities of different regimes and supporting STREC information are now added to the auxiliary
278
+ data section of the workspace.
228
279
 
229
280
  ## 1.2.6 / 2023-03-18
230
281
 
@@ -243,9 +294,9 @@
243
294
  - Added event depth to gmprocess reports
244
295
  - Updated pphase_test to use StationTrace object instead of obspy trace
245
296
  - Allowed string for label parameter in getStreams() method
246
- - Added warning if label not found in workspace file when using getStreams() method
297
+ - Added warning if label not found in workspace file when using getStreams() method
247
298
  - Bugfixes
248
- - Fixed bug in station_summary.py that was using deprecated _quadrilaterals property of EdgeRupture class.
299
+ - Fixed bug in station_summary.py that was using deprecated \_quadrilaterals property of EdgeRupture class.
249
300
  - Fixed bug in StationTrace filters where the bandpass option was not implemented and no warning was given.
250
301
  - Fixed bug in fdsn_fetcher.py that caused either URL or name-based data providers to fail on download
251
302
  - Allow more date formats for time stamps in Engineering Strong Motion (ESM) ASCII reader.
@@ -261,9 +312,9 @@
261
312
  - Bugfixes
262
313
  - Use event depth in km, not m, in hypocentral and rupture distance calculations. Bug was introduced in v1.2.3.
263
314
  - Account for pre-event noise duration, event noise duration, and shaking duration in signal-to-noise calculation. Plot normalized spectra in report.
264
- - Raise exceptions that were trapped for but not raised by the addition of the email alert notifications.
315
+ - Raise exceptions that were trapped for but not raised by the addition of the email alert notifications.
265
316
  - Added command to create [ground motion packet](https://github.com/SCEDC/ground-motion-packet/#description-of-gmp-a-geojson-specification-for-ground-motion-metrics) files.
266
- - Alter how TEST_DATA_DIR is constructed in constanst.py to facilitate running local tests with PyTest against a Conda-Forge or PyPi installed gmprocess distribution
317
+ - Alter how TEST_DATA_DIR is constructed in constanst.py to facilitate running local tests with PyTest against a Conda-Forge or PyPi installed gmprocess distribution
267
318
  - Updated reader for the Engineering Strong Motion (ESM) ascii format.
268
319
 
269
320
  ## 1.2.3 / 2022-12-23
@@ -276,18 +327,18 @@
276
327
 
277
328
  ## 1.2.2 / 2022-11-08
278
329
 
279
- - Adding "Merge Request Guidelines" and "Release Steps" sections to developer resources.
330
+ - Adding "Merge Request Guidelines" and "Release Steps" sections to developer resources.
280
331
  - Improve projects subcommand.
281
332
  - Always prompt for names of 'data' and 'conf' directories with reasonable defaults.
282
333
  - Provide appropriate error message when attempting to list, switch, or delete projects when none exist.
283
334
  - Allow use of projects subcommand from Python scripts.
284
- - Fixes SAC format units conversion issue.
335
+ - Fixes SAC format units conversion issue.
285
336
  - Add lp_max option for lowpass_max_frequency method.
286
337
  - Add the `autoprocess` subcommand, which requires moving some subcommand arguments to gmprocess; this includes `eventid`, `textfile`, `label`, `num-processes`, and `overwrite`.
287
338
  - Note that moving the `label` argument to gmrecords from the subcommands means that the short flag `-l` conflicts with `log` so the short flag for log has been removed.
288
339
  - Include "passed" or "failed" for each station in export_failure_tables in addition to failure reason.
289
340
  - Moved location of the changelog (this file) from doc_source/contents/developer/changelog.md to CHANGELOG.md.
290
- - Bugfix in `assemble` where the project conf file was not getting used while constructing the StreamCollection/StreamArray.
341
+ - Bugfix in `assemble` where the project conf file was not getting used while constructing the StreamCollection/StreamArray.
291
342
 
292
343
  ## 1.2.1 / 2022-10-04
293
344
 
@@ -296,8 +347,8 @@
296
347
  - Add changelog.
297
348
  - Add "config" subcommand to gmrecords.
298
349
  - Fix pandas to_latex warning.
299
- - Add check_stream config section with any_trace_failures key.
300
- - Modify StationID column in metric tables to include full channel code when available.
350
+ - Add check_stream config section with any_trace_failures key.
351
+ - Modify StationID column in metric tables to include full channel code when available.
301
352
  - Move C code to esi-core repository.
302
353
  - Added rename project flag for gmrecords proj subcommand
303
354
  - Switched from os.path to Pathlib in projects.py and gmrecords.py
@@ -305,7 +356,7 @@
305
356
  ## 1.2.0 / 2022-08-15
306
357
 
307
358
  - First release with wheels uploaded to pypi.
308
- - Major reorganization of code, putting the base package inside src/.
359
+ - Major reorganization of code, putting the base package inside src/.
309
360
  - Replace dask with concurrent.futures
310
361
  - Factor out pkg_resources
311
362
  - Remove support for Vs30 (because it adds too many dependencies)
@@ -317,7 +368,7 @@
317
368
  - Reorganize processing step modules.
318
369
  - Resolve a lot of future warnings.
319
370
  - In config, replace "do_check" with "enabled" for a more consistent naming convention across config sections.
320
- - Reorganiztaion of config structure to allow for parameters to be unspecified and thus use the default values from the associated methods.
371
+ - Reorganiztaion of config structure to allow for parameters to be unspecified and thus use the default values from the associated methods.
321
372
  - More gracefully handle cases where workspace file does not exist but is expected.
322
373
  - Add label arg to gmconvert.
323
374
  - Make colocated selection optional.
@@ -332,7 +383,7 @@
332
383
  - Add support for frequency domain filtering.
333
384
  - Add support for frequency domain integration.
334
385
  - Turn off logging to stream if using log file and allow user specified filename for logging.
335
- - Apply min freq criteria to high pass filter.
386
+ - Apply min freq criteria to high pass filter.
336
387
  - Fix confusion between 'unit_types' and 'units'.
337
388
  - Adding in code to handle Taiwan data script.
338
389
  - Added cosmos writer.
@@ -391,25 +442,25 @@
391
442
 
392
443
  ## 1.1.0 / 2020-08-30
393
444
 
394
- - Instrument response correction will now always try to use poles/zeros to remove
445
+ - Instrument response correction will now always try to use poles/zeros to remove
395
446
  response, and only use the simpler sensitivity method if no poles/zeros are available.
396
- - The pattern matching on excluding FDSN records is improved to better handle wildcards,
447
+ - The pattern matching on excluding FDSN records is improved to better handle wildcards,
397
448
  and can be applied to channel, network, station, and location codes.
398
- - Fixed a bug where zeros could be returned by the Konno-Omachi smoothing algorithm.
399
- Now it will return nans if there's no point within the smoothing window, and there's
449
+ - Fixed a bug where zeros could be returned by the Konno-Omachi smoothing algorithm.
450
+ Now it will return nans if there's no point within the smoothing window, and there's
400
451
  an option to zero-pad the data to ensure that there are points in all windows.
401
- - Fixed bug in Raoof et al. attention model (that is used for fitting a Brune spectra
452
+ - Fixed bug in Raoof et al. attention model (that is used for fitting a Brune spectra
402
453
  to the signal spectra)
403
454
  - Added a goodness-of-fit measure of the Brune spectra to the signal spectra.
404
- - Fixed bug in station map that allowed the extent to be too small if there's only one
455
+ - Fixed bug in station map that allowed the extent to be too small if there's only one
405
456
  station and it is very close to the earthquake.
406
- - Fixed bugs in code for reading the workspace file into Matlab that arose because it
457
+ - Fixed bugs in code for reading the workspace file into Matlab that arose because it
407
458
  was not kept up to date with other changes in the code.
408
459
  - Relaxed the restrictions placed on the allowed IMT/IMC combinations.
409
- - Fixed a bug in how the upsampling was done when computing high-frequency response
410
- spectra. The code now does the full upsampling method as recommended by Boore and
411
- Goulet (2014; DOI 10.1007/s10518-013-9574-9), and we added a test of low sample rate
412
- records against the high-frequency response spectra reported by NGA East for the same
460
+ - Fixed a bug in how the upsampling was done when computing high-frequency response
461
+ spectra. The code now does the full upsampling method as recommended by Boore and
462
+ Goulet (2014; DOI 10.1007/s10518-013-9574-9), and we added a test of low sample rate
463
+ records against the high-frequency response spectra reported by NGA East for the same
413
464
  record.
414
465
 
415
466
  ## 1.0.4 / 2020-03-25
@@ -424,15 +475,15 @@
424
475
  - Minor config tweaks.
425
476
  - Modified Turkey/KNET fetchers to handle cases where no earthquakes are found.
426
477
  - Exit gracefully when no data is found.
427
- - Added Geonet near real-time url to list of FDSN services when event is less than 7
478
+ - Added Geonet near real-time url to list of FDSN services when event is less than 7
428
479
  days old.
429
- - Added CESMD fetcher.
480
+ - Added CESMD fetcher.
430
481
  - Added matlab functions for reading ASDF and documentation.
431
482
  - Allow for setting the precision of data tables.
432
483
 
433
484
  ## 1.0.2 / 2019-10-17
434
485
 
435
- - Now using ASDF dataset ifilter() method to speed up search times for waveforms in
486
+ - Now using ASDF dataset ifilter() method to speed up search times for waveforms in
436
487
  HDF files.
437
488
  - Improved windowing to remove signal from multiple events in the same waveform.
438
489
  - Added moveout plots to summary report.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gmprocess
3
- Version: 2.5.0
3
+ Version: 2.7.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
@@ -52,26 +52,30 @@ Requires-Python: >=3.9
52
52
  Description-Content-Type: text/markdown
53
53
  License-File: LICENSE.md
54
54
  Requires-Dist: beautifulsoup4>=4.11.0
55
+ Requires-Dist: boto3
55
56
  Requires-Dist: configobj>=5.0.6
56
- Requires-Dist: esi-core>=1.0.1
57
+ Requires-Dist: esi-core>=1.2.1
57
58
  Requires-Dist: esi-utils-colors>1.0
58
59
  Requires-Dist: esi-utils-io>1.0
59
60
  Requires-Dist: esi-utils-rupture<=1.0.4,>1.0
60
61
  Requires-Dist: folium>=0.12
61
62
  Requires-Dist: gmpacket>=0.1.6
63
+ Requires-Dist: h3
62
64
  Requires-Dist: h5py>=3.11
63
65
  Requires-Dist: lxml>=4.6.1
64
66
  Requires-Dist: matplotlib>=3.1.0
65
67
  Requires-Dist: numba>=0.58
66
- Requires-Dist: numpy<2.0,>=1.21
67
- Requires-Dist: obspy>=1.4.1
68
- Requires-Dist: openpyxl>=3.0.8
68
+ Requires-Dist: numpy>=1.26
69
+ Requires-Dist: obspy>=1.5.0
70
+ Requires-Dist: openpyxl>=3.1.0
69
71
  Requires-Dist: openquake.engine>=3.18
70
- Requires-Dist: pandas>=1.0
72
+ Requires-Dist: pandas>=1.3.0
71
73
  Requires-Dist: Pint>0.24.3
72
74
  Requires-Dist: ps2ff>=1.5.2
75
+ Requires-Dist: pyarrow
73
76
  Requires-Dist: pyasdf>=0.7
74
- Requires-Dist: pydantic>=2.0
77
+ Requires-Dist: pydantic[email]>=2.0
78
+ Requires-Dist: rdflib>=6.3.2
75
79
  Requires-Dist: requests>=2.29
76
80
  Requires-Dist: ruamel.yaml>=0.17.16
77
81
  Requires-Dist: schema>=0.7
@@ -128,7 +132,7 @@ The developers can be reached at [gmprocess@usgs.gov](mailto:gmprocess@usgs.gov)
128
132
  If you would like to post an issue to ask a question, request a new feature, or report a bug, you can do so at the [github mirror](https://github.com/DOI-USGS/ghsc-esi-groundmotion-processing) of this repository.
129
133
 
130
134
  If you would like to contribute merge requests to this repository, please let us know and we can add you as a collaborator.
131
- This will require that you create an account at code.usgs.gov, which is a more involved process than creating a personal account at gitub.com and posting to the issues on the github mirror.
135
+ This will require that you create an account at code.usgs.gov, which is a more involved process than creating a personal account at github.com and posting to the issues on the github mirror.
132
136
 
133
137
  # Suggested Citation
134
138
  If you wish to cite this software please cite:
@@ -15,7 +15,7 @@ The developers can be reached at [gmprocess@usgs.gov](mailto:gmprocess@usgs.gov)
15
15
  If you would like to post an issue to ask a question, request a new feature, or report a bug, you can do so at the [github mirror](https://github.com/DOI-USGS/ghsc-esi-groundmotion-processing) of this repository.
16
16
 
17
17
  If you would like to contribute merge requests to this repository, please let us know and we can add you as a collaborator.
18
- This will require that you create an account at code.usgs.gov, which is a more involved process than creating a personal account at gitub.com and posting to the issues on the github mirror.
18
+ This will require that you create an account at code.usgs.gov, which is a more involved process than creating a personal account at github.com and posting to the issues on the github mirror.
19
19
 
20
20
  # Suggested Citation
21
21
  If you wish to cite this software please cite:
@@ -1,4 +1,86 @@
1
1
  [
2
+ {
3
+ "name": "groundmotion-processing",
4
+ "description": "Read and process ground motion waveform data",
5
+ "version": "v2.7.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.7.0/groundmotion-processing-v2.7.0.zip",
12
+ "disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.7.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.7.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-06-04"
41
+ }
42
+ },
43
+ {
44
+ "name": "groundmotion-processing",
45
+ "description": "Read and process ground motion waveform data",
46
+ "version": "v2.6.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.6.0/groundmotion-processing-v2.6.0.zip",
53
+ "disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.6.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.6.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-04-20"
82
+ }
83
+ },
2
84
  {
3
85
  "name": "groundmotion-processing",
4
86
  "description": "Read and process ground motion waveform data",
@@ -18,26 +18,30 @@ requires-python = ">=3.9"
18
18
  # Requirements:
19
19
  dependencies = [
20
20
  "beautifulsoup4>=4.11.0",
21
+ "boto3",
21
22
  "configobj>=5.0.6",
22
- "esi-core>=1.0.1",
23
+ "esi-core>=1.2.1",
23
24
  "esi-utils-colors>1.0",
24
25
  "esi-utils-io>1.0",
25
26
  "esi-utils-rupture>1.0,<=1.0.4",
26
27
  "folium>=0.12",
27
28
  "gmpacket>=0.1.6",
29
+ "h3",
28
30
  "h5py>=3.11",
29
31
  "lxml>=4.6.1",
30
32
  "matplotlib>=3.1.0",
31
33
  "numba>=0.58",
32
- "numpy>=1.21,<2.0",
33
- "obspy>=1.4.1",
34
- "openpyxl>=3.0.8",
34
+ "numpy>=1.26",
35
+ "obspy>=1.5.0",
36
+ "openpyxl>=3.1.0",
35
37
  "openquake.engine>=3.18",
36
- "pandas>=1.0",
38
+ "pandas>=1.3.0",
37
39
  "Pint>0.24.3",
38
40
  "ps2ff>=1.5.2",
41
+ "pyarrow",
39
42
  "pyasdf>=0.7",
40
- "pydantic>=2.0",
43
+ "pydantic[email]>=2.0",
44
+ "rdflib>=6.3.2",
41
45
  "requests>=2.29",
42
46
  "ruamel.yaml>=0.17.16",
43
47
  "schema>=0.7",
@@ -93,10 +97,13 @@ gmprocess_config = "gmprocess.bin.gmprocess_config:main"
93
97
  cwa_gather = "gmprocess.bin.cwa_gather:cli"
94
98
  fix_inventory = "gmprocess.bin.fix_inventory:main"
95
99
  fetch_orfeus = "gmprocess.bin.fetch_orfeus:cli"
100
+ get_cali_cloud = "gmprocess.bin.get_cali_cloud:main"
101
+ export_ff_sac = "gmprocess.bin.export_ff_sac:main"
102
+
96
103
 
97
104
  [build-system]
98
105
  requires = [
99
- "setuptools>=42",
106
+ "setuptools<82",
100
107
  "wheel",
101
108
  "setuptools_scm[toml]>=3.4",
102
109
  "numpy",
@@ -78,7 +78,7 @@ if [ ${LATEST} != ${CVNUM} ]; then
78
78
  echo "##################Updating conda tool..."
79
79
  CVERSION=`conda -V`
80
80
  echo "Current conda version: ${CVERSION}"
81
- conda update -n base -c defaults conda -y
81
+ conda update -n base -c conda-forge conda -y
82
82
  CVERSION=`conda -V`
83
83
  echo "New conda version: ${CVERSION}"
84
84
  echo "##################Done updating conda tool..."
@@ -121,6 +121,8 @@ class GMrecordsApp(object):
121
121
  # -----------------------------------------------------------------
122
122
  try:
123
123
  self.args.func().main(self)
124
+ except FileExistsError as e:
125
+ print(e)
124
126
  except Exception as e:
125
127
  # if using error notification, this should generate an email to
126
128
  # define list of users