IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39551


Ignore:
Timestamp:
Apr 25, 2016, 10:13:41 AM (10 years ago)
Author:
eugene
Message:

updating the scripts to match new locations and fixing the naming conventions

Location:
trunk/dvodist/scripts
Files:
1 added
8 moved

Legend:

Unmodified
Added
Removed
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20120509.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20120509
     6set wwwroot = /data/ippc32.0/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20120509
    88
    9 set catdir = 3pi.20120509
     9set catdir = pv0.3pi.20120509
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -s $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -s $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -s $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -s $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -s $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
    36    
    37 
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20120525.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20120525
     6set wwwroot = /data/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20120525
    88
    9 set catdir = 3pi.20120525.new
     9set catdir = 3pi.pv0.20120525
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -s $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -s $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -s $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -s $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -s $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20120606.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20120606
     6set wwwroot = /data/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20120606
    88
    9 set catdir = 3pi.20120606.new
     9set catdir = 3pi.pv0.20120606
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -s $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -s $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -s $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -s $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -s $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20130227.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20130227
     6set wwwroot = /data/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20130227
    88
    9 set catdir = 3pi.20130227
     9set catdir = 3pi.pv0.20130227
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -s $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -s $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -s $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -s $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -s $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20140621.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20140621
     6set wwwroot = /data/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20140621
    88
    9 set catdir = 3pi.20140621
     9set catdir = 3pi.pv0.20140621
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -sf $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir -p $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -sf $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -sf $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -sf $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -sf $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv0.3pi.20140713.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /export/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp064.0/eugene/3pi.20111229/catdir.20140713
     6set wwwroot = /export/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv0.20140713
    88
    9 set catdir = 3pi.20140713
     9set catdir = 3pi.pv0.20140713
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -sf $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir -p $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -sf $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -sf $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -sf $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -sf $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv1.3pi.20130708.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /data/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/ipp060.0/gpc1/catdirs/LAP.ThreePi.20120706.s1
     6set wwwroot = /export/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv1.20130708
    88
    9 set catdir = LAP.3pi.PV1
     9set catdir = pv1.3pi.20130708
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn)
     16
    1517# top-level files
    16 mkdir -p $cattgt
    17 foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
    18   ln -sf $catroot/$file $cattgt
    19 end
    20 
    21 # make DEC directories
    22 foreach dir ($nlist $slist)
    23   mkdir -p $cattgt/$dir
    24 end
     18if (1) then
     19  mkdir -p $cattgt
     20  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     21    ln -s $catroot/$file $cattgt
     22  end
     23 
     24  # make DEC directories
     25  foreach dir ($nlist $slist)
     26    mkdir $cattgt/$dir
     27  end
     28endif
    2529
    2630# link all files from all hostdirs into all DEC dirs
     
    2832  echo $hostdir
    2933  foreach dir ($nlist $slist)
    30     ln -sf $hostdir/$dir/*.cpt $cattgt/$dir
    31     ln -sf $hostdir/$dir/*.cpm $cattgt/$dir
    32     ln -sf $hostdir/$dir/*.cps $cattgt/$dir
    33     ln -sf $hostdir/$dir/*.cpn $cattgt/$dir
     34    echo $hostdir : $dir
     35    foreach ext ($extlist)
     36      echo $hostdir : $dir : $ext
     37      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
     38    end
    3439  end
    3540end
  • trunk/dvodist/scripts/mkdist.pv2.3pi.20141215.sh

    r39550 r39551  
    44
    55# general locations
    6 set wwwroot = /export/ippc11.0/www/dvodist/www-root
    7 set catroot = /data/stsci19.2/eugene/addstar.20141016/lap.pv2.20141215
     6set wwwroot = /export/ippc32.0/www/dvodist/www-root
     7set catroot = /data/ipp064.0/eugene/3pi.pv2.20141215
    88
    9 set catdir = lap.pv2.20141215
     9set catdir = pv2.3pi.20141215
    1010set cattgt = $wwwroot/$catdir
    1111
     
    1313set slist = (s0000 s0730 s1500 s2230 s3000 s3730 s4500 s5230 s6000 s6730 s7500 s8230)
    1414
     15set extlist = (cpt cpm cps cpn cpx cpy cpz)
     16
    1517# top-level files
    16 if (0) then
     18if (1) then
    1719  mkdir -p $cattgt
    1820  foreach file (HostTable.dat AstroMap.fits Images.dat Photcodes.dat SkyTable.fits flatcorr.fits )
     
    3133  foreach dir ($nlist $slist)
    3234    echo $hostdir : $dir
    33     foreach ext (cpt cpm cps cpn cpx cpy cpz)
     35    foreach ext ($extlist)
    3436      echo $hostdir : $dir : $ext
    3537      ln -sf $hostdir/$dir/*.$ext $cattgt/$dir
Note: See TracChangeset for help on using the changeset viewer.