gmprocess 2.9.0__tar.gz → 2.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. {gmprocess-2.9.0 → gmprocess-2.9.1}/CHANGELOG.md +5 -0
  2. {gmprocess-2.9.0 → gmprocess-2.9.1}/CONTRIBUTING.md +66 -15
  3. {gmprocess-2.9.0 → gmprocess-2.9.1}/PKG-INFO +1 -1
  4. {gmprocess-2.9.0 → gmprocess-2.9.1}/code.json +42 -1
  5. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/global_fetcher.py +13 -6
  6. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/knet_fetcher.py +24 -28
  7. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/download.py +21 -7
  8. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/download_utils.py +4 -1
  9. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/PKG-INFO +1 -1
  10. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/scm_file_list.json +4 -0
  11. gmprocess-2.9.1/src/gmprocess.egg-info/scm_version.json +8 -0
  12. gmprocess-2.9.0/src/gmprocess.egg-info/scm_version.json +0 -8
  13. {gmprocess-2.9.0 → gmprocess-2.9.1}/.coveragerc +0 -0
  14. {gmprocess-2.9.0 → gmprocess-2.9.1}/.gitignore +0 -0
  15. {gmprocess-2.9.0 → gmprocess-2.9.1}/.gitlab-ci.yml +0 -0
  16. {gmprocess-2.9.0 → gmprocess-2.9.1}/.vscode/settings.json +0 -0
  17. {gmprocess-2.9.0 → gmprocess-2.9.1}/CODE_OF_CONDUCT.md +0 -0
  18. {gmprocess-2.9.0 → gmprocess-2.9.1}/DISCLAIMER.md +0 -0
  19. {gmprocess-2.9.0 → gmprocess-2.9.1}/LICENSE.md +0 -0
  20. {gmprocess-2.9.0 → gmprocess-2.9.1}/MANIFEST.in +0 -0
  21. {gmprocess-2.9.0 → gmprocess-2.9.1}/README.md +0 -0
  22. {gmprocess-2.9.0 → gmprocess-2.9.1}/pyproject.toml +0 -0
  23. {gmprocess-2.9.0 → gmprocess-2.9.1}/pytest.ini +0 -0
  24. {gmprocess-2.9.0 → gmprocess-2.9.1}/setup.cfg +0 -0
  25. {gmprocess-2.9.0 → gmprocess-2.9.1}/setup.py +0 -0
  26. {gmprocess-2.9.0 → gmprocess-2.9.1}/setup_env.sh +0 -0
  27. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/__init__.py +0 -0
  28. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/apps/__init__.py +0 -0
  29. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/apps/gmrecords.py +0 -0
  30. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/__init__.py +0 -0
  31. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/bundle_datarelease.py +0 -0
  32. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/cwa_gather.py +0 -0
  33. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/export_ff_sac.py +0 -0
  34. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/fetch_orfeus.py +0 -0
  35. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/fix_inventory.py +0 -0
  36. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/fix_metadata_from_sis.py +0 -0
  37. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/get_cali_cloud.py +0 -0
  38. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmconvert.py +0 -0
  39. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/gminfo.py +0 -0
  40. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmprocess_config.py +0 -0
  41. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmrecords.py +0 -0
  42. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/gmworkspace.py +0 -0
  43. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/bin/update_event_json.sh +0 -0
  44. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/__init__.py +0 -0
  45. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/provenance.py +0 -0
  46. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/scalar_event.py +0 -0
  47. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/stationstream.py +0 -0
  48. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/stationtrace.py +0 -0
  49. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/streamarray.py +0 -0
  50. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/core/streamcollection.py +0 -0
  51. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/CESMD_NGA_ids.csv +0 -0
  52. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/__init__.py +0 -0
  53. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/config_production.yml +0 -0
  54. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/config_production_v1.yml +0 -0
  55. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/config_test.yml +0 -0
  56. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/config_test_download.yml +0 -0
  57. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/cosmos_table10.xls +0 -0
  58. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/cosmos_table4.xls +0 -0
  59. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CICCC.RAW +0 -0
  60. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CICLC.v1 +0 -0
  61. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/ci38457511/raw/CITOW2.RAW +0 -0
  62. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/demo/nc72282711/workspace.h5 +0 -0
  63. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/fdsn_codes.csv +0 -0
  64. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/lme/SA_rotd50.0_2020.03.31.csv +0 -0
  65. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/modules.yml +0 -0
  66. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nga_w2_selected.csv +0 -0
  67. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/bias_1.csv +0 -0
  68. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/bias_output.csv +0 -0
  69. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/masterF.txt +0 -0
  70. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/weight_1.csv +0 -0
  71. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_clipping/weight_output.csv +0 -0
  72. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/M.csv +0 -0
  73. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_1.csv +0 -0
  74. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_2.csv +0 -0
  75. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/bias_output.csv +0 -0
  76. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/final_training.csv +0 -0
  77. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/masterF.txt +0 -0
  78. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/model_3.txt +0 -0
  79. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/model_5.txt +0 -0
  80. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/mu_sigma.csv +0 -0
  81. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_1.csv +0 -0
  82. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_2.csv +0 -0
  83. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/Cant/weight_output.csv +0 -0
  84. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/M.csv +0 -0
  85. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_1.csv +0 -0
  86. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_2.csv +0 -0
  87. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/bias_output.csv +0 -0
  88. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/final_training.csv +0 -0
  89. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/masterF.txt +0 -0
  90. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/model_0.txt +0 -0
  91. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/mu_sigma.csv +0 -0
  92. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_1.csv +0 -0
  93. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_2.csv +0 -0
  94. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/nn_qa/CantWell/weight_output.csv +0 -0
  95. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/picker.yml +0 -0
  96. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/station_coordinates.xlsx +0 -0
  97. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/data/usgs_ids_nga_and_srcmod_cross_reference.xlsx +0 -0
  98. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/extended_xml/extended_xml_parser.py +0 -0
  99. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/extended_xml/sis_metadata.py +0 -0
  100. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/extended_xml/sis_snapshot.py +0 -0
  101. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/gui/__init__.py +0 -0
  102. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/Documentation.md +0 -0
  103. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/GUI_human_review.ipynb +0 -0
  104. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/HumanReviewGUI.py +0 -0
  105. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/gui/gui_ucla/__init__.py +0 -0
  106. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/__init__.py +0 -0
  107. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/__init__.py +0 -0
  108. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/base_metrics_xml.py +0 -0
  109. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/core.py +0 -0
  110. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/flatfile.py +0 -0
  111. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/flatfile_constants.py +0 -0
  112. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/path_utils.py +0 -0
  113. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/rupture.py +0 -0
  114. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/station_metrics_xml.py +0 -0
  115. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/stream_workspace.py +0 -0
  116. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/utils.py +0 -0
  117. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/waveform_metrics_xml.py +0 -0
  118. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/asdf/workspace_constants.py +0 -0
  119. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/bhrc/__init__.py +0 -0
  120. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/bhrc/core.py +0 -0
  121. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/__init__.py +0 -0
  122. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cesmd_fetcher.py +0 -0
  123. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cesmd_search.py +0 -0
  124. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/core.py +0 -0
  125. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/cosmos_writer.py +0 -0
  126. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cosmos/data_structures.py +0 -0
  127. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cwb/__init__.py +0 -0
  128. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/cwb/core.py +0 -0
  129. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/dmg/__init__.py +0 -0
  130. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/dmg/core.py +0 -0
  131. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/dynamic_search_parameters.py +0 -0
  132. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/esm/__init__.py +0 -0
  133. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/esm/core.py +0 -0
  134. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/fetcher.py +0 -0
  135. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/geonet/__init__.py +0 -0
  136. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/geonet/core.py +0 -0
  137. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/json/core.py +0 -0
  138. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/json/processed_json.py +0 -0
  139. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/__init__.py +0 -0
  140. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/knet/core.py +0 -0
  141. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/nga.py +0 -0
  142. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/nsmn/__init__.py +0 -0
  143. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/nsmn/core.py +0 -0
  144. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/__init__.py +0 -0
  145. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/core.py +0 -0
  146. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/obspy/fdsn_fetcher.py +0 -0
  147. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/read.py +0 -0
  148. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/read_directory.py +0 -0
  149. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/renadic/__init__.py +0 -0
  150. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/renadic/core.py +0 -0
  151. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/report.py +0 -0
  152. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/seedname.py +0 -0
  153. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/smc/__init__.py +0 -0
  154. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/smc/core.py +0 -0
  155. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/unam/__init__.py +0 -0
  156. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/unam/core.py +0 -0
  157. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/usc/__init__.py +0 -0
  158. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/usc/core.py +0 -0
  159. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/io/utils.py +0 -0
  160. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/__init__.py +0 -0
  161. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/combine.py +0 -0
  162. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/containers.py +0 -0
  163. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/metric_collection_base.py +0 -0
  164. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/oscillator.py +0 -0
  165. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/reduce.py +0 -0
  166. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/response.py +0 -0
  167. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/rotate.py +0 -0
  168. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/station_metric.py +0 -0
  169. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/station_metric_collection.py +0 -0
  170. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/transform.py +0 -0
  171. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/utils.py +0 -0
  172. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_calculator.py +0 -0
  173. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_calculator_component_base.py +0 -0
  174. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_collection.py +0 -0
  175. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_component.py +0 -0
  176. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_list.py +0 -0
  177. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/metrics/waveform_metric_type.py +0 -0
  178. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/__init__.py +0 -0
  179. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/arg_dicts.py +0 -0
  180. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/assemble.py +0 -0
  181. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/autoprocess.py +0 -0
  182. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/autoshakemap.py +0 -0
  183. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/base.py +0 -0
  184. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/clean.py +0 -0
  185. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/compute_station_metrics.py +0 -0
  186. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/compute_waveform_metrics.py +0 -0
  187. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_cosmos.py +0 -0
  188. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_failure_tables.py +0 -0
  189. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_gmpacket.py +0 -0
  190. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_metric_tables.py +0 -0
  191. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/export_provenance_tables.py +0 -0
  192. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_regression_plot.py +0 -0
  193. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_report.py +0 -0
  194. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/generate_station_maps.py +0 -0
  195. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/import_data.py +0 -0
  196. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/init.py +0 -0
  197. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/lazy_loader.py +0 -0
  198. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/process_waveforms.py +0 -0
  199. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/processing_steps.py +0 -0
  200. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/projects.py +0 -0
  201. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/subcommands/update_stationxml.py +0 -0
  202. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/__init__.py +0 -0
  203. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/args.py +0 -0
  204. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/assemble_utils.py +0 -0
  205. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/config.py +0 -0
  206. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/config_versioning.py +0 -0
  207. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/constants.py +0 -0
  208. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/export_gmpacket_utils.py +0 -0
  209. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/ground_motion_models.py +0 -0
  210. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/logging.py +0 -0
  211. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/memory.py +0 -0
  212. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/misc.py +0 -0
  213. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/misc_plots.py +0 -0
  214. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/prompt.py +0 -0
  215. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/report_utils.py +0 -0
  216. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/rupture_utils.py +0 -0
  217. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/strec.py +0 -0
  218. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/summary_plots.py +0 -0
  219. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/tables.py +0 -0
  220. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/utils/tests_utils.py +0 -0
  221. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/__init__.py +0 -0
  222. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/adjust_highpass.py +0 -0
  223. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/adjust_highpass_ridder.py +0 -0
  224. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/baseline_correction.py +0 -0
  225. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clip_detection.py +0 -0
  226. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clipping_ann.py +0 -0
  227. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/clipping_check.py +0 -0
  228. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/histogram.py +0 -0
  229. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/jerk.py +0 -0
  230. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/max_amp.py +0 -0
  231. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/ping.py +0 -0
  232. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/clipping/std_dev.py +0 -0
  233. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/convert_units.py +0 -0
  234. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/corner_frequencies.py +0 -0
  235. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/count_stats.py +0 -0
  236. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/detrend.py +0 -0
  237. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/fft.py +0 -0
  238. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/filtering.py +0 -0
  239. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/instrument_response.py +0 -0
  240. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/integrate.py +0 -0
  241. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/nn_quality_assurance.py +0 -0
  242. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/phase.py +0 -0
  243. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/pretesting.py +0 -0
  244. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/prism_adaptive_baseline.py +0 -0
  245. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/processing.py +0 -0
  246. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/processing_step.py +0 -0
  247. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/resample.py +0 -0
  248. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/sanity_checks.py +0 -0
  249. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/snr.py +0 -0
  250. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/spectrum.py +0 -0
  251. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/taper.py +0 -0
  252. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/windows.py +0 -0
  253. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/zero_crossings.py +0 -0
  254. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess/waveform_processing/zero_pad.py +0 -0
  255. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/SOURCES.txt +0 -0
  256. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/dependency_links.txt +0 -0
  257. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/entry_points.txt +0 -0
  258. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/requires.txt +0 -0
  259. {gmprocess-2.9.0 → gmprocess-2.9.1}/src/gmprocess.egg-info/top_level.txt +0 -0
  260. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/housing/crawl_sis_housing.py +0 -0
  261. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/housing/summarize_sis_housing.py +0 -0
  262. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/matlab/README.md +0 -0
  263. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/matlab/get_all_waveforms.m +0 -0
  264. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/matlab/get_events.m +0 -0
  265. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/matlab/get_waveform_metrics.m +0 -0
  266. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/matlab/waveform_plot.png +0 -0
  267. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/sis_qa/compare_sis_fix_metrics.py +0 -0
  268. {gmprocess-2.9.0 → gmprocess-2.9.1}/tools/sis_qa/run_sis_fix.sh +0 -0
@@ -1,5 +1,10 @@
1
1
  ## main
2
2
 
3
+ ## 2.9.1 / 2026-11-19
4
+ - Bugfixes
5
+ - Added multiple download attempts for knet fetcher
6
+ - Docs
7
+ - Updated contributing guidelines to reflect changes to esi-releases
3
8
 
4
9
  ## 2.9.0 / 2026-11-09
5
10
 
@@ -75,14 +75,52 @@ Common reasons to rebase include:
75
75
 
76
76
  ## Releases
77
77
 
78
- 1. Create a release candidate branch with a name related to the release version like `v1.2.1.rc0`.
79
- 2. Update `code.json`, this is now automated with the `esi-releases` package. For example, use the following command to increase the minor version number (options are "major", "minor", and "patch"):
78
+ Releases are prepared and tagged with the `releases` command from the
79
+ [`esi-releases`](https://code.usgs.gov/ghsc/esi/esi-releases) package
80
+ (`pip install esi-releases`, version 0.2.0 or later). Run it from the
81
+ repository root; every command accepts `--help`, and `--dry-run` shows what
82
+ would change without changing anything.
83
+
84
+ The changelog should already describe the release: each merge request adds
85
+ its changes under the `## main` heading of `CHANGELOG.md`.
86
+
87
+ 1. Start from an up-to-date main branch and check the release metadata:
88
+ ```
89
+ git checkout main
90
+ git pull --tags
91
+ releases check
92
+ ```
93
+ `releases check` reports problems with `code.json`, `CHANGELOG.md` and the
94
+ git tags, such as a release that was made without updating `code.json`.
95
+ 2. Prepare the release. Choose "major", "minor" or "patch" following
96
+ [semantic versioning](https://semver.org); for example, for a minor
97
+ release:
80
98
  ```
99
+ releases minor --dry-run
81
100
  releases minor
82
101
  ```
83
- 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
- 4. Commit changes to the `v1.2.1.rc0` branch.
85
- 5. Generate the regression comparison reports for this release, review them, and commit them to the `v1.2.1.rc0` branch:
102
+ This adds an entry for the new version to `code.json` with updated URLs,
103
+ and moves the notes under `## main` in `CHANGELOG.md` into a new dated
104
+ section for the version. It stops without changing anything if there are
105
+ no notes under `## main` or the version is already tagged.
106
+ 3. Review the changes, editing them if needed, then commit them on a release
107
+ candidate branch named like `v1.2.1.rc0`:
108
+ ```
109
+ git diff
110
+ git checkout -b v1.2.1.rc0
111
+ git commit -m "Release v1.2.1" code.json CHANGELOG.md
112
+ ```
113
+
114
+ Alternatively, if you don't need to review the changes first, steps 2 and
115
+ 3 can be done in one command:
116
+ ```
117
+ releases minor --commit
118
+ ```
119
+ This makes the same changes, creates a release candidate branch named like
120
+ `v1.2.1.rc0` (using the next unused `rc` number, or the name given with
121
+ `--branch`), and commits `code.json` and `CHANGELOG.md` to it as
122
+ "Release v1.2.1". It requires a working tree with no uncommitted changes.
123
+ 4. Generate the regression comparison reports for this release, review them, and commit them to the `v1.2.1.rc0` branch:
86
124
  ```
87
125
  cd tests/regression
88
126
  python regression_test.py --parameters release.yml release
@@ -92,22 +130,35 @@ Common reasons to rebase include:
92
130
  - The command compares the previous release with the branch, with the saved SIS metadata on as in the default configuration, and writes the report to `tests/regression/reports/v1.2.1/sis-on/`. It takes the version from `code.json` and the previous release from the latest tag. See `tests/regression/README.md`.
93
131
  - When the SIS metadata or its use changes in the release, add `--sis-off` to also compare with the SIS metadata off in both versions. That report, in `sis-off/`, shows the code changes alone, so the two reports separate them from the SIS changes.
94
132
  - The checkout must be clean. If the branch changes after the reports are made, generate them again, so that they describe the code that is merged and tagged.
95
- 6. Push the branch to your origin.
133
+ 5. Push the branch to your origin. For example:
134
+ ```
135
+ git push -u origin v1.2.1.rc0
96
136
  ```
97
- git push origin v1.2.1.rc0
137
+ 6. Create a merge request into upstream main, review the reports with the rest of the changes, and merge it.
138
+ 7. Tag the release **from main**:
98
139
  ```
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
140
+ git checkout main
141
+ git pull --tags
142
+ releases tag
143
+ ```
144
+ `releases tag` checks that main is clean and matches the branch it tracks
145
+ (so your main should track the upstream main), and that `code.json` and
146
+ the changelog agree on a version that has not been tagged yet. It then
147
+ creates an annotated tag such as `v1.2.1` and prints the command to push
148
+ it. Push the tag upstream:
101
149
  ```
102
- git tag -a v1.2.1 -m "Version 1.2.1"
103
150
  git push upstream v1.2.1
104
151
  ```
105
152
  - This git push command is what triggers the "release" pipeline that includes the test, build, and deploy stages.
106
- - *Note that we cannot have a hyphen in the tag name.*
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.
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.
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.
153
+ - *Note that we cannot have a hyphen in the tag name.*
154
+ - Also, if we end the tag name with "dev" then it will be build and uploaded to pypi as a pre-release version, which means that it will never be pip installed unless the user specifies the exact version of the pre-release. `releases` does not create these tags; create them with `git tag -a`.
155
+ - Maintenance note: the PYPI tokens are maintained in gitlab for the ESI group, under Settings then CI/CD, then Variables. These tokens are associated with the "pager_cicd" pypi service account.
156
+ 8. Create a release from the tag in GitLab, titled like `v1.2.1`. For the
157
+ "describe this release" section, use the release's changelog notes,
158
+ printed by:
159
+ ```
160
+ releases changelog v1.2.1
161
+ ```
111
162
 
112
163
 
113
164
  ## Build Documentation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gmprocess
3
- Version: 2.9.0
3
+ Version: 2.9.1
4
4
  Summary: USGS Automated Ground Motion Processing Software
5
5
  Author-email: Eric Thompson <emthompsone@usgs.gov>, Mike Hearne <mhearne@usgs.gov>, Brad Aagaard <baagaard@usgs.gov>, Bruce Worden <cbworden@contractor.usgs.gov>, John Rekoske <jrekoske@ucsd.edu>, Heather Hunsinger <hhunsinger@usgs.gov>, Gabe Ferragut <gferragut@usgs.gov>
6
6
  License: License
@@ -1,4 +1,45 @@
1
1
  [
2
+ {
3
+ "name": "groundmotion-processing",
4
+ "description": "Read and process ground motion waveform data",
5
+ "version": "v2.9.1",
6
+ "status": "Production",
7
+ "organization": "U.S. Geological Survey",
8
+ "vcs": "git",
9
+ "repositoryURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing.git",
10
+ "homepageURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing",
11
+ "downloadURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/archive/v2.9.1/groundmotion-processing-v2.9.1.zip",
12
+ "disclaimerURL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.1/DISCLAIMER.md",
13
+ "permissions": {
14
+ "licenses": [
15
+ {
16
+ "name": "Public Domain, CC0-1.0",
17
+ "URL": "https://code.usgs.gov/ghsc/esi/groundmotion-processing/-/raw/v2.9.1/LICENSE.md"
18
+ }
19
+ ],
20
+ "usageType": "openSource",
21
+ "exemptionText": null
22
+ },
23
+ "laborHours": 1,
24
+ "languages": [
25
+ "python"
26
+ ],
27
+ "tags": [
28
+ "earthquake",
29
+ "impact",
30
+ "strong motion",
31
+ "amplitudes",
32
+ "ground motion",
33
+ "usg-artificial-intelligence"
34
+ ],
35
+ "contact": {
36
+ "name": "Eric Thompson",
37
+ "email": "emthompson@usgs.gov"
38
+ },
39
+ "date": {
40
+ "metadataLastUpdated": "2026-11-19"
41
+ }
42
+ },
2
43
  {
3
44
  "name": "groundmotion-processing",
4
45
  "description": "Read and process ground motion waveform data",
@@ -1063,4 +1104,4 @@
1063
1104
  "metadataLastUpdated": "2019-08-22"
1064
1105
  }
1065
1106
  }
1066
- ]
1107
+ ]
@@ -120,15 +120,22 @@ def fetch_data(
120
120
  etpl = (time, magnitude, lat, lon)
121
121
  esummary = efmt % etpl
122
122
  for fetcher in instances:
123
+ logging.info(f"Trying fetcher {str(fetcher)}")
123
124
  if "FDSN" in str(fetcher):
124
125
  fetcher.retrieve_data()
125
126
  else:
126
- events = fetcher.get_matching_events(solve=True)
127
- if not events:
128
- msg = "No event matching %s found by class %s"
129
- logging.warning(msg, esummary, str(fetcher))
130
- continue
131
- fetcher.retrieve_data(events[0])
127
+ try:
128
+ events = fetcher.get_matching_events(solve=True)
129
+ if not events:
130
+ msg = "No event matching %s found by class %s"
131
+ logging.warning(msg, esummary, str(fetcher))
132
+ continue
133
+ fetcher.retrieve_data(events[0])
134
+ except Exception as e:
135
+ logging.warning(
136
+ f"Failure to retrieve data using {str(fetcher)}. "
137
+ f"'{str(e)}'. Skipping."
138
+ )
132
139
 
133
140
 
134
141
  def find_fetchers(lat, lon):
@@ -47,7 +47,7 @@ DETAIL_TEMPLATE = (
47
47
  "https://earthquake.usgs.gov/earthquakes/"
48
48
  "feed/v1.0/detail/{eventid}.geojson"
49
49
  )
50
-
50
+ NATTEMPTS = 3
51
51
 
52
52
  # default values for this fetcher
53
53
  # if None specified in constructor, AND no parameters specified in
@@ -62,6 +62,22 @@ class URLNotReachedException(Exception):
62
62
  pass
63
63
 
64
64
 
65
+ def get_url_response(user, password, zipurl):
66
+ response = None
67
+ logger = logging.getLogger()
68
+ for i in range(NATTEMPTS):
69
+ try:
70
+ logger.info(f"Downloading zip file {zipurl} (Attempt {i})...")
71
+ response = requests.get(zipurl, auth=(user, password))
72
+ if response.status_code == 200:
73
+ return response
74
+ except Exception as e:
75
+ continue
76
+ raise URLNotReachedException(
77
+ f"Failed to download after {NATTEMPTS} failures."
78
+ )
79
+
80
+
65
81
  def get_ascii_coordinates(fobj):
66
82
  latitude = None
67
83
  longitude = None
@@ -264,28 +280,7 @@ class KNETFetcher(DataFetcher):
264
280
  url = URL_TEMPLATE.format(
265
281
  year=str(jst_time.year), month=f"{jst_time.month:02d}"
266
282
  )
267
- try:
268
- response = requests.get(url, auth=(self.user, self.password))
269
- if response.status_code != 200:
270
- raise URLNotReachedException(
271
- f"Could not access NIED url: {url}"
272
- )
273
- except requests.exceptions.ConnectionError:
274
- time.sleep(NIED_DNS_SLEEP_TIME)
275
- try:
276
- response = requests.get(url, auth=(self.user, self.password))
277
- if response.status_code != 200:
278
- raise URLNotReachedException(
279
- f"Could not access KIK url: {url}"
280
- )
281
- except Exception as e:
282
- raise URLNotReachedException(
283
- f"Could not access NIED url: {url} with exception {str(e)}"
284
- )
285
- except Exception as e:
286
- raise URLNotReachedException(
287
- f"Could not access NIED url: {url} with exception {str(e)}"
288
- )
283
+ response = get_url_response(self.user, self.password, url)
289
284
  events = self._get_event_times(url, jst_time, response.text)
290
285
  if solve and len(events) > 1:
291
286
  event = self.solve_events(events)
@@ -379,12 +374,13 @@ class KNETFetcher(DataFetcher):
379
374
  continue
380
375
  href = list_item.find_all("a")[0].attrs["href"]
381
376
  zipurl = url + href
382
- logging.info(f"Downloading zip file {zipurl}...")
383
- response = requests.get(zipurl, auth=(self.user, self.password))
384
- if response.status_code != 200:
385
- raise URLNotReachedException(
386
- f"Could not retrieve data from url {zipurl}"
377
+ try:
378
+ response = get_url_response(self.user, self.password, zipurl)
379
+ except URLNotReachedException as unre:
380
+ msg = (
381
+ f"Failed to download {zipurl} with message '{str(unre)}'."
387
382
  )
383
+ raise URLNotReachedException(msg)
388
384
  logging.info("Downloaded zip file.")
389
385
  zip_bytes = BytesIO(response.content)
390
386
  fcount = 0
@@ -10,12 +10,16 @@ base = LazyLoader("base", globals(), "gmprocess.subcommands.base")
10
10
  constants = LazyLoader("constants", globals(), "gmprocess.utils.constants")
11
11
  misc = LazyLoader("misc", globals(), "gmprocess.utils.misc")
12
12
  obspy = LazyLoader("obspy", globals(), "obspy")
13
- global_fetcher = LazyLoader("global_fetcher", globals(), "gmprocess.io.global_fetcher")
13
+ global_fetcher = LazyLoader(
14
+ "global_fetcher", globals(), "gmprocess.io.global_fetcher"
15
+ )
14
16
 
15
17
  download_utils = LazyLoader(
16
18
  "download_utils", globals(), "gmprocess.utils.download_utils"
17
19
  )
18
- scalar_event = LazyLoader("scalar_event", globals(), "gmprocess.core.scalar_event")
20
+ scalar_event = LazyLoader(
21
+ "scalar_event", globals(), "gmprocess.core.scalar_event"
22
+ )
19
23
 
20
24
 
21
25
  class DownloadModule(base.SubcommandModule):
@@ -72,7 +76,7 @@ class DownloadModule(base.SubcommandModule):
72
76
  self._check_arguments()
73
77
 
74
78
  event_ids, events = self._get_event_ids_from_args()
75
- logging.info(f"Number of events to assemble: {len(event_ids)}")
79
+ logging.info(f"Number of events to download: {len(event_ids)}")
76
80
  download_all = (
77
81
  (gmrecords.args.rupture is False)
78
82
  and (gmrecords.args.origin is False)
@@ -84,17 +88,23 @@ class DownloadModule(base.SubcommandModule):
84
88
  event_dir = gmrecords.data_path / event_id
85
89
  event_dir.mkdir(exist_ok=True)
86
90
  if (events is None) or (not events[ievent]):
91
+ logging.info("Downloading event json...")
87
92
  event_info = download_utils.download_comcat_event(event_id)
93
+ logging.info("Writing event json...")
88
94
  scalar_event.write_geojson(event_info, event_dir)
89
-
95
+ logging.info("Creating scalar event...")
90
96
  event = scalar_event.ScalarEvent.from_params(
91
97
  id=event_info["id"],
92
- time=obspy.UTCDateTime(event_info["properties"]["time"] / 1000.0),
98
+ time=obspy.UTCDateTime(
99
+ event_info["properties"]["time"] / 1000.0
100
+ ),
93
101
  latitude=event_info["geometry"]["coordinates"][1],
94
102
  longitude=event_info["geometry"]["coordinates"][0],
95
103
  depth_km=event_info["geometry"]["coordinates"][2],
96
104
  magnitude=event_info["properties"]["mag"],
97
- magnitude_type=event_info["properties"].get("magType", None),
105
+ magnitude_type=event_info["properties"].get(
106
+ "magType", None
107
+ ),
98
108
  )
99
109
  else:
100
110
  event = events[ievent]
@@ -107,6 +117,7 @@ class DownloadModule(base.SubcommandModule):
107
117
 
108
118
  if download_all or gmrecords.args.rupture:
109
119
  # this uses download_comcat_event again!!
120
+ logging.info("Getting rupture file...")
110
121
  download_utils.download_rupture_file(event.id, event_dir)
111
122
 
112
123
  strec = None
@@ -114,7 +125,10 @@ class DownloadModule(base.SubcommandModule):
114
125
  print("strec is not enabled, please enable and try again.")
115
126
  sys.exit(0)
116
127
 
117
- if config["strec"]["enabled"] and (download_all or gmrecords.args.strec):
128
+ if config["strec"]["enabled"] and (
129
+ download_all or gmrecords.args.strec
130
+ ):
131
+ logging.info("Getting STREC results...")
118
132
  strec = download_utils.get_strec_results(event, event_dir)
119
133
 
120
134
  if download_all or gmrecords.args.waveforms:
@@ -1,9 +1,9 @@
1
1
  """Module for download unility functions."""
2
2
 
3
3
  # stdlib imports
4
- import sys
5
4
  import json
6
5
  import logging
6
+ import sys
7
7
 
8
8
  # third party imports
9
9
  import requests
@@ -32,8 +32,11 @@ def download_comcat_event(event_id):
32
32
  Dictionary with event information.
33
33
  """
34
34
  event_url = EVENT_TEMPLATE.replace("[EVENT]", event_id)
35
+ logging.info(f"Requests get of {event_url}...")
35
36
  response = requests.get(event_url)
37
+ logging.info(f"Got response...")
36
38
  if response.ok:
39
+ logging.info(f"Returning response dictionary...")
37
40
  return response.json()
38
41
  else:
39
42
  logging.info(f"{event_id} not found in ComCat.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gmprocess
3
- Version: 2.9.0
3
+ Version: 2.9.1
4
4
  Summary: USGS Automated Ground Motion Processing Software
5
5
  Author-email: Eric Thompson <emthompsone@usgs.gov>, Mike Hearne <mhearne@usgs.gov>, Brad Aagaard <baagaard@usgs.gov>, Bruce Worden <cbworden@contractor.usgs.gov>, John Rekoske <jrekoske@ucsd.edu>, Heather Hunsinger <hhunsinger@usgs.gov>, Gabe Ferragut <gferragut@usgs.gov>
6
6
  License: License
@@ -1953,6 +1953,10 @@
1953
1953
  "tests/regression/reports/v2.9.0/sis-on/metrics_rotd_percentile=50.0_differences.csv.gz",
1954
1954
  "tests/regression/reports/v2.9.0/sis-on/report.pdf",
1955
1955
  "tests/regression/reports/v2.9.0/sis-on/summary.json",
1956
+ "tests/regression/reports/v2.9.1/sis-on/gmpacket_differences.csv.gz",
1957
+ "tests/regression/reports/v2.9.1/sis-on/metrics_rotd_percentile=50.0_differences.csv.gz",
1958
+ "tests/regression/reports/v2.9.1/sis-on/report.pdf",
1959
+ "tests/regression/reports/v2.9.1/sis-on/summary.json",
1956
1960
  "tests/regression/sis-off.yml",
1957
1961
  "tests/regression/sis-on.yml",
1958
1962
  "tools/housing/crawl_sis_housing.py",
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "2.9.1",
3
+ "distance": 0,
4
+ "node": "g53ce07f26747c0d4b13a03396c59bc027bf9992d",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-11-19"
8
+ }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "2.9.0",
3
- "distance": 0,
4
- "node": "g8ed5aef6a818760cf945baf6bb522cb6b5adc4c1",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-11-16"
8
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes