#!/bin/csh # /cs/cds.login # # Login script for all CDS users at any site, including general scientific # analysis (non-operations). # # It is anticipated that the general scientific analysis category of user will # only require read access to all CDS data and auxiliary data. # # This login script is also executed by other categories of users, to define # those environment variables that all users have in common. # # Modified: 31 May 1996, William Thompson, added CDS_SUMMARY_DATA # Modified: 12-Jun-1996, William Thompson, added CDS_IDL_TOP # Modified: 26-Jul-1996, CDP, added CDS_ENG_DEMO # Modified: 18-Oct-1996, William Thompson, only define evars pointing to # Modified: 04-Feb-1997, CDP, include GIS calibration file directory # Modified: 30-Apr-1997, CDP, include IMPORT directory. # Modified: 18-May-1998, William Thompson, added TRACE_SUMMARY evar # Modified: 06-Aug-1998, CDP, add CDS_HEAD_CAT # SOHO_PUB_DATA if they're not already defined. More SSW compatible. # Start off by executing the site-specific startup file, if any. The # site-specific file will also be executed at the end of this procedure, as # explained below. Running it once at the beginning allows the site-specific # file to hold the definitions of things like CDS_DATA and CDS_LRG_DATA, which # control the behavior of this script. Running it again at the end allows it # to also override any definitions made below. if ( $?CDS_SITE_LOGIN ) then source $CDS_SITE_LOGIN endif # Define the top of the CDS software tree. This is used both to determine the # default values of other environment variables, and also in the IDL startup # script (together with CDS_IDL_TOP) to set up the path. if ( ! $?CDS_TOP ) setenv CDS_TOP /cs if ( ! $?CDS_IDL_TOP ) setenv CDS_IDL_TOP $CDS_TOP/idl # If the CDS_DATA, CDS_LRG_DATA, or SOHO_PUB_DATA environment variables are not # yet defined, then use their default values. Otherwise, use the local # definitions. if ( ! $?CDS_DATA ) setenv CDS_DATA $CDS_TOP/data if ( ! $?CDS_LRG_DATA ) setenv CDS_LRG_DATA $CDS_TOP/lrg_data if ( ! $?SOHO_PUB_DATA ) setenv SOHO_PUB_DATA /soho-archive/public/data # Define the IDL startup file. if ( ! $?CDS_IDL_STARTUP ) setenv CDS_IDL_STARTUP $CDS_TOP/scripts/idl_startup.pro setenv IDL_STARTUP $CDS_IDL_STARTUP # Environment variables related to SOHO archive if ( ! $?ANCIL_DATA ) setenv ANCIL_DATA $SOHO_PUB_DATA/ancillary if ( ! $?SOHO_EAP ) setenv SOHO_EAP $SOHO_PUB_DATA/summary/asplanned if ( ! $?SYNOP_DATA ) setenv SYNOP_DATA $SOHO_PUB_DATA/synoptic if ( ! $?SUMMARY_DATA ) setenv SUMMARY_DATA $SOHO_PUB_DATA/summary if ( ! $?CDS_SUMMARY_DATA ) setenv CDS_SUMMARY_DATA $SUMMARY_DATA/cds if ( ! $?TRACE_SUMMARY ) setenv TRACE_SUMMARY $SUMMARY_DATA/trace # Environment variables related to /cs/data tree. setenv CDS_ATOMIC $CDS_DATA/atomic setenv CDS_CP_CVTFILES $CDS_DATA/plan/command/cvt setenv CDS_CP_LTBFILES $CDS_DATA/plan/command/ltb setenv CDS_CP_MISC $CDS_DATA/plan/command/misc setenv CDS_CP_TTCFILES $CDS_DATA/plan/command/ttc setenv CDS_CP_UPDATE $CDS_DATA/plan/command/update setenv CDS_CP_ENG $CDS_DATA/plan/command/eng setenv CDS_ENG_DATA $CDS_DATA/engineering setenv CDS_ENG_DEMO $CDS_DATA/engineering/demo setenv CDS_IMPORT $CDS_DATA/plan/database/import setenv CDS_INFO $CDS_DATA/info setenv CDS_PLAN_TECH $CDS_DATA/plan/tech setenv CDS_NIS $CDS_DATA/nis setenv CDS_GIS $CDS_DATA/gis setenv CDS_VDS_MODEL $CDS_DATA/vds/model setenv CDS_GDS_MODEL $CDS_DATA/gds/model setenv TIME_CONV $CDS_DATA/time setenv ZDBASE_CDS +$CDS_DATA/plan/database # Environment variables related to /cs/lrg_data tree. setenv CDS_CIF $CDS_LRG_DATA/plan/cif setenv CDS_IAP $CDS_LRG_DATA/plan/iap setenv CDS_SS_DERE $CDS_LRG_DATA/dere setenv CDS_GIS_RAW $CDS_LRG_DATA/gis/raw setenv CDS_MEM_DUMP $CDS_LRG_DATA/mem_dump setenv CDS_INFO_NOTE $CDS_LRG_DATA/info/swnote setenv CDS_STUDYSHEETS $CDS_LRG_DATA/info/studysheets setenv CDS_STM_DUMP $CDS_LRG_DATA/stm setenv CDS_TM_LOG $CDS_LRG_DATA/tm_log setenv CDS_VDS_CAL_INT $CDS_LRG_DATA/vds/cal/int setenv CDS_GIS_CAL_INT $CDS_LRG_DATA/gis/cal/int setenv CDS_VDS_CAL_WAV $CDS_LRG_DATA/vds/cal/wav setenv CDS_HEAD_CAT $CDS_LRG_DATA/headcat # # Any environment variables not related to either of the above trees must be # defined in a site-specific file. This includes the following environment # variables: # # CDS_EXTERNAL PSLASER # CDS_FITS_DATA PSCOLOR # CDS_FITS_QLI # # The environment variable CDS_SITE_LOGIN should point to this site-specific # file. if ( $?CDS_SITE_LOGIN ) then source $CDS_SITE_LOGIN endif