Commit 0b7d9858 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@679 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent d5227831
......@@ -3,6 +3,8 @@
# Syntax: cmd <year> <net> <sta> <chan> <jday>
#
# TODO: add location
#
# Dependencies: bash, stat (linux version), nmxptool
# SDS structure
# /YEAR/NET/STA/CHAN/
......@@ -35,6 +37,7 @@ STA=$3
CHAN=$4
JDAY=$5
JDAY=`echo $5 | sed -e "s/^[0]*//"`
NMXPHOST=naqs2a.int.ingv.it
if [ $JDAY -le 0 ]; then
export TODAY=$(date "+%j" | sed -e "s/^[0]*//")
......@@ -62,7 +65,6 @@ JDAY=$(printf %03d $JDAY)
#pseudo static variables
NMXPBINDIR=/home/sysop/seiscomp/acquisition/bin
NMXPTOOL=${NMXPBINDIR}/nmxptool
NMXPHOST=naqs2a.int.ingv.it
DIRARCHIVESDS=/mnt/seedstore/nmxp_accel
# derivated variables
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment