LESbrary.jl
This package is a framework for building a library of large eddy simulations (LES) of ocean surface boundary layer turbulence — the LESbrary — with Oceananigans.jl. The LESbrary will archive turbulence data for both idealized and realistic oceanic scenarios.
Adding LESbrary.jl to a julia environment
To add LESbrary.jl
to your julia environment, type
julia> using Pkg
julia> Pkg.add("https://github.com/CliMA/LESbrary.jl.git")
at the REPL.
This will allow you to write using LESbrary
in your scripts (and thereby run the scripts in /examples
).
Python conda environment
Some aspects of the LESbrary.jl relies on some Python functionality. If you need this python functionality, you'll have to set up the conda environment:
- Download and install Miniconda (or Anaconda) if needed: https://docs.conda.io/en/latest/miniconda.html
- Instantiate and activate the LESbrary.jl conda environment:
conda env create --name lesbrary --file=environment.yml
thenconda activate lesbrary
- In Julia set the
PYTHON
environment variable to point to the Python executable provided by Conda. For example:julia --project
thenENV["PYTHON"]="/home/alir/miniconda3/envs/lesbrary/bin/python3.8"
at the REPL. - Build PyCall:
] build PyCall
Observational data
The Southern Ocean State Estimate (SOSE) is currently being used for pilot simulations although we're planning to also use ECCO v4 and ERA5 data.
SOSE data and also lots of plots being produced is on engaging at /home/alir/cnhlab004/bsose_i122
.