-
David Hoese authoredVerifiedbf49fc04
README.md 1.28 KiB
Mendota Buoy Processing
Operational conda environment
These instructions assume the operational "standard practice" that is current
at the time of writing. This practice is to create a conda environment using
the "root" user under /opt/metobs/mendota_buoy
.
-
Get and install the conda environment:
cd /tmp curl -O "https://gitlab.ssec.wisc.edu/metobs/MendotaBuoy/-/raw/master/environment.yaml" sudo /opt/miniconda3/condabin/conda env create --file environment.yaml --prefix /opt/metobs/mendota_buoy
-
Clone the git repository into the environment and other setup:
cd /opt/metobs/mendota_buoy sudo mkdir -p repos/git log lock sudo chown metobs:metobsgrp log lock sudo git clone "https://gitlab.ssec.wisc.edu/metobs/MendotaBuoy.git" repos/git/MendotaBuoy sudo ln -s repos/git/MendotaBuoy/scripts ./scripts sudo git clone "https://gitlab.ssec.wisc.edu/metobs/MetObsCommon.git" repos/git/MetObsCommon
-
Install the metobsapi python package:
sudo /opt/metobs/mendota_buoy/bin/pip install -e repos/git/MetObsCommon/ sudo /opt/metobs/mendota_buoy/bin/pip install -e repos/git/MendotaBuoy/
-
Copy
etc
files from MetObsCommon if necessary:sudo cp repos/git/MetObsCommon/etc/... /etc/...