Skip to content

Commit

Permalink
make_docs cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
jmineau committed Aug 13, 2024
1 parent 228dea2 commit aeaea8b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cron
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0 0 * * * ~/software/python/miniconda3/envs/lair-dev/bin/python ~/.lair-docs/docs/make_docs.py --version dev latest
0 0 * * * ~/.lair-docs/docs/make_docs.sh >> ~/.lair-docs/docs/cron.log 2>&1
10 changes: 10 additions & 0 deletions docs/make_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash -l

# Load git
module load git

# Load lair dev environment
conda activate lair-dev

# Run the make_docs.py script
python ~/.lair-docs/docs/make_docs.py
2 changes: 2 additions & 0 deletions docs/source/uataq/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The configuration file is a JSON file which specifies UATAQ site characteristics
including name, location, status, research groups collecting data, and installed instruments.

The :class:`~lair.uataq._laboratory.Laboratory` object contains the following attributes:

- sites : A list of site identifiers.
- instruments : A list of instrument names.

Expand All @@ -51,6 +52,7 @@ The :class:`~instruments.InstrumentEnsemble` is a container object that hold dif
For convenience, :meth:`uataq.laboratory.get_site` is aliased as :meth:`uataq.get_site`
The :class:`~sites.Site` object contains the following information as attributes:

- SID : The site identifier.
- config : A dictionary containing configuration information for the site from the config file.
- instruments : An instance of the InstrumentEnsemble class representing the instruments at the site.
Expand Down
3 changes: 3 additions & 0 deletions env-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ dependencies:
- matplotlib
- metpy
- molmass
- myst-parser
- numpy
- numpydoc
- pandas
- pint-xarray
- pyproj
Expand All @@ -26,6 +28,7 @@ dependencies:
- shapely
- siphon
- sphinx
- sphinx-design
- synopticpy
- typing-extensions
- xarray
Expand Down
2 changes: 1 addition & 1 deletion lair/uataq/instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class InstrumentEnsemble:
"""
Container for an ensemble of instruments at a site.
Attributes:
Attributes
----------
SID : str
Site ID of the ensemble.
Expand Down

0 comments on commit aeaea8b

Please sign in to comment.