Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Commit 59e1257

Browse files
author
Sean McManus
committed
snap
1 parent a1f9c90 commit 59e1257

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

personalities/soar-goodman/soar-goodman.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ options:
88
PRODTYPE: image
99
params:
1010
calchdr:
11+
- DATEOBSmicro
1112
- DTCALDATfromDATEOBSchile
1213
- INSTRUMEtoDT

scripts/gmetrics-tada.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ OBSNIGHT=$(date --date "0 days -12 hours 0 seconds" +%Y%m%d)
1212

1313
# La Serena Intermediate Hop for DECam xfers.
1414
if [ $(hostname) == "valls2.ctio.noao.edu" ]; then
15-
COUNT=$(find /var/tada/nowatch/${OBSNIGHT}/ct4m-decam/ -type f -name "*.fz" | wc -l)
15+
COUNT=$(find /var/tada/nowatch/${OBSNIGHT}/ct4m-decam/ -type f -name "*.fz" 2> /dev/null | wc -l)
1616
/usr/bin/gmetric $opts -n ct4m-decam-xfer-laserena -v $COUNT
1717
# Tucson dropbox and ingest for DECam.
1818
elif [ $(hostname) == "valtu1.sdm.noao.edu" ]; then
19-
COUNT=$(find /var/tada/dropbox/${OBSNIGHT}/ct4m-decam/ -type f -name "*.fz" | wc -l)
19+
COUNT=$(find /var/tada/dropbox/${OBSNIGHT}/ct4m-decam/ -type f -name "*.fz" 2> /dev/null | wc -l)
2020
/usr/bin/gmetric $opts -n ct4m-decam-xfer-tucson-incoming -v $COUNT
21-
COUNT=$(find /net/archive/mtn/${OBSNIGHT}/ct4m/ -type f -name "*.fz" | wc -l)
21+
COUNT=$(find /net/archive/mtn/${OBSNIGHT}/ct4m/ -type f -name "*.fz" 2> /dev/null | wc -l)
2222
/usr/bin/gmetric $opts -n ct4m-decam-xfer-tucson-archived -v $COUNT
2323
COUNT=$(dqcli --list active | grep ct4m-decam | wc -l)
2424
/usr/bin/gmetric $opts -n ct4m-decam-xfer-tucson-ingestbacklog -v $COUNT
2525
else
2626
list="pipeline-decam pipeline-mosaic3 pipeline-90prime"
2727
for personality in $list; do
28-
DROPBOX=$(find /var/tada/dropbox/ -type f -path "*/$personality/*" -mmin -60 | wc -l)
28+
DROPBOX=$(find /var/tada/dropbox/ -type f -path "*/$personality/*" -mmin -60 2> /dev/null | wc -l)
2929
ACTIVE=$(dqcli --list active | grep $personality | wc -l)
3030
/usr/bin/gmetric $opts -n tada_dropbox_${personality} -v $DROPBOX
3131
/usr/bin/gmetric $opts -n tada_active_${personality} -v $ACTIVE

0 commit comments

Comments
 (0)