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.
- xeofs-2.3.3/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
- xeofs-2.3.3/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- xeofs-2.3.3/.github/workflows/changelog.yml +20 -0
- xeofs-2.3.3/.github/workflows/ci.yml +47 -0
- xeofs-2.3.3/.github/workflows/formatting.yml +27 -0
- xeofs-2.3.3/.github/workflows/pull-request-linting.yml +22 -0
- xeofs-2.3.3/.github/workflows/release_package.yml +57 -0
- xeofs-2.3.3/.gitignore +143 -0
- xeofs-2.3.3/.pre-commit-config.yaml +21 -0
- xeofs-2.3.3/.readthedocs.yml +30 -0
- xeofs-2.3.3/CHANGELOG.md +1001 -0
- xeofs-2.3.3/CITATION.cff +33 -0
- xeofs-2.3.3/CODE_OF_CONDUCT.md +134 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/PKG-INFO +44 -27
- {xeofs-2.3.2 → xeofs-2.3.3}/README.md +1 -1
- xeofs-2.3.3/cliff.toml +93 -0
- xeofs-2.3.3/docs/Makefile +20 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.CCA.rst +39 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexEOF.rst +45 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexEOFRotator.rst +45 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexMCA.rst +48 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.ComplexMCARotator.rst +48 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.EOF.rst +41 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.EOFRotator.rst +41 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.ExtendedEOF.rst +41 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.GWPCA.rst +41 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.MCA.rst +44 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.MCARotator.rst +44 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.OPA.rst +40 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.models.RotatorFactory.rst +26 -0
- xeofs-2.3.3/docs/_autosummary/xeofs.validation.EOFBootstrapper.rst +41 -0
- xeofs-2.3.3/docs/_static/custom.css +36 -0
- xeofs-2.3.3/docs/_templates/custom-class-template.rst +32 -0
- xeofs-2.3.3/docs/_templates/custom-module-template.rst +66 -0
- xeofs-2.3.3/docs/api.rst +64 -0
- xeofs-2.3.3/docs/api_1_intra.rst +14 -0
- xeofs-2.3.3/docs/api_2_inter.rst +12 -0
- xeofs-2.3.3/docs/api_3_eval.rst +8 -0
- xeofs-2.3.3/docs/api_4_utils.rst +9 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_002.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_003.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_complex_eof_004.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_002.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_003.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_002.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eeof_trend_003.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eof-smode_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_eof-tmode_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_gwpca_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_gwpca_002.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_mreof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_multivariate-eof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_rotated_eof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/sphx_glr_plot_weighted-eof_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_complex_eof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof trend_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eeof_trend_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eof-smode_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_eof-tmode_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_gwpca_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_mreof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_multivariate-eof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_rotated_eof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/images/thumb/sphx_glr_plot_weighted-eof_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/index.rst +203 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.ipynb +236 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.py +107 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof.rst +1474 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_complex_eof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.ipynb +191 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.py +83 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof.rst +694 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.ipynb +187 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.py +88 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend.rst +289 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eeof_trend_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.ipynb +132 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.py +55 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode.rst +172 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-smode_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.ipynb +107 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.py +47 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode.rst +134 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_eof-tmode_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.ipynb +293 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.py +175 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca.rst +1997 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_gwpca_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.ipynb +143 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.py +70 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_mreof.rst +170 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_mreof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.ipynb +127 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.py +67 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof.rst +154 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_multivariate-eof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.ipynb +156 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.py +98 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof.rst +192 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_rotated_eof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.ipynb +147 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.py +88 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof.rst +175 -0
- xeofs-2.3.3/docs/auto_examples/1single/plot_weighted-eof_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/1single/sg_execution_times.rst +64 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_cca_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_cca_002.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_mca_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/sphx_glr_plot_rotated_mca_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_cca_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_mca_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/images/thumb/sphx_glr_plot_rotated_mca_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/index.rst +77 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.ipynb +197 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.py +102 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_cca.rst +239 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_cca_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.ipynb +219 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.py +112 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_mca.rst +704 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_mca_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.ipynb +237 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.py +118 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca.rst +718 -0
- xeofs-2.3.3/docs/auto_examples/2multi/plot_rotated_mca_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/2multi/sg_execution_times.rst +43 -0
- xeofs-2.3.3/docs/auto_examples/3validation/images/sphx_glr_plot_bootstrap_001.png +0 -0
- xeofs-2.3.3/docs/auto_examples/3validation/images/thumb/sphx_glr_plot_bootstrap_thumb.png +0 -0
- xeofs-2.3.3/docs/auto_examples/3validation/index.rst +40 -0
- xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.ipynb +182 -0
- xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.py +96 -0
- xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.py.md5 +1 -0
- xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap.rst +226 -0
- xeofs-2.3.3/docs/auto_examples/3validation/plot_bootstrap_codeobj.pickle +0 -0
- xeofs-2.3.3/docs/auto_examples/3validation/sg_execution_times.rst +37 -0
- xeofs-2.3.3/docs/auto_examples/auto_examples_jupyter.zip +0 -0
- xeofs-2.3.3/docs/auto_examples/auto_examples_python.zip +0 -0
- xeofs-2.3.3/docs/auto_examples/index.rst +326 -0
- xeofs-2.3.3/docs/conf.py +225 -0
- xeofs-2.3.3/docs/environment.yml +11 -0
- xeofs-2.3.3/docs/faq.rst +47 -0
- xeofs-2.3.3/docs/img/timings_dark.png +0 -0
- xeofs-2.3.3/docs/img/timings_light.png +0 -0
- xeofs-2.3.3/docs/index.rst +63 -0
- xeofs-2.3.3/docs/installation.rst +48 -0
- xeofs-2.3.3/docs/logos/xeofs_logo.png +0 -0
- xeofs-2.3.3/docs/logos/xeofs_logo_black.png +0 -0
- xeofs-2.3.3/docs/logos/xeofs_logo_mini.png +0 -0
- xeofs-2.3.3/docs/logos/xeofs_logo_white.png +0 -0
- xeofs-2.3.3/docs/make.bat +35 -0
- xeofs-2.3.3/docs/model_pca.html +7583 -0
- xeofs-2.3.3/docs/model_pca.ipynb +327 -0
- xeofs-2.3.3/docs/model_pca.md +99 -0
- xeofs-2.3.3/docs/overview.rst +43 -0
- xeofs-2.3.3/docs/overview_1_why.rst +30 -0
- xeofs-2.3.3/docs/overview_2_features.rst +403 -0
- xeofs-2.3.3/docs/overview_3_contributing.rst +141 -0
- xeofs-2.3.3/docs/perf/figure_timings.py +137 -0
- xeofs-2.3.3/docs/perf/timings.nc +0 -0
- xeofs-2.3.3/docs/perf/timings_dark.png +0 -0
- xeofs-2.3.3/docs/perf/timings_light.png +0 -0
- xeofs-2.3.3/docs/perf/xeofs_timings.py +193 -0
- xeofs-2.3.3/docs/quickstart.ipynb +215 -0
- xeofs-2.3.3/examples/1single/README.rst +2 -0
- xeofs-2.3.3/examples/1single/eof-smode.jpg +0 -0
- xeofs-2.3.3/examples/1single/eof-tmode.jpg +0 -0
- xeofs-2.3.3/examples/1single/mreof-analysis.jpg +0 -0
- xeofs-2.3.3/examples/1single/multivariate-eof-analysis.jpg +0 -0
- xeofs-2.3.3/examples/1single/plot_complex_eof.py +107 -0
- xeofs-2.3.3/examples/1single/plot_eeof.png +0 -0
- xeofs-2.3.3/examples/1single/plot_eeof.py +83 -0
- xeofs-2.3.3/examples/1single/plot_eeof_trend.py +88 -0
- xeofs-2.3.3/examples/1single/plot_eof-smode.py +55 -0
- xeofs-2.3.3/examples/1single/plot_eof-tmode.py +47 -0
- xeofs-2.3.3/examples/1single/plot_gwpca.py +175 -0
- xeofs-2.3.3/examples/1single/plot_mreof.py +70 -0
- xeofs-2.3.3/examples/1single/plot_multivariate-eof.py +67 -0
- xeofs-2.3.3/examples/1single/plot_rotated_eof.py +98 -0
- xeofs-2.3.3/examples/1single/plot_weighted-eof.py +88 -0
- xeofs-2.3.3/examples/1single/rotated_eof.jpg +0 -0
- xeofs-2.3.3/examples/1single/weighted_eof.jpg +0 -0
- xeofs-2.3.3/examples/2multi/README.rst +2 -0
- xeofs-2.3.3/examples/2multi/mca.jpg +0 -0
- xeofs-2.3.3/examples/2multi/plot_cca.py +102 -0
- xeofs-2.3.3/examples/2multi/plot_mca.py +112 -0
- xeofs-2.3.3/examples/2multi/plot_rotated_mca.py +118 -0
- xeofs-2.3.3/examples/2multi/rotated_mca.jpg +0 -0
- xeofs-2.3.3/examples/3validation/README.rst +2 -0
- xeofs-2.3.3/examples/3validation/bootstrap.jpg +0 -0
- xeofs-2.3.3/examples/3validation/plot_bootstrap.py +96 -0
- xeofs-2.3.3/examples/README.rst +5 -0
- xeofs-2.3.3/pyproject.toml +95 -0
- xeofs-2.3.3/setup.cfg +4 -0
- xeofs-2.3.3/tests/conftest.py +381 -0
- xeofs-2.3.3/tests/data/sample_data.nc +0 -0
- xeofs-2.3.3/tests/data_container/__init__.py +0 -0
- xeofs-2.3.3/tests/models/__init__.py +0 -0
- xeofs-2.3.3/tests/models/test_cca.py +58 -0
- xeofs-2.3.3/tests/models/test_complex_eof.py +116 -0
- xeofs-2.3.3/tests/models/test_complex_eof_rotator.py +148 -0
- xeofs-2.3.3/tests/models/test_complex_mca.py +273 -0
- xeofs-2.3.3/tests/models/test_complex_mca_rotator.py +267 -0
- xeofs-2.3.3/tests/models/test_decomposer.py +179 -0
- xeofs-2.3.3/tests/models/test_eeof.py +437 -0
- xeofs-2.3.3/tests/models/test_eof.py +588 -0
- xeofs-2.3.3/tests/models/test_eof_rotator.py +287 -0
- xeofs-2.3.3/tests/models/test_gwpca.py +52 -0
- xeofs-2.3.3/tests/models/test_mca.py +484 -0
- xeofs-2.3.3/tests/models/test_mca_rotator.py +347 -0
- xeofs-2.3.3/tests/models/test_opa.py +378 -0
- xeofs-2.3.3/tests/models/test_orthogonality.py +939 -0
- xeofs-2.3.3/tests/models/test_rotator.py +48 -0
- xeofs-2.3.3/tests/preprocessing/__init__.py +0 -0
- xeofs-2.3.3/tests/preprocessing/test_dataarray_multiindex_converter.py +78 -0
- xeofs-2.3.3/tests/preprocessing/test_dataarray_renamer.py +86 -0
- xeofs-2.3.3/tests/preprocessing/test_dataarray_sanitizer.py +275 -0
- xeofs-2.3.3/tests/preprocessing/test_dataarray_scaler.py +193 -0
- xeofs-2.3.3/tests/preprocessing/test_dataarray_stacker.py +228 -0
- xeofs-2.3.3/tests/preprocessing/test_datalist_multiindex_converter.py +93 -0
- xeofs-2.3.3/tests/preprocessing/test_datalist_scaler.py +215 -0
- xeofs-2.3.3/tests/preprocessing/test_datalist_stacker.py +236 -0
- xeofs-2.3.3/tests/preprocessing/test_dataset_multiindex_converter.py +85 -0
- xeofs-2.3.3/tests/preprocessing/test_dataset_renamer.py +90 -0
- xeofs-2.3.3/tests/preprocessing/test_dataset_scaler.py +204 -0
- xeofs-2.3.3/tests/preprocessing/test_dataset_stacker.py +239 -0
- xeofs-2.3.3/tests/preprocessing/test_preprocessor_dataarray.py +181 -0
- xeofs-2.3.3/tests/preprocessing/test_preprocessor_datalist.py +188 -0
- xeofs-2.3.3/tests/preprocessing/test_preprocessor_dataset.py +180 -0
- xeofs-2.3.3/tests/utilities.py +150 -0
- xeofs-2.3.3/tests/utils/test_dimension_renamer.py +66 -0
- xeofs-2.3.3/tests/utils/test_total_variance.py +22 -0
- xeofs-2.3.3/tests/validation/__init__.py +0 -0
- xeofs-2.3.3/tests/validation/test_eof_bootstrapper.py +322 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/__init__.py +2 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/data_container/__init__.py +2 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/data_container/data_container.py +5 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/_base_cross_model.py +7 -4
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/_base_model.py +6 -10
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/decomposer.py +0 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eeof.py +3 -6
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eof.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/eof_rotator.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/gwpca.py +2 -7
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/mca.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/mca_rotator.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/concatenator.py +0 -8
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/dimension_renamer.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/list_processor.py +0 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/multi_index_converter.py +2 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/preprocessor.py +7 -3
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/sanitizer.py +2 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/scaler.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/stacker.py +6 -6
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/transformer.py +6 -2
- xeofs-2.3.3/xeofs/utils/__init__.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/data_types.py +0 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/io.py +10 -3
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/numba_utils.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/sanity_checks.py +2 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/statistics.py +0 -2
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/xarray_utils.py +1 -1
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/validation/__init__.py +2 -0
- xeofs-2.3.3/xeofs/validation/_base_bootstrapper.py +1 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/validation/bootstrapper.py +0 -1
- xeofs-2.3.3/xeofs.egg-info/PKG-INFO +210 -0
- xeofs-2.3.3/xeofs.egg-info/SOURCES.txt +299 -0
- xeofs-2.3.3/xeofs.egg-info/requires.txt +38 -0
- xeofs-2.3.3/xeofs.egg-info/top_level.txt +1 -0
- xeofs-2.3.2/pyproject.toml +0 -79
- {xeofs-2.3.2 → xeofs-2.3.3}/LICENSE +0 -0
- {xeofs-2.3.2/xeofs/utils → xeofs-2.3.3/tests}/__init__.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/_version.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/__init__.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/cca.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/opa.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/models/rotator_factory.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/preprocessing/__init__.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/constants.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/dimension_renamer.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/distance_metrics.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/hilbert_transform.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/kernels.py +0 -0
- {xeofs-2.3.2 → xeofs-2.3.3}/xeofs/utils/rotation.py +0 -0
- /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
|