-
Clone this repository and navigate to your local copy
-
Install Miniforge and choose to not initialize Miniforge by running
conda init
. No need to polute your runcom files. For macOS and bash this looks like:a. Download the installation script and run it:
bash Miniforge3-MacOSX-arm64.sh
b. Accept the license
c. Specify an installation location
d. Say no to
Do you wish the installer to initialize Miniforge3 by running conda init?
-
Initialize
conda
. For the previous example, this looks likeeval "$(MINIFORGE3_INSTALL_DIR/bin/conda shell.bash hook)"
-
Create the
conda-forge
environmentpnnl_mpi23
:conda env create -f environment.yml
-
Activate the
pnnl_mpi23
environmentconda activate pnnl_mpi23
-
Download the data file
mpi23_ens_data.h5
from the Zenodo repository and place it on thedata
folder -
Verify the checksums
cd data; sha256sum -c SHA256SUMS; cd ..
-
Launch JupyterLab and start!
jupyter lab
Checkout the notebook file notebooks/data_read_example.ipynb
to see how to read the data and start working with it.
This file contains the following datasets:
Nens
: Number of data pairsNxi
: Number of terms of the Kosambi-Karhunen-Loève (KKL) expansion of the log-transmissivity fieldxi_ens
:Nens
vectors of KKL coefficientsu_ens
:Nens
vectors of discretized pressure fieldsytms_ens
:Nens
vectors of discretized log-transmissivity fields, corresponding to the entries ofxi_ens
, minus the true field's meanytm
: The true log-transmissivity field's meanyref
: The true log-transmissivity field minus its meanypred
,Psi_y
: The KKL mean and matrix of coefficients
The entries of xi_ens
and ytms_ens
are related by the KKL:
ytms_ens[i] = ypred + Psi_y @ xi_ens[i]
Any of the log-transmissivity fields can be recovered by adding the true field's mean:
ytm + yref # The true log-transmissivity field
ytm + ytms_ens[i] # The ith log-transmissivity field in the dataset