IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2023, 9:21:20 AM (3 years ago)
Author:
eugene
Message:

changing directory structure to place nights in years

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/finish.fixchip.sh

    r42449 r42462  
    11#!/bin/csh
     2
     3# this script is not actually used in regular rawfix processing?
    24
    35if ($#argv != 4) then
     
    1618endif
    1719
    18 if (! -d $topdir/$dateobs) then
    19   echo "ERROR: missing dateobs directory $topdir/$dateobs"
     20set yearobs = `echo $dateobs | awk '{print substr($1,1,4)}'`
     21set basedir = $topdir/$yearobs
     22
     23if (! -d $basedir/$dateobs) then
     24  echo "ERROR: missing dateobs directory $basedir/$dateobs"
    2025  exit 3
    2126endif
     
    2429echo $fulldate
    2530
    26 $topdir/update_chip_stats.pl --topdir $topdir --dateobs $fulldate --stage $iter --chiplist gpc1.chips.txt
     31update_chip_stats.pl --topdir $topdir --dateobs $fulldate --stage $iter --chiplist gpc1.chips.txt
    2732
    2833if ($QUALITY == "OK") then
    29   $topdir/update.rawfix.sh $dateobs fixchip.done
     34  update.rawfix.sh $dateobs fixchip.done
    3035else
    31   $topdir/update.rawfix.sh $dateobs fixchip.fail
     36  update.rawfix.sh $dateobs fixchip.fail
    3237endif
    3338
Note: See TracChangeset for help on using the changeset viewer.