Weiming-Hu / AnalogsEnsemble

The C++ and R packages for parallel ensemble forecasts using Analog Ensemble
https://weiming-hu.github.io/AnalogsEnsemble/
MIT License
18 stars 5 forks source link

Improve File IO for SimilarityMatrices #2

Closed Weiming-Hu closed 6 years ago

Weiming-Hu commented 6 years ago

Reading and writing similarity matrices are very slow because of the data structure.

A SimilarityMatrix is a vector of a vector which is not optimized for writing to and reading from a NetCDF file.

Weiming-Hu commented 6 years ago

The base class has been refactored to multi_array.