env_i3dv 1.89 KB
#!/bin/ksh
#------------------------------------------------------------------------------
# NAME : env_impex_ind
# FUNCTION : set impex environment
# ORIGIN : GFI Informatique
# PROJECT : I3DV
#------------------------------------------------------------------------------
# HISTORY
# VERSION : 27/11/2013 : LBE
# VERSION : 27/04/2021 : LBE
# DM-ID : redmine#9363 : 27/04/2021 : update lsk file to 12
# END-HISTORY
# -----------------------------------------------------------------------------
# RCS $Id: env_i3dv 1764 2021-04-28 16:12:27Z frup47043 $


# Specify the I3DV_ROOT
export I3DV_ROOT=$HOME/i3dv

#export I3DV_SERVERS_ROOT=$I3DV_ROOT/server/web/conf

#general conf
export I3DV_DPC_DIR=$HOME/i3dv/server/dpc
export I3DV_FILES_DIR=$HOME/i3dv_files
export I3DV_TMP_DIR=$I3DV_FILES_DIR/tmp
export I3DV_LOG_FILE=$I3DV_FILES_DIR/logs/impex_dpc.log
export I3DV_CONF_DIR=$I3DV_FILES_DIR/conf
export I3DV_DAEMONS_DIST_DIR=$I3DV_DPC_DIR/dist
export I3DV_DAEMONS_LIB_DIR=$I3DV_DPC_DIR/lib


# daemons environment
# These initializations are required for use of impex data update software 
export I3DV_DAEMONS_BIN_DIR=$I3DV_DPC_DIR/bin/linux
export I3DV_SCRIPTS_DIR=$I3DV_DPC_DIR/scripts
export I3DV_ORBIT_DIR=$HOME/i3dv_files/orbitfiles
export I3DV_NAIF_IDX_FILE=$I3DV_ORBIT_DIR/naiffiles.lst
export I3DV_SC_COV_FILE=$I3DV_ORBIT_DIR/sccoverage.lst
export I3DV_LSK_FILE=$I3DV_ORBIT_DIR/spice/naif0012.tls
export I3DV_SCLK_DIR=$I3DV_ORBIT_DIR/spice/art
export I3DV_FK_DIR=$I3DV_ORBIT_DIR/spice/art
export I3DV_SPICETOOLS_CONF_DIR=$I3DV_CONF_DIR/spice
#export I3DV_PACTE=
#export I3DV_FTPHTTPPROXYHOST=172.16.35.1
#export I3DV_FTPHTTPPROXYPORT=8080

# Impex passwords (data with private ftp access)
export I3DV_PASSWD_FILE=$I3DV_CONF_DIR/i3dv_passwd

export LD_LIBRARY_PATH=/usr/local/lib:$I3DV_ROOT/server/web/orbitlibs/lib:$I3DV_ROOT/server/web/securedclibs:$LD_LIBRARY_PATH

export PATH=$I3DV_SCRIPTS_DIR:$I3DV_DAEMONS_BIN_DIR:$PATH