ec2_post_init
Populate STScI EC2 instances with ease
|
Astroconda control functions. More...
Go to the source code of this file.
Functions | |
ac_platform () | |
URL to astroconda releases Git repository (or local file system) More... | |
ac_releases_clone () | |
Clone the astroconda-releases repository. More... | |
ac_releases_pipeline_exists () | |
Check if a named pipeline exists in astroconda-releases. More... | |
ac_releases_pipeline_release_exists (pipeline_name, pipeline_release) | |
Check if a named release exists in a astroconda-releases pipeline. More... | |
ac_releases_data_analysis (series) | |
Get path to data analysis release file. More... | |
ac_releases_data_analysis_environ (series) | |
Generate conda environment name. More... | |
ac_releases_jwst (series) | |
Get path to JWST pipeline release file(s) More... | |
ac_releases_jwst_environ (series) | |
Generate conda environment name. More... | |
ac_releases_hst (series) | |
Get path to HST pipeline release file. More... | |
ac_releases_hst_environ (series) | |
Generate conda environment name. More... | |
ac_releases_install_hst (version) | |
Install the HST pipeline. More... | |
ac_releases_install_jwst (version) | |
Install the JWST pipeline. More... | |
ac_releases_install_data_analysis (version) | |
Install the data analysis pipeline. More... | |
Astroconda control functions.
Definition in file astroconda.inc.sh.
ac_platform | ( | ) |
URL to astroconda releases Git repository (or local file system)
Path where ec2pinit will store the astroconda releases repository
Get astroconda platform string
The value returned is the platform suffix of a pipeline release file name.
platform | if supported platform is detected |
unknown | if platform is not supported |
Definition at line 30 of file astroconda.inc.sh.
ac_releases_clone | ( | ) |
Clone the astroconda-releases repository.
The destination is $ec2pinit_tempdir
Definition at line 48 of file astroconda.inc.sh.
ac_releases_data_analysis | ( | series | ) |
Get path to data analysis release file.
series | Pipeline release name |
latest_path | if series is undefined |
path | if series is found |
Definition at line 89 of file astroconda.inc.sh.
ac_releases_data_analysis_environ | ( | series | ) |
Generate conda environment name.
series | Pipeline release name |
environment_name | if series exists |
1 | if release cannot be found |
Definition at line 114 of file astroconda.inc.sh.
ac_releases_hst | ( | series | ) |
Get path to HST pipeline release file.
HST provides a platform dependent YAML configuration
series | Pipeline release name |
latest_path | if series is undefined |
path | if series is found |
Definition at line 181 of file astroconda.inc.sh.
ac_releases_hst_environ | ( | series | ) |
Generate conda environment name.
series | Pipeline release name |
environment_name | if series exists |
1 | if release cannot be found |
Definition at line 206 of file astroconda.inc.sh.
ac_releases_install_data_analysis | ( | version | ) |
Install the data analysis pipeline.
version | pipeline release version |
Definition at line 256 of file astroconda.inc.sh.
ac_releases_install_hst | ( | version | ) |
Install the HST pipeline.
version | pipeline release version |
Definition at line 219 of file astroconda.inc.sh.
ac_releases_install_jwst | ( | version | ) |
Install the JWST pipeline.
version | pipeline release version |
Definition at line 235 of file astroconda.inc.sh.
ac_releases_jwst | ( | series | ) |
Get path to JWST pipeline release file(s)
JWST splits its installation into two files. This function returns two strings separated by new lines.
series | Pipeline release name |
latest_path | if series is undefined |
paths | if series is found |
Definition at line 131 of file astroconda.inc.sh.
ac_releases_jwst_environ | ( | series | ) |
Generate conda environment name.
series | Pipeline release name |
environment_name | if series exists |
1 | if release cannot be found |
Definition at line 154 of file astroconda.inc.sh.
ac_releases_pipeline_exists | ( | ) |
Check if a named pipeline exists in astroconda-releases.
path | if pipeline exists |
"" | if pipeline does not exist |
Definition at line 60 of file astroconda.inc.sh.
ac_releases_pipeline_release_exists | ( | pipeline_name | , |
pipeline_release | |||
) |
Check if a named release exists in a astroconda-releases pipeline.
pipeline_name | Pipeline name |
pipeline_release | Pipeline release name |
path | if release exists |
"" | if release does not exist |
Definition at line 74 of file astroconda.inc.sh.