Skip to content

read_input_csv⚓︎

Observed data and its variance, read from the files a config names.

:class:DataReader turns the truedata/datavar entries of the [dataassim] block -- CSV, pickle or .npz files, with cells that may themselves point at .npz arrays -- into the frames the ensemble holds, applying wavelet compression to seismic vintages when configured.

DataReader ⚓︎

Reads the observed data and its variance, as frames, from the files a config names.

get_data() ⚓︎

The observations as a frame: report labels as index, data types as columns; .npz cells are loaded and compressed vintages reduced to their leading wavelet coefficients.

get_variance(data_df, sparse_data=None) ⚓︎

The variance frame on data_df's geometry, from ['abs', v], ['rel', percent], ['emp', ensemble] or ['cd', file] cells; a compressed vintage gets its estimated noise squared.