Description:
This script sets the
standard DATADIR and SCUBA_PREFIX environment variables given a UT date.
Usage:
scusetenv
[UTdate]
Examples:
scusetenv
Set DATADIR and SCUBA_PREFIX for the current UT date
scusetenv 19980201
Set DATADIR and SCUBA_PREFIX for the data observed on date 19980201
Notes:
-
Currently this routine only works for the JAC and JCMT systems. This is because the data are stored
in standard directories and indexed by YYYYMMDD UT date.
-
ORAC_DATA_IN environment variable is also set (only relevant for users of the ORAC-DR
pipeline)
-
If this routine is run from a non-JAC/JCMT site DATADIR will not be set but SCUBA_PREFIX will be
set.
Parameters
UTdate = YYYYMMDD format string (Optional) The UT date of the data to be
processed (in YYYYMMDD format). The default value is to use the current UT date
Implementation
Status:
This script should be sourced (not executed) since the environment variables should be set
after the script has been read.
Copyright © 1997-2000,2003 Particle Physics and Astronomy Research Council