Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!313
WS-507: More foundation-laying for ingestion manifest builder
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WS-507: More foundation-laying for ingestion manifest builder
WS-507-build-ingestion-manifest
into
main
Overview
1
Commits
2
Pipelines
6
Changes
1
1 unresolved thread
Hide all comments
Merged
Janet Goldstein
requested to merge
WS-507-build-ingestion-manifest
into
main
3 years ago
Overview
1
Commits
2
Pipelines
6
Changes
1
1 unresolved thread
Hide all comments
Expand
Fleshed out classes
Added example files
Got started on first test
stole lots from the archive version
Edited
3 years ago
by
Janet Goldstein
0
0
Merge request reports
Viewing commit
0d65945a
Show latest version
1 file
+
0
−
49
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0d65945a
WS-507: Fleshing out classes, adding examples, getting started on first test
· 0d65945a
Janet Goldstein
authored
3 years ago
apps/cli/executables/pexable/ingest_envoy/ingest_envoy/classes.py deleted
100644 → 0
+
0
−
49
Options
"""
Objects pertaining to the various ingestion manifests
"""
from
enum
import
Enum
class
Telescope
(
Enum
):
"""
Codifying the names of our telescopes, because Janet can
'
t abide magic strings
"""
VLA
=
1
EVLA
=
2
ALMA
=
3
VLBA
=
4
GBT
=
5
NONE
=
6
class
IngestionType
(
Enum
):
"""
Types of ingestion we
'
ll have to do
"""
# ALMA products
ALMA_SDM
=
Telescope
.
ALMA
ALMA_CAL
=
Telescope
.
ALMA
ALMA_AUDI
=
Telescope
.
ALMA
# EVLA products
EVLA_SDM
=
Telescope
.
EVLA
EVLA_BDF
=
Telescope
.
EVLA
EVLA_CAL
=
Telescope
.
EVLA
# RealFast projects
REALFAST_SDM
=
Telescope
.
EVLA
# VLASS projects
VLASS_QUICKLOOK
=
Telescope
.
EVLA
# VLBA ingestion. (IDI and UVFITS products are treated the same.)
VLBA_FITS
=
Telescope
.
VLBA
# Coming Real Soon Now: VLBA Mark 4 product ingestion
VLBA_MARK4
=
Telescope
.
VLBA
# Also coming Real Soon: GBT execution block ingestion
GBT_EB
=
Telescope
.
GBT
# Hot on its heels: LVLA execution block ingestion
LVLA_EB
=
Telescope
.
VLA
# When we just don't know what we're dealing with
UNKNOWN
=
Telescope
.
NONE
Loading