xarray-contrib / xeofs

Comprehensive EOF analysis in Python with xarray: A versatile, multidimensional, and scalable tool for advanced climate data analysis
https://xeofs.readthedocs.io/
MIT License
98 stars 18 forks source link

refactor(decomposer): allow truncated SVD based on variance #184

Closed nicrie closed 1 month ago

nicrie commented 1 month ago

Instead of integer number of modes to compute the truncated SVD, one can also use a fraction between 0 and 1 to specify the amount of variance that you want to be explained by the retained components.