xeofs 2.3.2__tar.gz → 2.3.3__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 (302) hide show
  1. xeofs-2.3.3/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
  2. xeofs-2.3.3/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. xeofs-2.3.3/.github/workflows/changelog.yml +20 -0
  4. xeofs-2.3.3/.github/workflows/ci.yml +47 -0
  5. xeofs-2.3.3/.github/workflows/formatting.yml +27 -0
  6. xeofs-2.3.3/.github/workflows/pull-request-linting.yml +22 -0
  7. xeofs-2.3.3/.github/workflows/release_package.yml +57 -0
  8. xeofs-2.3.3/.gitignore +143 -0
  9. xeofs-2.3.3/.pre-commit-config.yaml +21 -0
  10. xeofs-2.3.3/.readthedocs.yml +30 -0
  11. xeofs-2.3.3/CHANGELOG.md +1001 -0
  12. xeofs-2.3.3/CITATION.cff +33 -0
  13. xeofs-2.3.3/CODE_OF_CONDUCT.md +134 -0
  14. {xeofs-2.3.2 → xeofs-2.3.3}/PKG-INFO +44 -27
  15. {xeofs-2.3.2 → xeofs-2.3.3}/README.md +1 -1
  16. xeofs-2.3.3/cliff.toml +93 -0
  17. xeofs-2.3.3/docs/Makefile +20 -0
  18. xeofs-2.3.3/docs/_autosummary/xeofs.models.CCA.rst +39 -0
  19. xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexEOF.rst +45 -0
  20. xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexEOFRotator.rst +45 -0
  21. xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexMCA.rst +48 -0
  22. xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexMCARotator.rst +48 -0
  23. xeofs-2.3.3/docs/_autosummary/xeofs.models.EOF.rst +41 -0
  24. xeofs-2.3.3/docs/_autosummary/xeofs.models.EOFRotator.rst +41 -0
  25. xeofs-2.3.3/docs/_autosummary/xeofs.models.ExtendedEOF.rst +41 -0
  26. xeofs-2.3.3/docs/_autosummary/xeofs.models.GWPCA.rst +41 -0
  27. xeofs-2.3.3/docs/_autosummary/xeofs.models.MCA.rst +44 -0
  28. xeofs-2.3.3/docs/_autosummary/xeofs.models.MCARotator.rst +44 -0
  29. xeofs-2.3.3/docs/_autosummary/xeofs.models.OPA.rst +40 -0
  30. xeofs-2.3.3/docs/_autosummary/xeofs.models.RotatorFactory.rst +26 -0
  31. xeofs-2.3.3/docs/_autosummary/xeofs.validation.EOFBootstrapper.rst +41 -0
  32. xeofs-2.3.3/docs/_static/custom.css +36 -0
  33. xeofs-2.3.3/docs/_templates/custom-class-template.rst +32 -0
  34. xeofs-2.3.3/docs/_templates/custom-module-template.rst +66 -0
  35. xeofs-2.3.3/docs/api.rst +64 -0
  36. xeofs-2.3.3/docs/api_1_intra.rst +14 -0
  37. xeofs-2.3.3/docs/api_2_inter.rst +12 -0
  38. xeofs-2.3.3/docs/api_3_eval.rst +8 -0
  39. xeofs-2.3.3/docs/api_4_utils.rst +9 -0
  40. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_001.png +0 -0
  41. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_002.png +0 -0
  42. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_003.png +0 -0
  43. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_004.png +0 -0
  44. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_001.png +0 -0
  45. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_002.png +0 -0
  46. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_003.png +0 -0
  47. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_001.png +0 -0
  48. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_002.png +0 -0
  49. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_003.png +0 -0
  50. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eof-smode_001.png +0 -0
  51. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eof-tmode_001.png +0 -0
  52. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_gwpca_001.png +0 -0
  53. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_gwpca_002.png +0 -0
  54. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_mreof_001.png +0 -0
  55. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_multivariate-eof_001.png +0 -0
  56. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_rotated_eof_001.png +0 -0
  57. xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_weighted-eof_001.png +0 -0
  58. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_complex_eof_thumb.png +0 -0
  59. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof trend_thumb.png +0 -0
  60. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof_thumb.png +0 -0
  61. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof_trend_thumb.png +0 -0
  62. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eof-smode_thumb.png +0 -0
  63. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eof-tmode_thumb.png +0 -0
  64. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_gwpca_thumb.png +0 -0
  65. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_mreof_thumb.png +0 -0
  66. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_multivariate-eof_thumb.png +0 -0
  67. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_rotated_eof_thumb.png +0 -0
  68. xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_weighted-eof_thumb.png +0 -0
  69. xeofs-2.3.3/docs/auto_examples/1single/index.rst +203 -0
  70. xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.ipynb +236 -0
  71. xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.py +107 -0
  72. xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.py.md5 +1 -0
  73. xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.rst +1474 -0
  74. xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof_codeobj.pickle +0 -0
  75. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.ipynb +191 -0
  76. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.py +83 -0
  77. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.py.md5 +1 -0
  78. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.rst +694 -0
  79. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_codeobj.pickle +0 -0
  80. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.ipynb +187 -0
  81. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.py +88 -0
  82. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.py.md5 +1 -0
  83. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.rst +289 -0
  84. xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend_codeobj.pickle +0 -0
  85. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.ipynb +132 -0
  86. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.py +55 -0
  87. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.py.md5 +1 -0
  88. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.rst +172 -0
  89. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode_codeobj.pickle +0 -0
  90. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.ipynb +107 -0
  91. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.py +47 -0
  92. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.py.md5 +1 -0
  93. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.rst +134 -0
  94. xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode_codeobj.pickle +0 -0
  95. xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.ipynb +293 -0
  96. xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.py +175 -0
  97. xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.py.md5 +1 -0
  98. xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.rst +1997 -0
  99. xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca_codeobj.pickle +0 -0
  100. xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.ipynb +143 -0
  101. xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.py +70 -0
  102. xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.py.md5 +1 -0
  103. xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.rst +170 -0
  104. xeofs-2.3.3/docs/auto_examples/1single/plot_mreof_codeobj.pickle +0 -0
  105. xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.ipynb +127 -0
  106. xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.py +67 -0
  107. xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.py.md5 +1 -0
  108. xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.rst +154 -0
  109. xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof_codeobj.pickle +0 -0
  110. xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.ipynb +156 -0
  111. xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.py +98 -0
  112. xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.py.md5 +1 -0
  113. xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.rst +192 -0
  114. xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof_codeobj.pickle +0 -0
  115. xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.ipynb +147 -0
  116. xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.py +88 -0
  117. xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.py.md5 +1 -0
  118. xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.rst +175 -0
  119. xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof_codeobj.pickle +0 -0
  120. xeofs-2.3.3/docs/auto_examples/1single/sg_execution_times.rst +64 -0
  121. xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_cca_001.png +0 -0
  122. xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_cca_002.png +0 -0
  123. xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_mca_001.png +0 -0
  124. xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_rotated_mca_001.png +0 -0
  125. xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_cca_thumb.png +0 -0
  126. xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_mca_thumb.png +0 -0
  127. xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_rotated_mca_thumb.png +0 -0
  128. xeofs-2.3.3/docs/auto_examples/2multi/index.rst +77 -0
  129. xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.ipynb +197 -0
  130. xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.py +102 -0
  131. xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.py.md5 +1 -0
  132. xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.rst +239 -0
  133. xeofs-2.3.3/docs/auto_examples/2multi/plot_cca_codeobj.pickle +0 -0
  134. xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.ipynb +219 -0
  135. xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.py +112 -0
  136. xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.py.md5 +1 -0
  137. xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.rst +704 -0
  138. xeofs-2.3.3/docs/auto_examples/2multi/plot_mca_codeobj.pickle +0 -0
  139. xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.ipynb +237 -0
  140. xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.py +118 -0
  141. xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.py.md5 +1 -0
  142. xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.rst +718 -0
  143. xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca_codeobj.pickle +0 -0
  144. xeofs-2.3.3/docs/auto_examples/2multi/sg_execution_times.rst +43 -0
  145. xeofs-2.3.3/docs/auto_examples/3validation/images/sphx_glr_plot_bootstrap_001.png +0 -0
  146. xeofs-2.3.3/docs/auto_examples/3validation/images/thumb/sphx_glr_plot_bootstrap_thumb.png +0 -0
  147. xeofs-2.3.3/docs/auto_examples/3validation/index.rst +40 -0
  148. xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.ipynb +182 -0
  149. xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.py +96 -0
  150. xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.py.md5 +1 -0
  151. xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.rst +226 -0
  152. xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap_codeobj.pickle +0 -0
  153. xeofs-2.3.3/docs/auto_examples/3validation/sg_execution_times.rst +37 -0
  154. xeofs-2.3.3/docs/auto_examples/auto_examples_jupyter.zip +0 -0
  155. xeofs-2.3.3/docs/auto_examples/auto_examples_python.zip +0 -0
  156. xeofs-2.3.3/docs/auto_examples/index.rst +326 -0
  157. xeofs-2.3.3/docs/conf.py +225 -0
  158. xeofs-2.3.3/docs/environment.yml +11 -0
  159. xeofs-2.3.3/docs/faq.rst +47 -0
  160. xeofs-2.3.3/docs/img/timings_dark.png +0 -0
  161. xeofs-2.3.3/docs/img/timings_light.png +0 -0
  162. xeofs-2.3.3/docs/index.rst +63 -0
  163. xeofs-2.3.3/docs/installation.rst +48 -0
  164. xeofs-2.3.3/docs/logos/xeofs_logo.png +0 -0
  165. xeofs-2.3.3/docs/logos/xeofs_logo_black.png +0 -0
  166. xeofs-2.3.3/docs/logos/xeofs_logo_mini.png +0 -0
  167. xeofs-2.3.3/docs/logos/xeofs_logo_white.png +0 -0
  168. xeofs-2.3.3/docs/make.bat +35 -0
  169. xeofs-2.3.3/docs/model_pca.html +7583 -0
  170. xeofs-2.3.3/docs/model_pca.ipynb +327 -0
  171. xeofs-2.3.3/docs/model_pca.md +99 -0
  172. xeofs-2.3.3/docs/overview.rst +43 -0
  173. xeofs-2.3.3/docs/overview_1_why.rst +30 -0
  174. xeofs-2.3.3/docs/overview_2_features.rst +403 -0
  175. xeofs-2.3.3/docs/overview_3_contributing.rst +141 -0
  176. xeofs-2.3.3/docs/perf/figure_timings.py +137 -0
  177. xeofs-2.3.3/docs/perf/timings.nc +0 -0
  178. xeofs-2.3.3/docs/perf/timings_dark.png +0 -0
  179. xeofs-2.3.3/docs/perf/timings_light.png +0 -0
  180. xeofs-2.3.3/docs/perf/xeofs_timings.py +193 -0
  181. xeofs-2.3.3/docs/quickstart.ipynb +215 -0
  182. xeofs-2.3.3/examples/1single/README.rst +2 -0
  183. xeofs-2.3.3/examples/1single/eof-smode.jpg +0 -0
  184. xeofs-2.3.3/examples/1single/eof-tmode.jpg +0 -0
  185. xeofs-2.3.3/examples/1single/mreof-analysis.jpg +0 -0
  186. xeofs-2.3.3/examples/1single/multivariate-eof-analysis.jpg +0 -0
  187. xeofs-2.3.3/examples/1single/plot_complex_eof.py +107 -0
  188. xeofs-2.3.3/examples/1single/plot_eeof.png +0 -0
  189. xeofs-2.3.3/examples/1single/plot_eeof.py +83 -0
  190. xeofs-2.3.3/examples/1single/plot_eeof_trend.py +88 -0
  191. xeofs-2.3.3/examples/1single/plot_eof-smode.py +55 -0
  192. xeofs-2.3.3/examples/1single/plot_eof-tmode.py +47 -0
  193. xeofs-2.3.3/examples/1single/plot_gwpca.py +175 -0
  194. xeofs-2.3.3/examples/1single/plot_mreof.py +70 -0
  195. xeofs-2.3.3/examples/1single/plot_multivariate-eof.py +67 -0
  196. xeofs-2.3.3/examples/1single/plot_rotated_eof.py +98 -0
  197. xeofs-2.3.3/examples/1single/plot_weighted-eof.py +88 -0
  198. xeofs-2.3.3/examples/1single/rotated_eof.jpg +0 -0
  199. xeofs-2.3.3/examples/1single/weighted_eof.jpg +0 -0
  200. xeofs-2.3.3/examples/2multi/README.rst +2 -0
  201. xeofs-2.3.3/examples/2multi/mca.jpg +0 -0
  202. xeofs-2.3.3/examples/2multi/plot_cca.py +102 -0
  203. xeofs-2.3.3/examples/2multi/plot_mca.py +112 -0
  204. xeofs-2.3.3/examples/2multi/plot_rotated_mca.py +118 -0
  205. xeofs-2.3.3/examples/2multi/rotated_mca.jpg +0 -0
  206. xeofs-2.3.3/examples/3validation/README.rst +2 -0
  207. xeofs-2.3.3/examples/3validation/bootstrap.jpg +0 -0
  208. xeofs-2.3.3/examples/3validation/plot_bootstrap.py +96 -0
  209. xeofs-2.3.3/examples/README.rst +5 -0
  210. xeofs-2.3.3/pyproject.toml +95 -0
  211. xeofs-2.3.3/setup.cfg +4 -0
  212. xeofs-2.3.3/tests/conftest.py +381 -0
  213. xeofs-2.3.3/tests/data/sample_data.nc +0 -0
  214. xeofs-2.3.3/tests/data_container/__init__.py +0 -0
  215. xeofs-2.3.3/tests/models/__init__.py +0 -0
  216. xeofs-2.3.3/tests/models/test_cca.py +58 -0
  217. xeofs-2.3.3/tests/models/test_complex_eof.py +116 -0
  218. xeofs-2.3.3/tests/models/test_complex_eof_rotator.py +148 -0
  219. xeofs-2.3.3/tests/models/test_complex_mca.py +273 -0
  220. xeofs-2.3.3/tests/models/test_complex_mca_rotator.py +267 -0
  221. xeofs-2.3.3/tests/models/test_decomposer.py +179 -0
  222. xeofs-2.3.3/tests/models/test_eeof.py +437 -0
  223. xeofs-2.3.3/tests/models/test_eof.py +588 -0
  224. xeofs-2.3.3/tests/models/test_eof_rotator.py +287 -0
  225. xeofs-2.3.3/tests/models/test_gwpca.py +52 -0
  226. xeofs-2.3.3/tests/models/test_mca.py +484 -0
  227. xeofs-2.3.3/tests/models/test_mca_rotator.py +347 -0
  228. xeofs-2.3.3/tests/models/test_opa.py +378 -0
  229. xeofs-2.3.3/tests/models/test_orthogonality.py +939 -0
  230. xeofs-2.3.3/tests/models/test_rotator.py +48 -0
  231. xeofs-2.3.3/tests/preprocessing/__init__.py +0 -0
  232. xeofs-2.3.3/tests/preprocessing/test_dataarray_multiindex_converter.py +78 -0
  233. xeofs-2.3.3/tests/preprocessing/test_dataarray_renamer.py +86 -0
  234. xeofs-2.3.3/tests/preprocessing/test_dataarray_sanitizer.py +275 -0
  235. xeofs-2.3.3/tests/preprocessing/test_dataarray_scaler.py +193 -0
  236. xeofs-2.3.3/tests/preprocessing/test_dataarray_stacker.py +228 -0
  237. xeofs-2.3.3/tests/preprocessing/test_datalist_multiindex_converter.py +93 -0
  238. xeofs-2.3.3/tests/preprocessing/test_datalist_scaler.py +215 -0
  239. xeofs-2.3.3/tests/preprocessing/test_datalist_stacker.py +236 -0
  240. xeofs-2.3.3/tests/preprocessing/test_dataset_multiindex_converter.py +85 -0
  241. xeofs-2.3.3/tests/preprocessing/test_dataset_renamer.py +90 -0
  242. xeofs-2.3.3/tests/preprocessing/test_dataset_scaler.py +204 -0
  243. xeofs-2.3.3/tests/preprocessing/test_dataset_stacker.py +239 -0
  244. xeofs-2.3.3/tests/preprocessing/test_preprocessor_dataarray.py +181 -0
  245. xeofs-2.3.3/tests/preprocessing/test_preprocessor_datalist.py +188 -0
  246. xeofs-2.3.3/tests/preprocessing/test_preprocessor_dataset.py +180 -0
  247. xeofs-2.3.3/tests/utilities.py +150 -0
  248. xeofs-2.3.3/tests/utils/test_dimension_renamer.py +66 -0
  249. xeofs-2.3.3/tests/utils/test_total_variance.py +22 -0
  250. xeofs-2.3.3/tests/validation/__init__.py +0 -0
  251. xeofs-2.3.3/tests/validation/test_eof_bootstrapper.py +322 -0
  252. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/__init__.py +2 -0
  253. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/data_container/__init__.py +2 -0
  254. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/data_container/data_container.py +5 -2
  255. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/_base_cross_model.py +7 -4
  256. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/_base_model.py +6 -10
  257. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/decomposer.py +0 -1
  258. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eeof.py +3 -6
  259. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eof.py +1 -1
  260. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eof_rotator.py +1 -1
  261. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/gwpca.py +2 -7
  262. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/mca.py +1 -1
  263. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/mca_rotator.py +1 -1
  264. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/concatenator.py +0 -8
  265. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/dimension_renamer.py +1 -1
  266. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/list_processor.py +0 -2
  267. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/multi_index_converter.py +2 -2
  268. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/preprocessor.py +7 -3
  269. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/sanitizer.py +2 -2
  270. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/scaler.py +1 -1
  271. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/stacker.py +6 -6
  272. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/transformer.py +6 -2
  273. xeofs-2.3.3/xeofs/utils/__init__.py +0 -0
  274. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/data_types.py +0 -1
  275. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/io.py +10 -3
  276. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/numba_utils.py +1 -1
  277. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/sanity_checks.py +2 -2
  278. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/statistics.py +0 -2
  279. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/xarray_utils.py +1 -1
  280. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/validation/__init__.py +2 -0
  281. xeofs-2.3.3/xeofs/validation/_base_bootstrapper.py +1 -0
  282. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/validation/bootstrapper.py +0 -1
  283. xeofs-2.3.3/xeofs.egg-info/PKG-INFO +210 -0
  284. xeofs-2.3.3/xeofs.egg-info/SOURCES.txt +299 -0
  285. xeofs-2.3.3/xeofs.egg-info/requires.txt +38 -0
  286. xeofs-2.3.3/xeofs.egg-info/top_level.txt +1 -0
  287. xeofs-2.3.2/pyproject.toml +0 -79
  288. {xeofs-2.3.2 → xeofs-2.3.3}/LICENSE +0 -0
  289. {xeofs-2.3.2/xeofs/utils → xeofs-2.3.3/tests}/__init__.py +0 -0
  290. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/_version.py +0 -0
  291. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/__init__.py +0 -0
  292. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/cca.py +0 -0
  293. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/opa.py +0 -0
  294. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/rotator_factory.py +0 -0
  295. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/__init__.py +0 -0
  296. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/constants.py +0 -0
  297. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/dimension_renamer.py +0 -0
  298. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/distance_metrics.py +0 -0
  299. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/hilbert_transform.py +0 -0
  300. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/kernels.py +0 -0
  301. {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/rotation.py +0 -0
  302. /xeofs-2.3.2/xeofs/validation/_base_bootstrapper.py → /xeofs-2.3.3/xeofs.egg-info/dependency_links.txt +0 -0
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **Reproducible Minimal Working Example **
14
+ Provide a concise Python code snippet that demonstrates the issue. To display the code clearly, use [GitHub Flavored Markdown](http://github.github.com/github-flavored-markdown/) for formatting:
15
+
16
+ ```python
17
+ import xeofs as xe
18
+
19
+ model = xe.models.EOF()
20
+ ...
21
+ ```
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. Ubuntu]
28
+ - `xeofs` version [e.g. 1.2.0]
29
+
30
+ **Additional context**
31
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,20 @@
1
+ name: Update CHANGELOG
2
+ on:
3
+ release:
4
+ types: [created, edited]
5
+ workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
6
+
7
+ jobs:
8
+ generate-changelog:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ with:
13
+ fetch-depth: 0
14
+ - uses: BobAnkh/auto-generate-changelog@v1.2.5
15
+ with:
16
+ REPO_NAME: 'xarray-contrib/xeofs'
17
+ ACCESS_TOKEN: ${{ secrets.CHANGELOG_TOKEN }}
18
+ PATH: 'CHANGELOG.md'
19
+ COMMIT_MESSAGE: 'docs(CHANGELOG): update release notes'
20
+ TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'
@@ -0,0 +1,47 @@
1
+ # Basic workflow for building and testing the pip installation
2
+
3
+ name: Continuous Integration
4
+
5
+ on:
6
+ pull_request:
7
+ branches: [ main, develop ]
8
+ types: [opened, synchronize, reopened, edited]
9
+ workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
10
+
11
+
12
+ jobs:
13
+ test:
14
+ name: py${{ matrix.versions.python-version }} ${{ matrix.versions.resolution }}
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ versions:
19
+ - python-version: '3.10'
20
+ resolution: lowest-direct
21
+ - python-version: '3.11'
22
+ resolution: highest
23
+ - python-version: '3.12'
24
+ resolution: highest
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+
28
+ - name: Setup Python ${{ matrix.versions.python-version }}
29
+ uses: actions/setup-python@v5
30
+ with:
31
+ python-version: ${{ matrix.versions.python-version }}
32
+
33
+ - name: Install dependencies
34
+ run: |
35
+ pip install uv
36
+ uv pip install . -r pyproject.toml --system --extra dev --resolution ${{ matrix.versions.resolution }}
37
+
38
+ - name: Execute Tests
39
+ run: |
40
+ coverage run -m pytest -n auto --doctest-glob="README.md"
41
+ coverage report -m
42
+ coverage xml
43
+
44
+ - name: Upload Coverage Report to Codecov
45
+ uses: codecov/codecov-action@v3
46
+ with:
47
+ files: ./coverage.xml
@@ -0,0 +1,27 @@
1
+ name: Formatting
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [main, develop]
6
+ types: [opened, synchronize, reopened, edited]
7
+ workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
8
+
9
+
10
+ jobs:
11
+ ruff:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Install Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.11"
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install ruff
23
+ # Update output format to enable automatic inline annotations.
24
+ - name: Run Ruff
25
+ run: |
26
+ ruff check
27
+ ruff format --check
@@ -0,0 +1,22 @@
1
+ # Start action:
2
+ # ----------------
3
+ # semantic-pull-request
4
+
5
+ # Aim: ensure that PR title matches the concentional commits spec
6
+ # More info: https://github.com/marketplace/actions/semantic-pull-request
7
+
8
+ name: "PR Linting"
9
+
10
+ on:
11
+ pull_request_target:
12
+ types: [opened, edited, synchronize]
13
+
14
+ jobs:
15
+ validate:
16
+ name: validate conventional commit in title
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Run Semantic Pull Request Linting
20
+ uses: amannn/action-semantic-pull-request@v5
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,57 @@
1
+ name: Release Package After Merge
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
8
+
9
+
10
+ jobs:
11
+ Release_Package:
12
+ runs-on: ubuntu-latest
13
+ concurrency: release
14
+ permissions:
15
+ id-token: write
16
+ contents: write
17
+
18
+ steps:
19
+ - name: Checkout Repository
20
+ uses: actions/checkout@v3
21
+ with:
22
+ fetch-depth: 0
23
+
24
+ - name: Generate a changelog
25
+ uses: orhun/git-cliff-action@v2
26
+ id: git-cliff
27
+ with:
28
+ config: cliff.toml
29
+ args: --verbose
30
+ env:
31
+ OUTPUT: CHANGELOG.md
32
+
33
+ - name: Add Changelog
34
+ run: |
35
+ git add CHANGELOG.md
36
+
37
+ # This action uses Python Semantic Release v8
38
+ - name: Python Semantic Release
39
+ id: release
40
+ uses: python-semantic-release/python-semantic-release@master
41
+ with:
42
+ github_token: ${{ secrets.GITHUB_TOKEN }}
43
+ changelog: false
44
+
45
+ - name: Publish package distributions to PyPI
46
+ uses: pypa/gh-action-pypi-publish@release/v1
47
+ # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
48
+ # See https://github.com/actions/runner/issues/1173
49
+ if: steps.release.outputs.released == 'true'
50
+ with:
51
+ password: ${{ secrets.PYPI_TOKEN }}
52
+
53
+ - name: Publish package distributions to GitHub Releases
54
+ uses: python-semantic-release/upload-to-gh-release@main
55
+ if: steps.release.outputs.released == 'true'
56
+ with:
57
+ github_token: ${{ secrets.GITHUB_TOKEN }}
xeofs-2.3.3/.gitignore ADDED
@@ -0,0 +1,143 @@
1
+ # Personal
2
+ .vscode/
3
+ # Test related to CCA
4
+ tests/models/test_cca_solution.py
5
+
6
+ # Byte-compiled / optimized / DLL files
7
+ __pycache__/
8
+ *.py[cod]
9
+ *$py.class
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ wheels/
28
+ share/python-wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+ MANIFEST
33
+
34
+ # PyInstaller
35
+ # Usually these files are written by a python script from a template
36
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
37
+ *.manifest
38
+ *.spec
39
+
40
+ # Installer logs
41
+ pip-log.txt
42
+ pip-delete-this-directory.txt
43
+
44
+ # Unit test / coverage reports
45
+ htmlcov/
46
+ .tox/
47
+ .nox/
48
+ .coverage
49
+ .coverage.*
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+ *.cover
54
+ *.py,cover
55
+ .hypothesis/
56
+ .pytest_cache/
57
+ cover/
58
+
59
+ # Translations
60
+ *.mo
61
+ *.pot
62
+
63
+ # Django stuff:
64
+ *.log
65
+ local_settings.py
66
+ db.sqlite3
67
+ db.sqlite3-journal
68
+
69
+ # Flask stuff:
70
+ instance/
71
+ .webassets-cache
72
+
73
+ # Scrapy stuff:
74
+ .scrapy
75
+
76
+ # Sphinx documentation
77
+ docs/_build/
78
+
79
+ # PyBuilder
80
+ .pybuilder/
81
+ target/
82
+
83
+ # Jupyter Notebook
84
+ .ipynb_checkpoints
85
+
86
+ # IPython
87
+ profile_default/
88
+ ipython_config.py
89
+
90
+ # pyenv
91
+ # For a library or package, you might want to ignore these files since the code is
92
+ # intended to run in multiple environments; otherwise, check them in:
93
+ # .python-version
94
+
95
+ # pipenv
96
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
98
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
99
+ # install all needed dependencies.
100
+ #Pipfile.lock
101
+
102
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
103
+ __pypackages__/
104
+
105
+ # Celery stuff
106
+ celerybeat-schedule
107
+ celerybeat.pid
108
+
109
+ # SageMath parsed files
110
+ *.sage.py
111
+
112
+ # Environments
113
+ .env
114
+ .venv
115
+ env/
116
+ venv/
117
+ ENV/
118
+ env.bak/
119
+ venv.bak/
120
+
121
+ # Spyder project settings
122
+ .spyderproject
123
+ .spyproject
124
+
125
+ # Rope project settings
126
+ .ropeproject
127
+
128
+ # mkdocs documentation
129
+ /site
130
+
131
+ # mypy
132
+ .mypy_cache/
133
+ .dmypy.json
134
+ dmypy.json
135
+
136
+ # Pyre type checker
137
+ .pyre/
138
+
139
+ # pytype static type analyzer
140
+ .pytype/
141
+
142
+ # Cython debug symbols
143
+ cython_debug/
@@ -0,0 +1,21 @@
1
+ repos:
2
+
3
+ # Conventional Commits
4
+ - repo: https://github.com/compilerla/conventional-pre-commit
5
+ rev: v1.2.0
6
+ hooks:
7
+ - id: conventional-pre-commit
8
+ stages: [commit-msg]
9
+ args: [] # optional: list of Conventional Commits types to allow
10
+ # Lint and format with ruff
11
+ - repo: https://github.com/astral-sh/ruff-pre-commit
12
+ rev: v0.3.4
13
+ hooks:
14
+ - id: ruff
15
+ args: [ --fix ]
16
+ - id: ruff-format
17
+ # Strip output from Jupyter Notebooks
18
+ - repo: https://github.com/kynan/nbstripout
19
+ rev: 0.6.1
20
+ hooks:
21
+ - id: nbstripout
@@ -0,0 +1,30 @@
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ # Use mamba instead of conda
9
+ build:
10
+ os: "ubuntu-20.04"
11
+ tools:
12
+ python: "mambaforge-4.10"
13
+
14
+
15
+ # Build documentation in the docs/ directory with Sphinx
16
+ sphinx:
17
+ configuration: docs/conf.py
18
+
19
+ # Optionally build your docs in additional formats such as PDF
20
+ #formats:
21
+ # - pdf
22
+
23
+ # Optionally set the version of Python and requirements required to build your docs
24
+ conda:
25
+ environment: docs/environment.yml
26
+
27
+ # python:
28
+ # version: 3.7
29
+ # install:
30
+ # - requirements: requirements.txt