Skip to content

Commit

Permalink
allow qagrade= and public= as optional args for the final archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Mar 24, 2024
1 parent fd95e32 commit 4942a60
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion bin/SLpipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# @todo optional PI parameters
# option to have a data+time ID in the name, by default it will be blank?

_version="SLpipeline: 2-feb-2024"
_version="SLpipeline: 24-mar-2024"

echo ""
echo "LMTOY>> VERSION $(cat $LMTOY/VERSION)"
Expand Down Expand Up @@ -40,6 +40,8 @@ rsync="" # rsync address for the TAP file (used at LMT/malt)
oid="" # experimental parallel processing using __$oid == currently not in use ==
goal=Science # Science, or override with: Pointing,Focus
webrun="" # optional directive for webrun to do parameter checking (SEQ/map, SEQ/Bs, RSR, ....)
qagrade="" # if given, the final grade recorded for the archive (QAFAIL enforces -1)
public="" # if given, the public data for archiving. Default is 1 year after today.

# Optional instrument specific pipeline can be added as well but are not known here
# A few examples:
Expand Down Expand Up @@ -330,6 +332,16 @@ echo "obsnum_list=$obsnum_list" >> $pdir/lmtoy_$obsnum.rc
# record the processing time
echo "date=\"$(lmtoy_date)\" # end " >> $pdir/lmtoy_$obsnum.rc

# record the qagrade, if one was given
if [ ! -z $qagrade ]; then
echo "qagrade=$qagrade" >> $pdir/lmtoy_$obsnum.rc
fi

# record the public date, if one was given
if [ ! -z $public ]; then
echo "date_public=$public" >> $pdir/lmtoy_$obsnum.rc
fi

# make a metadata yaml file for later ingestion into DataVerse
if [ $meta -gt 0 ]; then
cd $pdir
Expand Down

0 comments on commit 4942a60

Please sign in to comment.