Skip to content

Commit

Permalink
quick and dirty README.html for mars continuum
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Sep 5, 2024
1 parent 179bae0 commit 5038773
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions bin/mk_index_mars.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#! /bin/bash
#
# create nice looking index.html for results of mars_continuum processing
#

if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: $0 "
echo ""
echo "Expects to be in the obsnum directory , then makes a README.html file"
exit 0
fi



echo "<A HREF=mars.log> mars.log</A>"
echo "<hr>"

for i in $(seq 0 1 31); do
for f in mars_${i}_0.png mars_${i}_1.png; do
if [ -e $f ]; then
echo "<A HREF=$f> <IMG SRC=$f> </A>"
fi
done
done

exit 0

0 comments on commit 5038773

Please sign in to comment.