IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42457


Ignore:
Timestamp:
Apr 26, 2023, 4:54:03 PM (3 years ago)
Author:
eugene
Message:

fix sort for get_hosts_fixchip.sh; enable neb://any/path

Location:
trunk/tools/eam/rawfix.20230221/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/check_chip_locations.pl

    r42452 r42457  
    220220
    221221    # my ($ext_id) = $nebname =~ m|neb://\w*/(\S*)|; ---> what if we do not have the host.volnum portion? (this attempt fails)
    222     my ($ext_id) = $nebname =~ m|neb://[0-9a-zA-Z]*\.[0-9]/(\S*)|;
     222    my ($ext_id) = $nebname =~ m|neb://[0-9a-zA-Z\.]*/(\S*)|;
    223223    if ($DEBUG > 5) { print "nebname: $ext_id\n"; }
    224224   
  • trunk/tools/eam/rawfix.20230221/src/get_hosts_fixchip.sh

    r42454 r42457  
    2424
    2525foreach f ($topdir/$dateobs/XY??.hosts.txt)
    26   set myhost = `cat $f | grep -v ippb | sort -k 2 | tail -n 1 | prcol 1`
     26  set myhost = `cat $f | grep -v ippb | sort -k 2n | tail -n 1 | prcol 1`
    2727  set chipID = `echo $f | awk -F/ '{print $NF}' | awk -F. '{print $1}'`
    2828  if ("$myhost" == "") then
Note: See TracChangeset for help on using the changeset viewer.