Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossTower
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
AossTower
Commits
92228cf7
Verified
Commit
92228cf7
authored
2 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add operational environment YAML
parent
ea2b5738
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+38
-0
38 additions, 0 deletions
README.md
environment.yaml
+12
-0
12 additions, 0 deletions
environment.yaml
pyproject.toml
+2
-0
2 additions, 0 deletions
pyproject.toml
with
52 additions
and
0 deletions
README.md
+
38
−
0
View file @
92228cf7
# 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/...
```
This diff is collapsed.
Click to expand it.
environment.yaml
0 → 100644
+
12
−
0
View file @
92228cf7
name
:
aoss_tower
channels
:
-
conda-forge
dependencies
:
-
matplotlib
-
netcdf4
-
numpy
-
pandas
-
pytest
-
requests
-
sh
-
python=3.11
This diff is collapsed.
Click to expand it.
pyproject.toml
+
2
−
0
View file @
92228cf7
...
...
@@ -74,6 +74,8 @@ requires-python = ">=3.10"
dependencies
=
[
"numpy"
,
"pandas"
,
"netcdf4"
,
"requests"
,
]
dynamic
=
[
"version"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment