Add header/footer, seesat
parent
8dcb3e8ea5
commit
f3d97752ba
|
@ -17,7 +17,7 @@ SEESATDIR="/srv/seesat"
|
|||
# Cameras / systems in use to be processed.
|
||||
CAMERAS="odroid-01 odroid-04 panda-06 cruftpi7 panda-08"
|
||||
# Date to process
|
||||
OBSDATE="20230410"
|
||||
OBSDATE="20230411"
|
||||
|
||||
# Set up main seesat directories
|
||||
cd "${SEESATDIR}"
|
||||
|
|
|
@ -16,31 +16,55 @@ SEESATDIR="/srv/seesat"
|
|||
CAMERAS="odroid-01 odroid-04 panda-06 cruftpi7 panda-08"
|
||||
# Date to process
|
||||
OBSDATE="20230411"
|
||||
OBSYEAR=`echo ${OBSDATE} | cut -c 1-4`
|
||||
OBSMON=`echo ${OBSDATE} | cut -c 5-6`
|
||||
OBSDAY=`echo ${OBSDATE} | cut -c 7-8`
|
||||
REPORTTXT="${SEESATDIR}/reports/${OBSDATE}/seesat-spacecruft-${OBSDATE}.txt"
|
||||
|
||||
rm -f "${REPORTTXT}"
|
||||
|
||||
# Header
|
||||
echo "Desocupado lector," >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
|
||||
cd "${SEESATDIR}/cameras/${OBSDATE}"
|
||||
|
||||
wc classfd.dat >> "${REPORTTXT}"
|
||||
#wc classfd.dat >> "${REPORTTXT}"
|
||||
echo "classfd" >> "${REPORTTXT}"
|
||||
cat classfd.dat >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
|
||||
wc unid.dat >> "${REPORTTXT}"
|
||||
cat unid.dat >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
#wc unid.dat >> "${REPORTTXT}"
|
||||
#cat unid.dat >> "${REPORTTXT}"
|
||||
#echo " " >> "${REPORTTXT}"
|
||||
|
||||
wc catalog.dat >> "${REPORTTXT}"
|
||||
cat catalog.dat >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
#wc catalog.dat >> "${REPORTTXT}"
|
||||
#cat catalog.dat >> "${REPORTTXT}"
|
||||
#echo " " >> "${REPORTTXT}"
|
||||
|
||||
wc starlink.dat >> "${REPORTTXT}"
|
||||
cat starlink.dat >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
#wc starlink.dat >> "${REPORTTXT}"
|
||||
#cat starlink.dat >> "${REPORTTXT}"
|
||||
#echo " " >> "${REPORTTXT}"
|
||||
|
||||
wc oneweb.dat >> "${REPORTTXT}"
|
||||
cat oneweb.dat >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
#wc oneweb.dat >> "${REPORTTXT}"
|
||||
#cat oneweb.dat >> "${REPORTTXT}"
|
||||
#echo " " >> "${REPORTTXT}"
|
||||
|
||||
# Footer
|
||||
echo "Daily report and data available here:" >> "${REPORTTXT}"
|
||||
echo "https://spacecruft.fit/seesat/reports/${OBSDATE}/seesat-spacecruft-${OBSDATE}.txt" >> "${REPORTTXT}"
|
||||
echo "https://spacecruft.fit/seesat/cameras/${OBSDATE}/" >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
echo "Satellite photo archive, sorted by ID:" >> "${REPORTTXT}"
|
||||
echo "https://spacecruft.fit/sats/" >> "${REPORTTXT}"
|
||||
echo " " >> "${REPORTTXT}"
|
||||
echo "-Jeff Moe" >> "${REPORTTXT}"
|
||||
echo "Station 0799, 40.5689N, 105.2259W, 1843m" >> "${REPORTTXT}"
|
||||
echo "5x IMX174, 50mm/F1.4, STVID processing" >> "${REPORTTXT}"
|
||||
|
||||
echo "Subject:"
|
||||
echo "JM Obs ${OBSYEAR}-${OBSMON}-${OBSDAY}"
|
||||
echo
|
||||
echo "See report here:"
|
||||
echo "${REPORTTXT}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue