Changeset 15220 for trunk/DataCheck/Processing
- Timestamp:
- 04/03/13 11:23:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillMoonInfo.sh
r14875 r15220 13 13 # get last 3, 6 or 9 nights 14 14 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` \ 15 #`date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \15 `date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \ 16 16 # `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 17 17 ) 18 19 #dates=( `date +%Y/%m/%d --date="-228hour"` `date +%Y/%m/%d --date="-252hour"` `date +%Y/%m/%d --date="-276hour"` ) 20 18 21 #dates=( `find $auxdata -mindepth 3 -type d | sort -r | sed "s/\${auxdata_for_sed}//g" | sed -e 's/^\///'` ) 19 22 … … 66 69 if [ "${info[0]}" == "999" ] && [ "${info[1]}" == "999" ] 67 70 then 68 lightinfo=( ` /home/fact/FACT++.upgrade/moon "${info[2]} ${info[3]}" 2>/dev/null` )71 lightinfo=( `$factpath/moon "${info[2]} ${info[3]}" 2>/dev/null` ) 69 72 else 70 lightinfo=( ` /home/fact/FACT++.upgrade/moon "${info[2]} ${info[3]}" --ra=${info[0]} --dec=${info[1]} 2>/dev/null` )73 lightinfo=( `$factpath/moon "${info[2]} ${info[3]}" --ra=${info[0]} --dec=${info[1]} 2>/dev/null` ) 71 74 fi 72 75 # return values of the programm
Note:
See TracChangeset
for help on using the changeset viewer.