Skip to content
Snippets Groups Projects
Verified Commit 92228cf7 authored by David Hoese's avatar David Hoese
Browse files

Add operational environment YAML

parent ea2b5738
No related branches found
No related tags found
No related merge requests found
# AOSS Tower
## 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/aoss_tower`.
1. Get and install the conda environment:
```bash
cd /tmp
curl -O "https://gitlab.ssec.wisc.edu/metobs/AossTower/-/raw/master/environment.yaml"
sudo /opt/miniconda3/condabin/conda env create --file environment.yaml --prefix /opt/metobs/aoss_tower
```
2. Clone the git repository into the environment and other setup:
```bash
cd /opt/metobs/aoss_tower
sudo mkdir -p repos/git log lock
sudo chown metobs:metobsgrp log lock
sudo git clone "https://gitlab.ssec.wisc.edu/metobs/AossTower.git" repos/git/AossTower
sudo ln -s repos/git/AossTower/scripts ./scripts
sudo git clone "https://gitlab.ssec.wisc.edu/metobs/MetObsCommon.git" repos/git/MetObsCommon
```
3. Install the metobsapi python package:
```bash
sudo /opt/metobs/aoss_tower/bin/pip install -e repos/git/MetObsCommon/
sudo /opt/metobs/aoss_tower/bin/pip install -e repos/git/MetObsAPI/
```
4. Copy `etc` files from MetObsCommon if necessary:
```bash
sudo cp repos/git/MetObsCommon/etc/... /etc/...
```
name: aoss_tower
channels:
- conda-forge
dependencies:
- matplotlib
- netcdf4
- numpy
- pandas
- pytest
- requests
- sh
- python=3.11
......@@ -74,6 +74,8 @@ requires-python = ">=3.10"
dependencies = [
"numpy",
"pandas",
"netcdf4",
"requests",
]
dynamic = ["version"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment