floatcsep 0.4.1__tar.gz → 0.4.2__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 (238) hide show
  1. {floatcsep-0.4.1 → floatcsep-0.4.2}/.github/workflows/build-test.yml +12 -2
  2. {floatcsep-0.4.1 → floatcsep-0.4.2}/MANIFEST.in +1 -3
  3. {floatcsep-0.4.1/floatcsep.egg-info → floatcsep-0.4.2}/PKG-INFO +27 -20
  4. {floatcsep-0.4.1 → floatcsep-0.4.2}/README.md +23 -18
  5. {floatcsep-0.4.1 → floatcsep-0.4.2}/environment.yml +2 -0
  6. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/registries.py +6 -6
  7. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/repositories.py +2 -0
  8. floatcsep-0.4.2/floatcsep/postprocess/artifacts/NotoSans-Bold.ttf +0 -0
  9. floatcsep-0.4.2/floatcsep/postprocess/artifacts/NotoSans-Regular.ttf +0 -0
  10. floatcsep-0.4.2/floatcsep/postprocess/artifacts/logo.png +0 -0
  11. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/postprocess/plot_handler.py +1 -3
  12. floatcsep-0.4.2/floatcsep/postprocess/reporting.py +689 -0
  13. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/utils/helpers.py +22 -54
  14. {floatcsep-0.4.1 → floatcsep-0.4.2/floatcsep.egg-info}/PKG-INFO +27 -20
  15. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/SOURCES.txt +3 -1
  16. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/requires.txt +2 -1
  17. {floatcsep-0.4.1 → floatcsep-0.4.2}/pyproject.toml +11 -1
  18. {floatcsep-0.4.1 → floatcsep-0.4.2}/requirements.txt +3 -1
  19. {floatcsep-0.4.1 → floatcsep-0.4.2}/requirements_dev.txt +3 -1
  20. floatcsep-0.4.2/tests/unit/test_reporting.py +135 -0
  21. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_a/config.yml +1 -1
  22. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/config.yml +1 -1
  23. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/config.yml +2 -1
  24. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_d/config.yml +1 -1
  25. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/config.yml +1 -1
  26. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/config.yml +1 -1
  27. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/config.yml +1 -1
  28. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_h/config.yml +1 -1
  29. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/config.yml +1 -1
  30. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_j/config.yml +1 -1
  31. floatcsep-0.4.1/floatcsep/postprocess/reporting.py +0 -563
  32. floatcsep-0.4.1/setup.py +0 -8
  33. floatcsep-0.4.1/tests/unit/test_reporting.py +0 -65
  34. {floatcsep-0.4.1 → floatcsep-0.4.2}/.github/workflows/build-sphinx.yml +0 -0
  35. {floatcsep-0.4.1 → floatcsep-0.4.2}/.github/workflows/publish-pypi.yml +0 -0
  36. {floatcsep-0.4.1 → floatcsep-0.4.2}/.github/workflows/release-tutorials.yml +0 -0
  37. {floatcsep-0.4.1 → floatcsep-0.4.2}/.readthedocs.yaml +0 -0
  38. {floatcsep-0.4.1 → floatcsep-0.4.2}/CODE_OF_CONDUCT.md +0 -0
  39. {floatcsep-0.4.1 → floatcsep-0.4.2}/CONTRIBUTING.md +0 -0
  40. {floatcsep-0.4.1 → floatcsep-0.4.2}/CREDITS.md +0 -0
  41. {floatcsep-0.4.1 → floatcsep-0.4.2}/LICENSE +0 -0
  42. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/Makefile +0 -0
  43. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/CSEP2_Logo_CMYK.png +0 -0
  44. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/custom.js +0 -0
  45. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/experiment_classes.png +0 -0
  46. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/floatCSEP_Logo_CMYK.png +0 -0
  47. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/float_scheme.png +0 -0
  48. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/_static/floatcsep_logo.svg +0 -0
  49. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/conf.py +0 -0
  50. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/guide/evaluation_config.rst +0 -0
  51. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/guide/executing_experiment.rst +0 -0
  52. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/guide/experiment_config.rst +0 -0
  53. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/guide/model_config.rst +0 -0
  54. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/guide/postprocess_config.rst +0 -0
  55. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/index.rst +0 -0
  56. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/intro/concepts.rst +0 -0
  57. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/intro/installation.rst +0 -0
  58. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/api_reference.rst +0 -0
  59. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/commands.rst +0 -0
  60. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/evaluation.rst +0 -0
  61. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/experiment.rst +0 -0
  62. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/infrastructure.rst +0 -0
  63. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/model.rst +0 -0
  64. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/postprocess.rst +0 -0
  65. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/reference/utilities.rst +0 -0
  66. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_a.rst +0 -0
  67. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_b.rst +0 -0
  68. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_c.rst +0 -0
  69. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_d.rst +0 -0
  70. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_e.rst +0 -0
  71. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_f.rst +0 -0
  72. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_g.rst +0 -0
  73. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_h.rst +0 -0
  74. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_i.rst +0 -0
  75. {floatcsep-0.4.1 → floatcsep-0.4.2}/docs/tutorials/case_j.rst +0 -0
  76. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/__init__.py +0 -0
  77. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/commands/__init__.py +0 -0
  78. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/commands/main.py +0 -0
  79. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/evaluation.py +0 -0
  80. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/experiment.py +0 -0
  81. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/__init__.py +0 -0
  82. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/engine.py +0 -0
  83. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/environments.py +0 -0
  84. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/infrastructure/logger.py +0 -0
  85. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/model.py +0 -0
  86. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/postprocess/__init__.py +0 -0
  87. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/utils/__init__.py +0 -0
  88. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/utils/accessors.py +0 -0
  89. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep/utils/file_io.py +0 -0
  90. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/dependency_links.txt +0 -0
  91. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/entry_points.txt +0 -0
  92. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/not-zip-safe +0 -0
  93. {floatcsep-0.4.1 → floatcsep-0.4.2}/floatcsep.egg-info/top_level.txt +0 -0
  94. {floatcsep-0.4.1 → floatcsep-0.4.2}/setup.cfg +0 -0
  95. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/catalog.json +0 -0
  96. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/evaluations/tests_cfg.yml +0 -0
  97. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/gcmt/vcr_search.yaml +0 -0
  98. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/gcmt/vcr_summary.yaml +0 -0
  99. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/invalid_entrypoint/Dockerfile +0 -0
  100. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/invalid_image/Dockerfile +0 -0
  101. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/invalid_no_entrypoint/Dockerfile +0 -0
  102. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/invalid_permission/Dockerfile +0 -0
  103. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/valid/Dockerfile +0 -0
  104. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/docker_test/valid_custom_uid-gid/Dockerfile +0 -0
  105. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/model.csv +0 -0
  106. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/model_cfg.yml +0 -0
  107. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/model_h5.hdf5 +0 -0
  108. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/qtree/TEAM=N10L11.csv +0 -0
  109. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/qtree/TEAM=N25L11.csv +0 -0
  110. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/td_model/forecasts/mock_2020-01-01_2020-01-02.csv +0 -0
  111. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/td_model/forecasts/mock_2020-01-02_2020-01-03.csv +0 -0
  112. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/td_model/input/args.txt +0 -0
  113. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/td_model/setup.cfg +0 -0
  114. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/Dockerfile +0 -0
  115. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/README.md +0 -0
  116. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/docs/userguide +0 -0
  117. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/examples/case_3/case3_run +0 -0
  118. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/examples/case_3/data/case3_catalog +0 -0
  119. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/forecasts/template_2023-01-01 +0 -0
  120. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/input/catalog +0 -0
  121. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/parameters +0 -0
  122. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/requirements +0 -0
  123. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/run +0 -0
  124. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/run_tests +0 -0
  125. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/setup +0 -0
  126. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/source/lib_a +0 -0
  127. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/source/lib_b +0 -0
  128. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/source/main +0 -0
  129. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/tests/test_liba +0 -0
  130. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/tests/test_libb +0 -0
  131. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/models/template/tests/test_main +0 -0
  132. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/regions/italy_midpoints +0 -0
  133. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/artifacts/regions/mock_region +0 -0
  134. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/e2e/test_data.py +0 -0
  135. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/experiment typologies +0 -0
  136. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/test_experiment_engine.py +0 -0
  137. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/test_model_accessors.py +0 -0
  138. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/test_model_docker.py +0 -0
  139. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/test_model_engine.py +0 -0
  140. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/integration/test_model_infrastructure.py +0 -0
  141. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_accessors.py +0 -0
  142. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_commands.py +0 -0
  143. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_engine.py +0 -0
  144. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_environments.py +0 -0
  145. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_evaluation.py +0 -0
  146. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_experiment.py +0 -0
  147. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_io.py +0 -0
  148. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_model.py +0 -0
  149. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_plot_handler.py +0 -0
  150. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_registry.py +0 -0
  151. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_repositories.py +0 -0
  152. {floatcsep-0.4.1 → floatcsep-0.4.2}/tests/unit/test_utils.py +0 -0
  153. {floatcsep-0.4.1 → floatcsep-0.4.2}/tox.ini +0 -0
  154. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_a/best_model.dat +0 -0
  155. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_a/case_a.py +0 -0
  156. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_a/catalog.csep +0 -0
  157. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_a/region.txt +0 -0
  158. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/case_b.py +0 -0
  159. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/catalog.json +0 -0
  160. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/models/model_a.csv +0 -0
  161. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/models/model_b.csv +0 -0
  162. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/models/model_c.csv +0 -0
  163. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/models/model_d.csv +0 -0
  164. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/models.yml +0 -0
  165. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/region.txt +0 -0
  166. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_b/tests.yml +0 -0
  167. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/case_c.py +0 -0
  168. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/catalog.json +0 -0
  169. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/models/model_a.csv +0 -0
  170. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/models/model_b.csv +0 -0
  171. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/models/model_c.csv +0 -0
  172. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/models/model_d.csv +0 -0
  173. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/models.yml +0 -0
  174. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/region.txt +0 -0
  175. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_c/tests.yml +0 -0
  176. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_d/models.yml +0 -0
  177. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_d/tests.yml +0 -0
  178. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/case_e.py +0 -0
  179. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/models/gulia-wiemer.ALM.italy.10yr.2010-01-01.xml +0 -0
  180. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/models/meletti.MPS04.italy.10yr.2010-01-01.xml +0 -0
  181. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/models/zechar.TripleS-CPTI.italy.10yr.2010-01-01.xml +0 -0
  182. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/models.yml +0 -0
  183. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_e/tests.yml +0 -0
  184. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/catalog.json +0 -0
  185. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-14_2016-11-15.csv +0 -0
  186. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-15_2016-11-16.csv +0 -0
  187. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-16_2016-11-17.csv +0 -0
  188. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-17_2016-11-18.csv +0 -0
  189. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-18_2016-11-19.csv +0 -0
  190. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-19_2016-11-20.csv +0 -0
  191. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/etas/forecasts/etas_2016-11-20_2016-11-21.csv +0 -0
  192. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/models.yml +0 -0
  193. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_f/tests.yml +0 -0
  194. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/catalog.csv +0 -0
  195. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/custom_plot_script.py +0 -0
  196. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/models.yml +0 -0
  197. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/Dockerfile +0 -0
  198. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/README.md +0 -0
  199. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/input/args.txt +0 -0
  200. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/pymock/__init__.py +0 -0
  201. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/pymock/libs.py +0 -0
  202. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/pymock/main.py +0 -0
  203. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/pyproject.toml +0 -0
  204. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/requirements.txt +0 -0
  205. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/run.py +0 -0
  206. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/setup.cfg +0 -0
  207. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/pymock/setup.py +0 -0
  208. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_g/tests.yml +0 -0
  209. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_h/catalog.csv +0 -0
  210. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_h/custom_report.py +0 -0
  211. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_h/models.yml +0 -0
  212. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_h/tests.yml +0 -0
  213. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/catalog.csv +0 -0
  214. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/models.yml +0 -0
  215. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/Dockerfile +0 -0
  216. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/README.md +0 -0
  217. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/input/args.txt +0 -0
  218. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/pymock/__init__.py +0 -0
  219. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/pymock/libs.py +0 -0
  220. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/pymock/main.py +0 -0
  221. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/pyproject.toml +0 -0
  222. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/requirements.txt +0 -0
  223. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/setup.cfg +0 -0
  224. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock/setup.py +0 -0
  225. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/Dockerfile +0 -0
  226. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/README.md +0 -0
  227. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/input/args.txt +0 -0
  228. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/pymock/__init__.py +0 -0
  229. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/pymock/libs.py +0 -0
  230. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/pymock/main.py +0 -0
  231. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/pyproject.toml +0 -0
  232. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/requirements.txt +0 -0
  233. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/setup.cfg +0 -0
  234. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/pymock_slow/setup.py +0 -0
  235. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_i/tests.yml +0 -0
  236. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_j/catalog.csep +0 -0
  237. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_j/models.yml +0 -0
  238. {floatcsep-0.4.1 → floatcsep-0.4.2}/tutorials/case_j/tests.yml +0 -0
@@ -14,8 +14,18 @@ jobs:
14
14
  strategy:
15
15
  fail-fast: false
16
16
  matrix:
17
- os: [ ubuntu-latest, macos-latest ]
18
- python-version: [ '3.9', '3.10', '3.11', '3.12' ]
17
+ include:
18
+ - os: ubuntu-latest
19
+ python-version: '3.9'
20
+ - os: ubuntu-latest
21
+ python-version: '3.10'
22
+ - os: ubuntu-latest
23
+ python-version: '3.11'
24
+ - os: ubuntu-latest
25
+ python-version: '3.12'
26
+ - os: macos-latest
27
+ python-version: '3.11'
28
+
19
29
  defaults:
20
30
  run:
21
31
  shell: bash -l {0}
@@ -3,7 +3,6 @@ include CODE_OF_CONDUCT.md
3
3
  include requirements.txt
4
4
  include requirements_dev.txt
5
5
  include environment.yml
6
- include setup.py
7
6
  include pyproject.toml
8
7
  include LICENSE
9
8
  include CREDITS.md
@@ -12,9 +11,8 @@ include CONTRIBUTING.md
12
11
  graft floatcsep
13
12
  graft tests
14
13
  graft docs
15
- prune build
16
14
  prune docs/_build
17
- prune docs/referenced/generated
15
+ prune docs/reference/generated
18
16
 
19
17
  global-exclude .git*
20
18
  global-exclude *.pyc
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: floatcsep
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: CSEP Floating Experiment application
5
5
  Author-email: Pablo Iturrieta <pciturri@gfz-potsdam.de>
6
6
  License-Expression: BSD-3-Clause
7
7
  Project-URL: Homepage, https://github.com/cseptesting/floatcsep.git
8
+ Keywords: earthquake,forecasting,seismology,CSEP
8
9
  Classifier: Programming Language :: Python :: 3
9
10
  Classifier: Programming Language :: Python :: 3.9
10
11
  Classifier: Programming Language :: Python :: 3.10
@@ -18,7 +19,6 @@ Requires-Dist: dateparser
18
19
  Requires-Dist: docker
19
20
  Requires-Dist: gitpython
20
21
  Requires-Dist: h5py
21
- Requires-Dist: markdown-pdf
22
22
  Requires-Dist: matplotlib
23
23
  Requires-Dist: pandas
24
24
  Requires-Dist: packaging
@@ -29,6 +29,8 @@ Requires-Dist: scipy
29
29
  Requires-Dist: seaborn
30
30
  Requires-Dist: tables
31
31
  Requires-Dist: xmltodict
32
+ Requires-Dist: weasyprint
33
+ Requires-Dist: markdown-it-py
32
34
  Provides-Extra: dev
33
35
  Requires-Dist: black; extra == "dev"
34
36
  Requires-Dist: flake8; extra == "dev"
@@ -84,28 +86,28 @@ Dynamic: license-file
84
86
  The core of `floatCSEP` is built around the `pyCSEP`
85
87
  package (https://github.com/sceccode/pycsep), which itself contains the core dependencies.
86
88
 
87
- ## Stable Release
89
+ ## Latest version
88
90
 
89
- The simplest way to install `floatCSEP` is by creating a `conda`
90
- environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
91
- from `conda-forge`
91
+ Clone and install the floatCSEP source code using `pip`
92
92
 
93
93
  ```
94
- conda create -n $NAME -y
94
+ conda create -n $NAME -y python=3.12
95
95
  conda activate $NAME
96
- conda install -c conda-forge floatcsep -y
96
+ git clone https://github.com/cseptesting/floatcsep
97
+ cd floatcsep
98
+ pip install -e .
97
99
  ```
98
100
 
99
- ## Latest version
101
+ ## Stable Release
100
102
 
101
- Clone and install the floatCSEP source code using `pip`
103
+ The simplest way to install `floatCSEP` is by creating a `conda`
104
+ environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
105
+ from `conda-forge`
102
106
 
103
107
  ```
104
- conda create -n $NAME -y
108
+ conda create -n $NAME -y python=3.12
105
109
  conda activate $NAME
106
- git clone https://github.com/cseptesting/floatcsep
107
- cd floatcsep
108
- pip install .
110
+ conda install -c conda-forge floatcsep -y
109
111
  ```
110
112
 
111
113
  Please read
@@ -122,7 +124,7 @@ floatcsep run config.yml
122
124
  ```
123
125
 
124
126
  A runtime directory will be created in a `results` folder. The experiment results can be
125
- visualized in `results/report.md`. **Check out the experiment, models and tests definition in
127
+ visualized in `results/report.md` or `results/report.pdf`. **Check out the experiment, models and tests definition in
126
128
  the tutorials**!
127
129
 
128
130
  # Important Links
@@ -156,11 +158,16 @@ the [license file](https://github.com/cseptesting/floatcsep/blob/main/LICENSE) f
156
158
  information.
157
159
 
158
160
  ## Support
161
+
162
+ | <img src="https://i.postimg.cc/rFKQ0vRL/GFZ-Wortbildmarke-EN-Helmholtzdunkelblau-RGB.png" alt="GFZ logo" height="50"/> | <img src="https://i.postimg.cc/CLc5tQcZ/Geo-INQUIRE-logo.png" alt="GeoInquire logo" height="72"/> | <img src="https://i.postimg.cc/tC1LdjYf/scec.png" alt="SCEC logo" height="90"/> |
163
+ |:----------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|
164
+
165
+
166
+ - The work in this repository has received funding from the European Union’s Horizon research and innovation programme
167
+ under grant agreements No.s 101058518 and 821115 of the projects [GeoInquire](https://www.geo-inquire.eu/) and [RISE](https://www.rise-eu.org/).
168
+
169
+ - This research was supported by the [Statewide California Earthquake Center](https://www.scec.org/).
170
+ SCEC is funded by NSF Cooperative Agreement EAR-2225216 and USGS Cooperative Agreement G24AC00072-00.
159
171
 
160
- <div style="max-width: 100px; margin: auto;">
161
172
 
162
- | <img src="https://i.postimg.cc/tC1LdjYf/scec.png" width="150"/> | <img src="https://i.postimg.cc/2S7ThcFM/eu-flag.jpg" width="150"/> |
163
- |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
164
- | <div style="text-align: left;">This research was supported by the <a href="https://www.scec.org/">Statewide California Earthquake Center</a>. SCEC is funded by NSF Cooperative Agreement EAR-2225216 and USGS Cooperative Agreement G24AC00072-00.</div> | <div style="text-align: left;">The work in this repository has received funding from the European Union’s Horizon research and innovation programme under grant agreements No.s 101058518 and 821115 of the projects <a href="https://www.geo-inquire.eu/">GeoInquire</a> and <a href="https://www.rise-eu.org/">RISE</a>.</div> |
165
173
 
166
- </div>
@@ -38,28 +38,28 @@
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
- ## Stable Release
41
+ ## Latest version
42
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`
45
- from `conda-forge`
43
+ Clone and install the floatCSEP source code using `pip`
46
44
 
47
45
  ```
48
- conda create -n $NAME -y
46
+ conda create -n $NAME -y python=3.12
49
47
  conda activate $NAME
50
- conda install -c conda-forge floatcsep -y
48
+ git clone https://github.com/cseptesting/floatcsep
49
+ cd floatcsep
50
+ pip install -e .
51
51
  ```
52
52
 
53
- ## Latest version
53
+ ## Stable Release
54
54
 
55
- Clone and install the floatCSEP source code using `pip`
55
+ The simplest way to install `floatCSEP` is by creating a `conda`
56
+ environment (https://conda.io - checkout Anaconda or Miniforge) and install `floatCSEP`
57
+ from `conda-forge`
56
58
 
57
59
  ```
58
- conda create -n $NAME -y
60
+ conda create -n $NAME -y python=3.12
59
61
  conda activate $NAME
60
- git clone https://github.com/cseptesting/floatcsep
61
- cd floatcsep
62
- pip install .
62
+ conda install -c conda-forge floatcsep -y
63
63
  ```
64
64
 
65
65
  Please read
@@ -76,7 +76,7 @@ floatcsep run config.yml
76
76
  ```
77
77
 
78
78
  A runtime directory will be created in a `results` folder. The experiment results can be
79
- visualized in `results/report.md`. **Check out the experiment, models and tests definition in
79
+ visualized in `results/report.md` or `results/report.pdf`. **Check out the experiment, models and tests definition in
80
80
  the tutorials**!
81
81
 
82
82
  # Important Links
@@ -110,11 +110,16 @@ the [license file](https://github.com/cseptesting/floatcsep/blob/main/LICENSE) f
110
110
  information.
111
111
 
112
112
  ## Support
113
+
114
+ | <img src="https://i.postimg.cc/rFKQ0vRL/GFZ-Wortbildmarke-EN-Helmholtzdunkelblau-RGB.png" alt="GFZ logo" height="50"/> | <img src="https://i.postimg.cc/CLc5tQcZ/Geo-INQUIRE-logo.png" alt="GeoInquire logo" height="72"/> | <img src="https://i.postimg.cc/tC1LdjYf/scec.png" alt="SCEC logo" height="90"/> |
115
+ |:----------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|
116
+
117
+
118
+ - The work in this repository has received funding from the European Union’s Horizon research and innovation programme
119
+ under grant agreements No.s 101058518 and 821115 of the projects [GeoInquire](https://www.geo-inquire.eu/) and [RISE](https://www.rise-eu.org/).
120
+
121
+ - This research was supported by the [Statewide California Earthquake Center](https://www.scec.org/).
122
+ SCEC is funded by NSF Cooperative Agreement EAR-2225216 and USGS Cooperative Agreement G24AC00072-00.
113
123
 
114
- <div style="max-width: 100px; margin: auto;">
115
124
 
116
- | <img src="https://i.postimg.cc/tC1LdjYf/scec.png" width="150"/> | <img src="https://i.postimg.cc/2S7ThcFM/eu-flag.jpg" width="150"/> |
117
- |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
118
- | <div style="text-align: left;">This research was supported by the <a href="https://www.scec.org/">Statewide California Earthquake Center</a>. SCEC is funded by NSF Cooperative Agreement EAR-2225216 and USGS Cooperative Agreement G24AC00072-00.</div> | <div style="text-align: left;">The work in this repository has received funding from the European Union’s Horizon research and innovation programme under grant agreements No.s 101058518 and 821115 of the projects <a href="https://www.geo-inquire.eu/">GeoInquire</a> and <a href="https://www.rise-eu.org/">RISE</a>.</div> |
119
125
 
120
- </div>
@@ -19,3 +19,5 @@ dependencies:
19
19
  - seaborn
20
20
  - pytables
21
21
  - xmltodict
22
+ - weasyprint
23
+ - markdown-it-py
@@ -606,15 +606,15 @@ class ExperimentFileRegistry(ExperimentRegistry, FilepathMixin):
606
606
  test_catalogs = {win: join(win, "catalog", "test_catalog.json") for win in windows}
607
607
 
608
608
  figures = {
609
- "main_catalog_map": "catalog",
610
- "main_catalog_time": "events",
609
+ "main_catalog_map": Path("catalog.png"),
610
+ "main_catalog_time": Path("events.png"),
611
611
  **{
612
612
  win: {
613
- **{test: join(win, "figures", f"{test}") for test in tests},
614
- "catalog_map": join(win, "figures", "catalog_map"),
615
- "catalog_time": join(win, "figures", "catalog_time"),
613
+ **{test: Path(win, "figures", f"{test}.png") for test in tests},
614
+ "catalog_map": Path(win, "figures", "catalog_map.png"),
615
+ "catalog_time": Path(win, "figures", "catalog_time.png"),
616
616
  "forecasts": {
617
- model: join(win, "figures", f"forecast_{model}") for model in models
617
+ model: Path(win, "figures", f"forecast_{model}.png") for model in models
618
618
  },
619
619
  }
620
620
  for win in windows
@@ -123,6 +123,7 @@ class CatalogRepository:
123
123
  except json.JSONDecodeError:
124
124
  self._catalog = csep.load_catalog(self.registry.abs(cat))
125
125
  self.cat_path = self.registry.rel(cat)
126
+ self.name = cat
126
127
  else:
127
128
  query_function = parse_csep_func(cat)
128
129
  bounds = {
@@ -144,6 +145,7 @@ class CatalogRepository:
144
145
 
145
146
  self._catalog = query_function(catalog_id="catalog", **bounds)
146
147
  self.cat_path = self.registry.rel("catalog.json")
148
+ self.name = cat
147
149
  writer = getattr(CatalogSerializer, "json")
148
150
  writer(catalog=self._catalog, filename=self.registry.abs(self.cat_path))
149
151
 
@@ -110,9 +110,7 @@ def plot_forecasts(experiment: "Experiment") -> None:
110
110
  fig.canvas.draw()
111
111
 
112
112
  dpi = plot_forecast_config.get("dpi", 300)
113
- png_path = (
114
- experiment.registry.get_figure_key(window, "forecasts", model.name) + ".png"
115
- )
113
+ png_path = experiment.registry.get_figure_key(window, "forecasts", model.name)
116
114
  fig.savefig(
117
115
  png_path,
118
116
  dpi=dpi,