floatcsep 0.2.0__tar.gz → 0.2.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 (195) hide show
  1. {floatcsep-0.2.0 → floatcsep-0.2.1}/.github/workflows/build-sphinx.yml +2 -5
  2. {floatcsep-0.2.0 → floatcsep-0.2.1}/.github/workflows/build-test.yml +7 -7
  3. {floatcsep-0.2.0 → floatcsep-0.2.1}/.github/workflows/publish-pypi.yml +8 -3
  4. {floatcsep-0.2.0 → floatcsep-0.2.1}/.github/workflows/release-tutorials.yml +2 -2
  5. floatcsep-0.2.1/.readthedocs.yaml +19 -0
  6. {floatcsep-0.2.0/floatcsep.egg-info → floatcsep-0.2.1}/PKG-INFO +14 -7
  7. {floatcsep-0.2.0 → floatcsep-0.2.1}/README.md +10 -4
  8. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/intro/installation.rst +3 -3
  9. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/__init__.py +7 -1
  10. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/postprocess/plot_handler.py +2 -3
  11. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/postprocess/reporting.py +14 -3
  12. {floatcsep-0.2.0 → floatcsep-0.2.1/floatcsep.egg-info}/PKG-INFO +14 -7
  13. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/requires.txt +1 -1
  14. {floatcsep-0.2.0 → floatcsep-0.2.1}/requirements_dev.txt +1 -1
  15. {floatcsep-0.2.0 → floatcsep-0.2.1}/setup.cfg +1 -1
  16. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/integration/test_model_interface.py +1 -3
  17. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_a/best_model.dat +1 -1
  18. floatcsep-0.2.0/.readthedocs.yaml +0 -16
  19. {floatcsep-0.2.0 → floatcsep-0.2.1}/CODE_OF_CONDUCT.md +0 -0
  20. {floatcsep-0.2.0 → floatcsep-0.2.1}/CONTRIBUTING.md +0 -0
  21. {floatcsep-0.2.0 → floatcsep-0.2.1}/CREDITS.md +0 -0
  22. {floatcsep-0.2.0 → floatcsep-0.2.1}/LICENSE +0 -0
  23. {floatcsep-0.2.0 → floatcsep-0.2.1}/MANIFEST.in +0 -0
  24. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/Makefile +0 -0
  25. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/CSEP2_Logo_CMYK.png +0 -0
  26. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/custom.js +0 -0
  27. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/experiment_classes.png +0 -0
  28. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/floatCSEP_Logo_CMYK.png +0 -0
  29. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/float_scheme.png +0 -0
  30. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/_static/floatcsep_logo.svg +0 -0
  31. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/conf.py +0 -0
  32. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/guide/evaluation_config.rst +0 -0
  33. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/guide/executing_experiment.rst +0 -0
  34. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/guide/experiment_config.rst +0 -0
  35. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/guide/model_config.rst +0 -0
  36. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/guide/postprocess_config.rst +0 -0
  37. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/index.rst +0 -0
  38. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/intro/concepts.rst +0 -0
  39. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/api_reference.rst +0 -0
  40. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/commands.rst +0 -0
  41. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/evaluation.rst +0 -0
  42. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/experiment.rst +0 -0
  43. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/infrastructure.rst +0 -0
  44. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/model.rst +0 -0
  45. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/postprocess.rst +0 -0
  46. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/reference/utilities.rst +0 -0
  47. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_a.rst +0 -0
  48. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_b.rst +0 -0
  49. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_c.rst +0 -0
  50. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_d.rst +0 -0
  51. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_e.rst +0 -0
  52. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_f.rst +0 -0
  53. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_g.rst +0 -0
  54. {floatcsep-0.2.0 → floatcsep-0.2.1}/docs/tutorials/case_h.rst +0 -0
  55. {floatcsep-0.2.0 → floatcsep-0.2.1}/environment.yml +0 -0
  56. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/commands/__init__.py +0 -0
  57. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/commands/main.py +0 -0
  58. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/evaluation.py +0 -0
  59. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/experiment.py +0 -0
  60. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/__init__.py +0 -0
  61. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/engine.py +0 -0
  62. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/environments.py +0 -0
  63. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/logger.py +0 -0
  64. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/registries.py +0 -0
  65. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/infrastructure/repositories.py +0 -0
  66. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/model.py +0 -0
  67. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/postprocess/__init__.py +0 -0
  68. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/utils/__init__.py +0 -0
  69. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/utils/accessors.py +0 -0
  70. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/utils/helpers.py +0 -0
  71. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep/utils/readers.py +0 -0
  72. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/SOURCES.txt +0 -0
  73. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/dependency_links.txt +0 -0
  74. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/entry_points.txt +0 -0
  75. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/not-zip-safe +0 -0
  76. {floatcsep-0.2.0 → floatcsep-0.2.1}/floatcsep.egg-info/top_level.txt +0 -0
  77. {floatcsep-0.2.0 → floatcsep-0.2.1}/pyproject.toml +0 -0
  78. {floatcsep-0.2.0 → floatcsep-0.2.1}/requirements.txt +0 -0
  79. {floatcsep-0.2.0 → floatcsep-0.2.1}/setup.py +0 -0
  80. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/catalog.json +0 -0
  81. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/evaluations/tests_cfg.yml +0 -0
  82. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/gcmt/vcr_search.yaml +0 -0
  83. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/gcmt/vcr_summary.yaml +0 -0
  84. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/model.csv +0 -0
  85. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/model_cfg.yml +0 -0
  86. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/model_h5.hdf5 +0 -0
  87. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/qtree/TEAM=N10L11.csv +0 -0
  88. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/qtree/TEAM=N25L11.csv +0 -0
  89. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/td_model/forecasts/mock_2020-01-01_2020-01-02.csv +0 -0
  90. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/td_model/forecasts/mock_2020-01-02_2020-01-03.csv +0 -0
  91. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/td_model/input/args.txt +0 -0
  92. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/td_model/setup.cfg +0 -0
  93. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/Dockerfile +0 -0
  94. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/README.md +0 -0
  95. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/docs/userguide +0 -0
  96. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/examples/case_3/case3_run +0 -0
  97. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/examples/case_3/data/case3_catalog +0 -0
  98. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/forecasts/template_2023-01-01 +0 -0
  99. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/input/catalog +0 -0
  100. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/parameters +0 -0
  101. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/requirements +0 -0
  102. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/run +0 -0
  103. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/run_tests +0 -0
  104. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/setup +0 -0
  105. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/source/lib_a +0 -0
  106. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/source/lib_b +0 -0
  107. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/source/main +0 -0
  108. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/tests/test_liba +0 -0
  109. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/tests/test_libb +0 -0
  110. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/models/template/tests/test_main +0 -0
  111. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/regions/italy_midpoints +0 -0
  112. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/artifacts/regions/mock_region +0 -0
  113. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/integration/experiment typologies +0 -0
  114. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/qa/test_data.py +0 -0
  115. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_accessors.py +0 -0
  116. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_commands.py +0 -0
  117. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_engine.py +0 -0
  118. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_environments.py +0 -0
  119. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_evaluation.py +0 -0
  120. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_experiment.py +0 -0
  121. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_model.py +0 -0
  122. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_plot_handler.py +0 -0
  123. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_readers.py +0 -0
  124. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_registry.py +0 -0
  125. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_reporting.py +0 -0
  126. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_repositories.py +0 -0
  127. {floatcsep-0.2.0 → floatcsep-0.2.1}/tests/unit/test_utils.py +0 -0
  128. {floatcsep-0.2.0 → floatcsep-0.2.1}/tox.ini +0 -0
  129. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_a/case_a.py +0 -0
  130. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_a/catalog.csep +0 -0
  131. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_a/config.yml +0 -0
  132. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_a/region.txt +0 -0
  133. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/case_b.py +0 -0
  134. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/catalog.json +0 -0
  135. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/config.yml +0 -0
  136. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/models/model_a.csv +0 -0
  137. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/models/model_b.csv +0 -0
  138. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/models/model_c.csv +0 -0
  139. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/models/model_d.csv +0 -0
  140. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/models.yml +0 -0
  141. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/region.txt +0 -0
  142. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_b/tests.yml +0 -0
  143. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/case_c.py +0 -0
  144. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/catalog.json +0 -0
  145. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/config.yml +0 -0
  146. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/models/model_a.csv +0 -0
  147. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/models/model_b.csv +0 -0
  148. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/models/model_c.csv +0 -0
  149. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/models/model_d.csv +0 -0
  150. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/models.yml +0 -0
  151. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/region.txt +0 -0
  152. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_c/tests.yml +0 -0
  153. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_d/config.yml +0 -0
  154. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_d/models.yml +0 -0
  155. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_d/tests.yml +0 -0
  156. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/case_e.py +0 -0
  157. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/catalog.json +0 -0
  158. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/config.yml +0 -0
  159. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/models/gulia-wiemer.ALM.italy.10yr.2010-01-01.xml +0 -0
  160. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/models/meletti.MPS04.italy.10yr.2010-01-01.xml +0 -0
  161. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/models/zechar.TripleS-CPTI.italy.10yr.2010-01-01.xml +0 -0
  162. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/models.yml +0 -0
  163. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_e/tests.yml +0 -0
  164. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/catalog.json +0 -0
  165. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/config.yml +0 -0
  166. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-14_2016-11-15.csv +0 -0
  167. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-15_2016-11-16.csv +0 -0
  168. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-16_2016-11-17.csv +0 -0
  169. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-17_2016-11-18.csv +0 -0
  170. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-18_2016-11-19.csv +0 -0
  171. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-19_2016-11-20.csv +0 -0
  172. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/etas/forecasts/etas_2016-11-20_2016-11-21.csv +0 -0
  173. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/models.yml +0 -0
  174. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_f/tests.yml +0 -0
  175. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/catalog.csv +0 -0
  176. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/config.yml +0 -0
  177. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/custom_plot_script.py +0 -0
  178. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/models.yml +0 -0
  179. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/Dockerfile +0 -0
  180. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/README.md +0 -0
  181. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/input/args.txt +0 -0
  182. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/pymock/__init__.py +0 -0
  183. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/pymock/libs.py +0 -0
  184. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/pymock/main.py +0 -0
  185. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/pyproject.toml +0 -0
  186. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/requirements.txt +0 -0
  187. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/run.py +0 -0
  188. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/setup.cfg +0 -0
  189. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/pymock/setup.py +0 -0
  190. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_g/tests.yml +0 -0
  191. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_h/catalog.csv +0 -0
  192. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_h/config.yml +0 -0
  193. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_h/custom_report.py +0 -0
  194. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_h/models.yml +0 -0
  195. {floatcsep-0.2.0 → floatcsep-0.2.1}/tutorials/case_h/tests.yml +0 -0
@@ -15,18 +15,15 @@ jobs:
15
15
  shell: bash -l {0}
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v4.2.2
19
19
  - uses: mamba-org/setup-micromamba@v1
20
20
  with:
21
21
  generate-run-shell: true
22
22
  environment-file: environment.yml
23
- create-args: >-
24
- python=${{ matrix.python-version }}
25
23
 
26
24
  - name: Install floatCSEP
27
25
  run: |
28
- pip install -r requirements_dev.txt
29
- pip install --no-deps -e .
26
+ pip install -e .[dev]
30
27
  python -c "import floatcsep; print('Version: ', floatcsep.__version__)"
31
28
 
32
29
  - name: Build documentation
@@ -21,7 +21,7 @@ jobs:
21
21
  shell: bash -l {0}
22
22
 
23
23
  steps:
24
- - uses: actions/checkout@v2
24
+ - uses: actions/checkout@v4.2.2
25
25
  - uses: mamba-org/setup-micromamba@v1
26
26
  with:
27
27
  generate-run-shell: true
@@ -29,18 +29,18 @@ jobs:
29
29
  create-args: >-
30
30
  python=${{ matrix.python-version }}
31
31
 
32
-
33
32
  - name: Install floatCSEP
34
33
  run: |
35
- pip install pytest pytest-cov vcrpy==4.3.1
36
- pip install --no-deps -e .
34
+ pip install -e .[dev]
37
35
  python -c "import floatcsep; print('Version: ', floatcsep.__version__)"
38
36
 
39
37
  - name: Test with pytest
40
38
  run: |
41
- pytest --durations=0 --cov=./ --cov-config=.coveragerc
39
+ pytest --durations=0
42
40
 
43
41
  - name: Upload coverage
44
42
  if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
45
- run: |
46
- bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
43
+ uses: codecov/codecov-action@v3
44
+ with:
45
+ token: ${{ secrets.CODECOV_TOKEN }}
46
+ fail_ci_if_error: false
@@ -15,7 +15,7 @@ jobs:
15
15
  shell: bash -l {0}
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v4.2.2
19
19
  - uses: mamba-org/setup-micromamba@v1
20
20
  with:
21
21
  generate-run-shell: true
@@ -25,14 +25,19 @@ jobs:
25
25
 
26
26
  - name: Install py-build and setuptools-scm
27
27
  run: |
28
- micromamba run -n floatcsep python3 -m pip install --upgrade build setuptools-scm
28
+ micromamba run -n floatcsep pip install --upgrade build setuptools-scm
29
29
 
30
30
  - name: Build
31
31
  run: |
32
32
  micromamba run -n floatcsep python3 -m build --sdist --wheel --outdir dist/
33
33
 
34
+ - name: Check distribution files
35
+ run: |
36
+ micromamba run -n floatcsep pip install twine
37
+ micromamba run -n floatcsep twine check dist/*
38
+
34
39
  - name: Publish Package
35
- uses: pypa/gh-action-pypi-publish@v1.9.0
40
+ uses: pypa/gh-action-pypi-publish@v1.12.4
36
41
  with:
37
42
  user: __token__
38
43
  password: ${{ secrets.PYPI_API_TOKEN }}
@@ -10,14 +10,14 @@ jobs:
10
10
 
11
11
  steps:
12
12
  - name: Check out the code
13
- uses: actions/checkout@v3
13
+ uses: actions/checkout@v4.2.2
14
14
 
15
15
  - name: Zip the tutorials folder
16
16
  run: |
17
17
  zip -r tutorials.zip tutorials/
18
18
 
19
19
  - name: Upload the tutorials.zip to the release
20
- uses: softprops/action-gh-release@v1
20
+ uses: softprops/action-gh-release@v2.2.2
21
21
  with:
22
22
  files: tutorials.zip
23
23
  env:
@@ -0,0 +1,19 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: "ubuntu-22.04"
5
+ tools:
6
+ python: "mambaforge-22.9"
7
+
8
+ conda:
9
+ environment: environment.yml
10
+
11
+ python:
12
+ install:
13
+ - method: pip
14
+ path: .
15
+ extra_requirements:
16
+ - dev
17
+
18
+ sphinx:
19
+ configuration: docs/conf.py
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: floatcsep
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: CSEP Floating Experiment application
5
5
  Home-page: https://github.com/cseptesting/floatcsep.git
6
6
  Author: Pablo Iturrieta
@@ -67,8 +67,9 @@ Requires-Dist: sphinx-rtd-theme; extra == "dev"
67
67
  Requires-Dist: sphinx_copybutton; extra == "dev"
68
68
  Requires-Dist: tables; extra == "dev"
69
69
  Requires-Dist: tox; extra == "dev"
70
- Requires-Dist: vcrpy==4.3.1; extra == "dev"
70
+ Requires-Dist: vcrpy; extra == "dev"
71
71
  Requires-Dist: xmltodict; extra == "dev"
72
+ Dynamic: license-file
72
73
 
73
74
  # CSEP Floating Experiments
74
75
 
@@ -110,19 +111,25 @@ Requires-Dist: xmltodict; extra == "dev"
110
111
  The core of `floatCSEP` is built around the `pyCSEP`
111
112
  package (https://github.com/sceccode/pycsep), which itself contains the core dependencies.
112
113
 
113
- The simplest way to install `floatCSEP`, is by creating a `conda`
114
- environment (https://conda.io - checkout Anaconda or Miniconda) and install `pyCSEP`
114
+ ## Stable Release
115
+
116
+ The simplest way to install `floatCSEP` is by creating a `conda`
117
+ environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
115
118
  from `conda-forge`
116
119
 
117
120
  ```
118
- conda env create -n $NAME
121
+ conda create -n $NAME -y
119
122
  conda activate $NAME
120
- conda install -c conda-forge pycsep
123
+ conda install -c conda-forge floatcsep -y
121
124
  ```
122
125
 
126
+ ## Latest version
127
+
123
128
  Clone and install the floatCSEP source code using `pip`
124
129
 
125
130
  ```
131
+ conda create -n $NAME -y
132
+ conda activate $NAME
126
133
  git clone https://github.com/cseptesting/floatcsep
127
134
  cd floatcsep
128
135
  pip install .
@@ -38,19 +38,25 @@
38
38
  The core of `floatCSEP` is built around the `pyCSEP`
39
39
  package (https://github.com/sceccode/pycsep), which itself contains the core dependencies.
40
40
 
41
- The simplest way to install `floatCSEP`, is by creating a `conda`
42
- environment (https://conda.io - checkout Anaconda or Miniconda) and install `pyCSEP`
41
+ ## Stable Release
42
+
43
+ The simplest way to install `floatCSEP` is by creating a `conda`
44
+ environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
43
45
  from `conda-forge`
44
46
 
45
47
  ```
46
- conda env create -n $NAME
48
+ conda create -n $NAME -y
47
49
  conda activate $NAME
48
- conda install -c conda-forge pycsep
50
+ conda install -c conda-forge floatcsep -y
49
51
  ```
50
52
 
53
+ ## Latest version
54
+
51
55
  Clone and install the floatCSEP source code using `pip`
52
56
 
53
57
  ```
58
+ conda create -n $NAME -y
59
+ conda activate $NAME
54
60
  git clone https://github.com/cseptesting/floatcsep
55
61
  cd floatcsep
56
62
  pip install .
@@ -18,7 +18,7 @@ To install **floatCSEP**, first a ``conda`` manager should be installed (https:/
18
18
 
19
19
  .. code-block:: console
20
20
 
21
- $ conda env create -n csep_env
21
+ $ conda create -n csep_env
22
22
  $ conda activate csep_env
23
23
 
24
24
  Then, clone and install the floatCSEP source code using ``pip``
@@ -60,7 +60,7 @@ Having a ``conda`` manager installed (https://conda.io), type in a console:
60
60
 
61
61
  .. code-block:: console
62
62
 
63
- $ conda env create -n csep_env
63
+ $ conda create -n csep_env
64
64
  $ conda activate csep_env
65
65
  $ conda install -c conda-forge floatcsep
66
66
 
@@ -95,7 +95,7 @@ It is recommended (not obligatory) to use a ``conda`` environment to make sure y
95
95
 
96
96
  .. code-block:: console
97
97
 
98
- $ conda env create -n csep_dev
98
+ $ conda create -n csep_dev
99
99
  $ conda activate csep_dev
100
100
  $ git clone https://github.com/${your_fork}/floatcsep
101
101
  $ cd floatcsep
@@ -5,4 +5,10 @@ from floatcsep.infrastructure import engine, environments, registries, repositor
5
5
  from floatcsep.utils import readers, accessors, helpers
6
6
  from floatcsep.postprocess import reporting, plot_handler
7
7
 
8
- __version__ = "0.1.4"
8
+ from importlib.metadata import version, PackageNotFoundError
9
+
10
+
11
+ try:
12
+ __version__ = version("floatcsep")
13
+ except PackageNotFoundError:
14
+ __version__ = "0.0.0"
@@ -88,9 +88,8 @@ def plot_forecasts(experiment: "Experiment") -> None:
88
88
 
89
89
  for model in experiment.models:
90
90
  for window in time_windows:
91
- ax = model.get_forecast(window, experiment.region).plot(
92
- plot_args=plot_forecast_config
93
- )
91
+ forecast = model.get_forecast(window, region=experiment.region)
92
+ ax = forecast.plot(plot_args=plot_forecast_config)
94
93
 
95
94
  # If catalog option is passed, catalog is plotted on top of the forecast
96
95
  if plot_forecast_config.get("catalog"):
@@ -59,8 +59,14 @@ def generate_report(experiment, timewindow=-1):
59
59
  report.add_figure(
60
60
  "Input catalog",
61
61
  [
62
- experiment.registry.get_figure("main_catalog_map"),
63
- experiment.registry.get_figure("main_catalog_time"),
62
+ os.path.relpath(
63
+ experiment.registry.get_figure("main_catalog_map"),
64
+ experiment.registry.run_dir,
65
+ ),
66
+ os.path.relpath(
67
+ experiment.registry.get_figure("main_catalog_time"),
68
+ experiment.registry.run_dir,
69
+ ),
64
70
  ],
65
71
  level=3,
66
72
  ncols=1,
@@ -78,7 +84,12 @@ def generate_report(experiment, timewindow=-1):
78
84
  fig_path = experiment.registry.get_figure(timestr, test)
79
85
  width = test.plot_args[0].get("figsize", [4])[0] * 96
80
86
  report.add_figure(
81
- f"{test.name}", fig_path, level=3, caption=test.markdown, add_ext=True, width=width
87
+ f"{test.name}",
88
+ os.path.relpath(fig_path, experiment.registry.run_dir),
89
+ level=3,
90
+ caption=test.markdown,
91
+ add_ext=True,
92
+ width=width,
82
93
  )
83
94
  for model in experiment.models:
84
95
  try:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: floatcsep
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: CSEP Floating Experiment application
5
5
  Home-page: https://github.com/cseptesting/floatcsep.git
6
6
  Author: Pablo Iturrieta
@@ -67,8 +67,9 @@ Requires-Dist: sphinx-rtd-theme; extra == "dev"
67
67
  Requires-Dist: sphinx_copybutton; extra == "dev"
68
68
  Requires-Dist: tables; extra == "dev"
69
69
  Requires-Dist: tox; extra == "dev"
70
- Requires-Dist: vcrpy==4.3.1; extra == "dev"
70
+ Requires-Dist: vcrpy; extra == "dev"
71
71
  Requires-Dist: xmltodict; extra == "dev"
72
+ Dynamic: license-file
72
73
 
73
74
  # CSEP Floating Experiments
74
75
 
@@ -110,19 +111,25 @@ Requires-Dist: xmltodict; extra == "dev"
110
111
  The core of `floatCSEP` is built around the `pyCSEP`
111
112
  package (https://github.com/sceccode/pycsep), which itself contains the core dependencies.
112
113
 
113
- The simplest way to install `floatCSEP`, is by creating a `conda`
114
- environment (https://conda.io - checkout Anaconda or Miniconda) and install `pyCSEP`
114
+ ## Stable Release
115
+
116
+ The simplest way to install `floatCSEP` is by creating a `conda`
117
+ environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
115
118
  from `conda-forge`
116
119
 
117
120
  ```
118
- conda env create -n $NAME
121
+ conda create -n $NAME -y
119
122
  conda activate $NAME
120
- conda install -c conda-forge pycsep
123
+ conda install -c conda-forge floatcsep -y
121
124
  ```
122
125
 
126
+ ## Latest version
127
+
123
128
  Clone and install the floatCSEP source code using `pip`
124
129
 
125
130
  ```
131
+ conda create -n $NAME -y
132
+ conda activate $NAME
126
133
  git clone https://github.com/cseptesting/floatcsep
127
134
  cd floatcsep
128
135
  pip install .
@@ -49,5 +49,5 @@ sphinx-rtd-theme
49
49
  sphinx_copybutton
50
50
  tables
51
51
  tox
52
- vcrpy==4.3.1
52
+ vcrpy
53
53
  xmltodict
@@ -32,5 +32,5 @@ sphinx-toolbox
32
32
  sphinx_copybutton
33
33
  tables
34
34
  tox
35
- vcrpy==4.3.1
35
+ vcrpy
36
36
  xmltodict
@@ -80,7 +80,7 @@ dev =
80
80
  sphinx_copybutton
81
81
  tables
82
82
  tox
83
- vcrpy==4.3.1
83
+ vcrpy
84
84
  xmltodict
85
85
 
86
86
  [options.entry_points]
@@ -238,9 +238,7 @@ class TestModelFromGit(TestCase):
238
238
  path_ = os.path.join(tempfile.tempdir, _dir)
239
239
  if os.path.exists(path_):
240
240
  shutil.rmtree(path_)
241
- giturl = (
242
- "https://git.gfz-potsdam.de/csep-group/" "rise_italy_experiment/models/template.git"
243
- )
241
+ giturl = "https://github.com/pabloitu/" "template.git"
244
242
  model_a = self.init_model(name=name, model_path=path_, giturl=giturl)
245
243
  model_a.stage()
246
244
 
@@ -1,3 +1,3 @@
1
- # lon_min lon_max lat_min lat_max depth_min depth_max mag_min mag_max rate mask
1
+ # lon_min lon_max lat_min lat_max depth_min depth_max mag_min mag_max rate
2
2
  0 1 0 1 0 70 6 7 5e-1 1
3
3
  1 2 0 1 0 70 6 7 5e-1 0.1
@@ -1,16 +0,0 @@
1
- version: 2
2
-
3
- build:
4
- os: "ubuntu-20.04"
5
- tools:
6
- python: "mambaforge-4.10"
7
-
8
- conda:
9
- environment: environment.yml
10
-
11
- python:
12
- install:
13
- - method: pip
14
- path: .
15
- - method: pip
16
- path: .[dev] # Install development dependencies via pip
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
File without changes