IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2011, 4:19:26 PM (15 years ago)
Author:
watersc1
Message:

Untested modification to summit copy/ipphosts to divert stare data to specific (different) hosts than regular data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/summit.copy.pro

    r31854 r32446  
    442442        # this function uses workdir_template, default_host, volume_template, volume_default,
    443443        # it sets workdir and volume
    444         set.workdir.by.camera $CAMERA $CLASS_ID $workdir_template $default_host workdir_base
     444
     445        # Look to see if we have a stare type observation, and redirect it to an appropriate host
     446        substr $EXP_NAME 10 1 EXPTYPE_KEY
     447        if ("$EXPTYPE_KEY" == "a")
     448          set.workdir.by.camera STARE $CLASS_ID $workdir_template $default_host workdir_base
     449        else
     450          set.workdir.by.camera $CAMERA $CLASS_ID $workdir_template $default_host workdir_base
     451        end
    445452
    446453        # figure out filename
Note: See TracChangeset for help on using the changeset viewer.