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
!1445
Added copying of mark 4 observations to the WS staging area
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added copying of mark 4 observations to the WS staging area
copy_mark4_to_staging_area
into
2.8.2-DEVELOPMENT
Overview
4
Commits
3
Pipelines
3
Changes
1
Merged
Nathan Bockisch
requested to merge
copy_mark4_to_staging_area
into
2.8.2-DEVELOPMENT
1 year ago
Overview
4
Commits
3
Pipelines
3
Changes
1
Expand
Works like a charm in testing! All the files reported successful NGAS ingestion.
0
0
Merge request reports
Compare
2.8.2-DEVELOPMENT
version 2
7f06f86a
1 year ago
version 1
4cef0472
1 year ago
2.8.2-DEVELOPMENT (base)
and
version 1
latest version
cf19332b
3 commits,
1 year ago
version 2
7f06f86a
2 commits,
1 year ago
version 1
4cef0472
1 commit,
1 year ago
1 file
+
7
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
shared/workspaces/alembic/versions/08090cb7acc4_add_mark4_observation_ingestion_workflow.py
+
7
−
1
Options
@@ -48,7 +48,13 @@ NGASHOSTSTR=$(./pycapo -q archive-ingestion.NGASHosts)
NGASHOSTARR=(`/bin/echo ${NGASHOSTSTR}`) # Put the space-delimited host list into an array
NGASHOSTLEN=${#NGASHOSTARR[@]}
cd $1
# Copy from the difx area to the Workspaces staging area
WSSTAGINGDIR=$(./pycapo -q edu.nrao.workspaces.IngestionSettings.vlbiStagingDirectory)
/bin/cp -r $1 $WSSTAGINGDIR
OBSDIR=$(/bin/basename $1)
/bin/chmod -R 750 $WSSTAGINGDIR/$OBSDIR # Make sure NGAS has permissions to ingest the files
cd $WSSTAGINGDIR/$OBSDIR
for FILE in *; do
# Pick random NGAS host to distribute the ingestion load
Loading