Open ppenteado opened 7 years ago
And here is the output of a few tests after completing this installation:
[ominas_test_8@cmp ominas]$ which ominas
alias ominas='/home/ominas_test_8/.ominas/ominas'
~/.ominas/ominas
[ominas_test_8@cmp ominas]$ which ominasde
alias ominasde='/home/ominas_test_8/.ominas/ominasde'
~/.ominas/ominasde
[ominas_test_8@cmp ominas]$ cat ~/.ominas/ominas_setup.sh
#!/usr/bin/env bash
alias ominas=~/.ominas/ominas
alias ominasde=~/.ominas/ominasde
export OMINAS_DIR=/home/ominas_test_8/ominas
export DFLAG=true
source /home/ominas_test_8/ominas/config/ominas_env_def.sh
unset NV_Generic_kernels_DATA
unset NV_SEDR_DATA
unset NV_TYCHO2_DATA
unset NV_SAO_DATA
unset NV_GSC_DATA
unset NV_UCAC4_DATA
[ominas_test_8@cmp ominas]$ ominas -e 'spawn,"env | grep NV"'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX
NV_TRANSLATORS=/home/ominas_test_8/ominas/config/tab/translators.tab:/home/ominas_test_8/ominas/demo/data/translators.tab
NV_CONFIG=/home/ominas_test_8/ominas/config
NV_IO=/home/ominas_test_8/ominas/config/tab/io.tab
NV_SPICE=/home/ominas_test_8/ominas/config/spice
NV_ORBIT_DATA=/home/ominas_test_8/ominas/config/orb/
NV_ARRAY_DATA=/home/ominas_test_8/ominas/config/arr/dat/
NV_TRANSFORMS=/home/ominas_test_8/ominas/config/tab/transforms.tab:/home/ominas_test_8/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/ominas_test_8/ominas/config/stn/
NV_RING_DATA=/home/ominas_test_8/ominas/config/rings/
NV_FTP_DETECT=/home/ominas_test_8/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/ominas_test_8/ominas/demo/data
NV_INS_DETECT=/home/ominas_test_8/ominas/config/tab/instrument_detectors.tab:/home/ominas_test_8/ominas/demo/data/instrument_detectors.tab
[ominas_test_8@cmp ominas]$ ominas -e 'print,pref_get("IDL_PATH")'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX
<IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/idlastro/pro:+/home/ominas_test_8/ominas_data/icy/lib:+/home/ominas_test_8/ominas:+/home/ominas_test_8/ominas/util/xidl
[ominas_test_8@cmp ominas]$ ominas -e 'print,pref_get("IDL_DLM_PATH")'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX
<IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/icy/lib
I just pushed a new routine, ominas_env_info. It prints out (to the terminal, if called with no arguments, or to a file, if a filename is provided) the most commonly useful stuff for me to debug problems with the OMINAS envinronment. A typical use:
[user@cmp ~]$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXXX.
Licensed for use by: XXXXXX
IDL> ominas_env_info,'~/ominas_env_info.txt'
Which produces
OMINAS variables:
OMINAS_RC=/home/user/.ominas
OMINAS_DEMO=/home/user/ominas/demo
OMINAS_DIR=/home/user/ominas
OMINAS_DATA=/home/user/ominas_data
--------------------------------------------------------------------------------
NV variables:
NV_TRANSLATORS=/home/user/ominas/config/tab/translators.tab:/home/user/ominas/demo/data/translators.tab
NV_CONFIG=/home/user/ominas/config
NV_IO=/home/user/ominas/config/tab/io.tab
NV_SPICE=/home/user/ominas/config/spice
NV_ORBIT_DATA=/home/user/ominas/config/orb/
NV_ARRAY_DATA=/home/user/ominas/config/arr/dat/
NV_TRANSFORMS=/home/user/ominas/config/tab/transforms.tab:/home/user/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/user/ominas/config/stn/
NV_RING_DATA=/home/user/ominas/config/rings/
NV_FTP_DETECT=/home/user/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/user/ominas/demo/data
NV_INS_DETECT=/home/user/ominas/config/tab/instrument_detectors.tab:/home/user/ominas/demo/data/instrument_detectors.tab
--------------------------------------------------------------------------------
ominas_setup.sh:
#!/usr/bin/env bash
alias ominas=~/.ominas/ominas
alias ominasde=~/.ominas/ominasde
export OMINAS_DIR=/home/user/ominas
export OMINAS_DATA=/home/user/ominas_data
export OMINAS_RC=/home/user/.ominas
export DFLAG=true
source /home/user/ominas/config/ominas_env_def.sh
unset NV_Generic_kernels_DATA
unset NV_SEDR_DATA
unset NV_TYCHO2_DATA
unset NV_SAO_DATA
unset NV_GSC_DATA
unset NV_UCAC4_DATA
--------------------------------------------------------------------------------
IDL:
** Structure !VERSION, 8 tags, length=104, data length=100:
ARCH STRING 'x86_64'
OS STRING 'linux'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'linux'
RELEASE STRING '8.5.1'
BUILD_DATE STRING 'Nov 14 2015'
MEMORY_BITS INT 64
FILE_OFFSET_BITS
INT 64
--------------------------------------------------------------------------------
environment IDL_PATH
--------------------------------------------------------------------------------
environment IDL_DLM_PATH
--------------------------------------------------------------------------------
preferences IDL_PATH
<IDL_DEFAULT>:+/home/user/ominas_data/idlastro/pro:+/home/user/ominas:+/home/user/ominas/util/xidl:+/home/user/ominas_data/icy/lib
--------------------------------------------------------------------------------
preferences IDL_DLM_PATH
<IDL_DEFAULT>:+/home/user/ominas_data/icy/lib
--------------------------------------------------------------------------------
Icy:
--------------------------------------------------------------------------------
** ICY - IDL/CSPICE interface from JPL/NAIF (not loaded)
Version: 1.8.0, Build Date: 05-JAN-2017, Source: ed.wright@jpl.nasa.gov
Path: /home/user/ominas_data/icy/lib/icy.so
--------------------------------------------------------------------------------
CSPICE_N0066
--------------------------------------------------------------------------------
0 loaded kernels:
--------------------------------------------------------------------------------
OMINAS repository:
On branch master
Your branch is up-to-date with 'origin/master'.
Last commit:
b373f70 Paulo Penteado Wed Jun 14 14:03:42 2017 -0700
This issue was moved to nasa/ominas#6
Here is a typical output of installing OMINAS on a fresh account (that never had OMINAS, Icy or any IDL libraries setup before), for the 3 main packages (Core, Demo and Icy):