nasa / ominas

Opensource Multi-INstrument Analysis Software
15 stars 5 forks source link

Installing and testing OMINAS #6

Open penteado-jpl opened 6 years ago

penteado-jpl commented 6 years ago

From @ppenteado on June 5, 2017 18:10

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):

[ominas_test_8@cmp ~]$ git clone https://github.com/ppenteado/ominas.git
Cloning into 'ominas'...
Username for 'https://github.com': ppenteado
Password for 'https://ppenteado@github.com': 
remote: Counting objects: 13377, done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 13377 (delta 51), reused 71 (delta 34), pack-reused 13258
Receiving objects: 100% (13377/13377), 200.48 MiB | 8.10 MiB/s, done.
Resolving deltas: 100% (7628/7628), done.
Checking connectivity... done.
Checking out files: 100% (3479/3479), done.
[ominas_test_8@cmp ~]$ cd ominas/
[ominas_test_8@cmp ominas]$ source configure.sh 
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
Using IDL at /usr/local/bin/idl
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 5502667.
Licensed for use by: NASA - Jet Propulsion Laboratory

Creating ~/.ominas directory
Creating ~/ominas_data directory
The setup will guide you through the installation of OMINAS
OMINAS files located in /home/ominas_test_8/ominas

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

% Compiled module: OMINAS_ICY_TEST.
Icy: Icy not found
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.                                                                                                                                                                  
Optional packages:                                                                                                                                                                                                        
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED                                                                                                                                                         
           Contains the demo scripts and the data required                                                                                                                                                                
           to run then.                                                                                                                                                                                                   
           These files are always present (in ominas/demo),                                                                                                                                                               
           this option is to set up the environment so that                                                                                                                                                               
           the demos can be run.                                                                                                                                                                                          
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED                                                                                                                                                         
           Library maintained by JPL's NAIF (Navigation and Ancillary                                                                                                                                                     
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,                                                                                                                                             
           required to use spacecraft / planetary kernel files.                                                                                                                                                           

Mission Packages:                                                                                                                                                                                                         
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
        7) Dawn  . . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 8 GB as of Jan/2017
Data:
        8) NAIF Generic Kernels . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) SEDR image data . . . . . . . . . . . . NOT CONFIGURED
       10) TYCHO2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       11) SAO star catalog . . . . . . . . . . . NOT CONFIGURED
           About 19 MB download, 70 MB unpacked
       12) GSC star catalog . . . . . . . . . . . NOT CONFIGURED
       13) UCAC4 star catalog . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
For more information, see
https://ppenteado.github.io/ominas_doc/demo/install_guide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
OMINAS requires the NAIF Icy toolkit to process SPICE kernels.
Would you like to install Icy from the internet now? [y]
http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z ~/ominas_data/icy.tar.Z
http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z --localdir=/home/ominas_test_8/ominas_data/

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

% Compiled module: PP_WGETCL.
% Compiled module: PP_COMMAND_LINE_ARGS_PARSE.
% Loaded DLM: URL.
% Compiled module: PP_WGET__DEFINE.
util/downloader/ca-bundle.crt
% Compiled module: PARSE_URL.
downloading http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z
% Compiled module: PP_READABLESIZE.
Content Length:  276.00000 B
% Compiled module: PP_PARSE_DATE.
% Compiled module: JULDAY.
Content Length:  43.669736 MB
% Compiled module: CALDAT.
Extracting Icy source files...
Compiling Icy...
Icy compiled. Log is at ~/.ominas/icy_make.log
writing /home/ominas_test_8/.ominas/ominas_setup.sh
‘/home/ominas_test_8/.ominas/ominas_setup.sh’ -> ‘/home/ominas_test_8/.ominas/ominas_setup_old.sh’

done with writing /home/ominas_test_8/.ominas/ominas_setup.sh
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

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines.
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/ominas_test_8/ominas_data/idlastro
Cloning into '/home/ominas_test_8/ominas_data/idlastro'...
remote: Counting objects: 1400, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 1400 (delta 1), reused 3 (delta 1), pack-reused 1392
Receiving objects: 100% (1400/1400), 11.63 MiB | 4.85 MiB/s, done.
Resolving deltas: 100% (556/556), done.
Checking connectivity... done.
IDLAstro path set in preferences:  <IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/idlastro/pro
OMINAS paths set in IDL preferences
Icy path set in IDL preferences
OMINAS aliase set in /home/ominas_test_8/.bashrc.
OMINAS aliase set in /home/ominas_test_8/.bash_profile.
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

% Compiled module: OMINAS_ICY_TEST.
% Loaded DLM: ICY.
Icy: /home/ominas_test_8/ominas_data/icy/lib/icy.so
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
        7) Dawn  . . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 8 GB as of Jan/2017
Data:
        8) NAIF Generic Kernels . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) SEDR image data . . . . . . . . . . . . NOT CONFIGURED
       10) TYCHO2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       11) SAO star catalog . . . . . . . . . . . NOT CONFIGURED
           About 19 MB download, 70 MB unpacked
       12) GSC star catalog . . . . . . . . . . . NOT CONFIGURED
       13) UCAC4 star catalog . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
For more information, see
https://ppenteado.github.io/ominas_doc/demo/install_guide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  e
Setup has completed. It is recommended to restart your terminal session before using OMINAS.
You may want to try some of the tutorials at https://ppenteado.github.io/ominas_doc/demo/

Copied from original issue: ppenteado/ominas#8

penteado-jpl commented 6 years ago

From @ppenteado on June 5, 2017 18:11

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
penteado-jpl commented 6 years ago

From @ppenteado on June 14, 2017 21:9

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
mattietigges commented 6 years ago

I’m having trouble testing the installation of the basic ominas system

PROCEDURE:

; 1. Please ensure that OMINAS has been properly downloaded from the ; Github repository <https://github.com/nasa/ominas> by creating a ; directory for the installation and entering the following command at the terminal::

git clone https://github.com/nasa/ominas

; A local copy of the OMINAS source will be cloned automatically.

From here, I followed instructions from the PIRL wiki: https://pirlwww.lpl.arizona.edu/wiki/ominas_install

Here is what it looks like so far:

Icy: 
Running 'idl85' Setup..
*** This is IDL version 8.5 ***
*** Type "idl82" or "idl" for (default) IDL version 8.2 ***
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
OMINAS_TMP=
Running 'idl85' Setup..
*** This is IDL version 8.5 ***
*** Type "idl82" or "idl" for (default) IDL version 8.2 ***
/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 
=============================================================================
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 

; 4. Verify that the installation of the basic OMINAS system has been completed correctly ; by running the override example script from the demo/ directory (we recommend using a ; different terminal window rather than switching back-and-forth between demos and the installer)::

ominas override_example.pro

This is where I get the error message:

raga:../~ 16:55 % cd ominas/demo/
raga:../demo 16:55 % bash
bash-3.2$ ominas override_example.pro
/home/pirl/mdtigges/.ominas/ominas: line 103: syntax error near unexpected token `"$foo"'
/home/pirl/mdtigges/.ominas/ominas: line 103: `switch ("$foo")'
ppenteado commented 6 years ago

Hello,

Given what you posted and what is in the wiki, could you post the output of running, from a terminal,

/opt/local/sh/idl85

I expect this will start an IDL session. From that session, get the initial startup message (is it " This is IDL version 8.5 Type "idl82" or "idl" for (default) IDL version 8.2 " ? Is that everything?)

and the outputs of

IDL>print,pref_get('IDL_DIR') IDL>print,pref_get('IDL_PATH') IDL>print,filepath('') IDL>help,!version

Also, my guess is that /opt/local/sh/idl85 is a script doing something when starting IDL. Would it be possible to post the contents of /opt/local/sh/idl85 (if it is really a script, not a binary file)?

ppenteado commented 6 years ago

Hello,

I checked, and the problems come from the OMINAS setup script (configure.sh) not knowing how to handle the environment with the custom idl scripts (such as /opt/local/sh/idl and /opt/local/sh/idl85). I have a general fix to that in the works, but, in the meantime, here is a guide that allowed me to run OMINAS in a computer with that environment:

1) Erase any potentially broken configuration files made by previous OMINAS installer runs that might have failed:

$ rm -vRf ~/.ominas/ ~/ominas_data

2) If your ~/.bash_profile or ~/.bashrc file has a line . ~/.ominas/ominasrc remove it (from both .bashrc and .bash_profile), then exit the current bash shell (if any)

3) Start a new bash shell, if not already in one

$bash

4a) If you do not have OMINAS downloaded: get it with $git clone https://github.com/nasa/ominas

which will create a directory called ominas in the current directory (if one does not already exist; git will refuse to use an exisiting directory with something already in it)

4b) If you already have downloaded OMINAS, go into the directory where you put OMINAS (from Github), and make sure there are no modified files. In my case, I downloaded OMINAS into ~/ominas

$cd ~/ominas $git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean

If the status is not "clean", as above, and you are not familiar with how to make it clean using git, the simplest general way would be to remove/move/rename the entire ominas directory and download it again, with

$git clone https://github.com/nasa/ominas

5) This is the key step to get the current configure.sh to understand what to do in the PIRL environment:

Choosing to use IDL 8.5, set $ export IDL_DIR=/opt/rsi/idl_8.5/idl/

6) Then, go into the OMINAS directory (in my case, ~/ominas) and run the setup script. From here on, the regular instructions on the install guide (https://nasa.github.io/ominas/guides/index.html) should work:

$ cd ~/ominas $ source ./configure.sh

7) If all works well, OMINAS should then be available from a bash shell, by using either

$ominas

or

$ominasde

to start it. You can start by running a demo, such as https://nasa.github.io/ominas/demo/pg_example-batch.html to test it.

I chose to let the installer set up my own copy of Icy, for now. I am looking into how to make the installer see the one already present at /opt/naif/icy automatically, if it is not already in the user's IDL_PATH and IDL_DLM_PATH.

mattietigges commented 6 years ago

Still unable to get ICY:

raga:../~ 12:09 % nedit .bash_profile 
raga:../~ 12:10 % nedit .bashrc 
raga:../~ 12:10 % bash
bash-3.2$ git clone https://github/nasa/ominas
Cloning into 'ominas'...
fatal: unable to access 'https://github/nasa/ominas/': Could not resolve host: github
bash-3.2$ git clone https://github.com/nasa/ominas
Cloning into 'ominas'...
remote: Counting objects: 29058, done.
remote: Compressing objects: 100% (121/121), done.
remote: Total 29058 (delta 97), reused 116 (delta 58), pack-reused 28878
Receiving objects: 100% (29058/29058), 354.35 MiB | 12.22 MiB/s, done.
Resolving deltas: 100% (21749/21749), done.
Checking out files: 100% (4623/4623), done.
bash-3.2$ cd ominas/
bash-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
bash-3.2$ cd
bash-3.2$ export IDL_DIR=/opt/rsi/idl_8.5/idl
bash-3.2$ cd ominas/
bash-3.2$ source ./configure.sh
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
IDL_DIR found, /opt/rsi/idl_8.5/idl, using it
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

Creating ~/.ominas directory
Creating ~/.ominas/config directory
config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh
config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh
config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh
config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh
config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh
Creating ~/ominas_data directory
Copying default grimrc to /home/pirl/mdtigges/.ominas
config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc
Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas
config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh
The setup will guide you through the installation of OMINAS
More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html
OMINAS files located in /home/pirl/mdtigges/ominas

Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 

==========================================================================

 Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines:
cntrd not found
minmax not found
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/pirl/mdtigges/ominas_data/idlastro
Cloning into '/home/pirl/mdtigges/ominas_data/idlastro'...
remote: Counting objects: 1717, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 1717 (delta 9), reused 14 (delta 5), pack-reused 1696
Receiving objects: 100% (1717/1717), 11.71 MiB | 7.91 MiB/s, done.
Resolving deltas: 100% (787/787), done.
Checking out files: 100% (524/524), done.
IDLAstro path set in preferences: 
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas:+/home/pirl/mdtigges/ominas_data/icy/lib
OMINAS paths set in IDL preferences
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 

==========================================================================

 Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 
penteado-jpl commented 6 years ago

Hello,

Can you tell me the output of running ominas_env_info, from a OMINAS session. That is, doing something like

$ ominas IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. Installation number: XXXX Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION. OMINAS version v1.0.0-70-gd492a OMINAS> ominas_env_info

mattietigges commented 6 years ago
bash-3.2$ ominas
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0
OMINAS> OMINAS_ENV_INFO.
OMINAS version:
v1.0.0

--------------------------------------------------------------------------------

OMINAS variables:
OMINAS_RC=/home/pirl/mdtigges/.ominas
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
OMINAS_DEMO=/home/pirl/mdtigges/ominas/demo
OMINAS_DIR=/home/pirl/mdtigges/ominas
OMINAS_DATA=/home/pirl/mdtigges/ominas_data

--------------------------------------------------------------------------------

Demo variables:
DFLAG=true

--------------------------------------------------------------------------------

NV variables:
NV_TRANSLATORS=/home/pirl/mdtigges/ominas/config/tab/translators.tab:/home/pirl/mdtigges/ominas/demo/data/translators.tab
NV_CONFIG=/home/pirl/mdtigges/ominas/config
NV_IO=/home/pirl/mdtigges/ominas/config/tab/io.tab
NV_SPICE=/home/pirl/mdtigges/ominas/config/spice
NV_ORBIT_DATA=/home/pirl/mdtigges/ominas/config/orb/
NV_SAO_DATA=/home/pirl/mdtigges/ominas/demo/data/
NV_ARRAY_DATA=/home/pirl/mdtigges/ominas/config/arr/dat/
NV_TRANSFORMS=/home/pirl/mdtigges/ominas/config/tab/transforms.tab:/home/pirl/mdtigges/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/pirl/mdtigges/ominas/config/stn/dat/
NV_RING_DATA=/home/pirl/mdtigges/ominas/config/rings/
NV_FTP_DETECT=/home/pirl/mdtigges/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/pirl/mdtigges/ominas/demo/data
NV_INS_DETECT=/home/pirl/mdtigges/ominas/config/tab/instrument_detectors.tab:/home/pirl/mdtigges/ominas/demo/data/instrument_detectors.tab
PIRL_ENV_SET=1

--------------------------------------------------------------------------------

SPICE variables:
DEMO_SPICE_CK=/home/pirl/mdtigges/ominas/demo/data/kernels/ck/
DEMO_SPICE_SCK=/home/pirl/mdtigges/ominas/demo/data/kernels/sck/
DEMO_SPICE_SPK=/home/pirl/mdtigges/ominas/demo/data/kernels/spk/
DEMO_SPICE_LSK=/home/pirl/mdtigges/ominas/demo/data/kernels/lsk/
DEMO_SPICE_IK=/home/pirl/mdtigges/ominas/demo/data/kernels/ik/
DEMO_SPICE_PCK=/home/pirl/mdtigges/ominas/demo/data/kernels/pck/
DEMO_SPICE_FK=/home/pirl/mdtigges/ominas/demo/data/kernels/fk/
DEMO_SPICE_XK=/home/pirl/mdtigges/ominas/config/spice/
NV_SPICE_KER=::/home/pirl/mdtigges/ominas/demo/data

--------------------------------------------------------------------------------

PG variables:
PG_MAPS=

--------------------------------------------------------------------------------

IDL variables:
IDL_DIR=/opt/rsi/idl_8.5_with_envi_5.3/idl85

--------------------------------------------------------------------------------

ominas_setup.sh:
# !/usr/bin/env bash
# We recommend you do not edit this file
# It is automatically generated and overwritten by OMINAS' configure.sh
# If you need to add commands to be executed before starting OMINAS,
# we suggest placing them either in your ~/.bashrc or ~/.profile (in
# which case they will be executed before ~/.ominas/ominas_setup.sh), or
# in ~/.ominas/ominas_postsetup.sh (which is executed after ~/.ominas/ominas_setup.sh, 
# thus it can make use of other OMINAS variables).
# ~/.ominas/ominas_setup.sh is never overwritten by configure.sh

#The following line, to load the new Xdefaults definition, is commented to avoid problems in systems where xrdb is not available.
#If you would like to enable it, copy this line to you ~/.bashrc  /  ~/.bash_profile
#Uncommenting that line here n ominas_setup.sh is not recommended, as this file will be overwritten the next time you use configure.sh
#xrdb -merge /home/pirl/mdtigges/.ominas/Xdefaults-grim
export OMINAS_DIR=/home/pirl/mdtigges/ominas
export OMINAS_DATA=/home/pirl/mdtigges/ominas_data
export OMINAS_RC=/home/pirl/mdtigges/.ominas
export OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
if [ ! -w /var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas ]; then mkdir -p /var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas; fi
unset NV_Generic_kernels_DATA
export DFLAG=true
. /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
if [ `echo "$NV_TYCHO2_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_TYCHO2_DATA; fi
if [ `echo "$NV_SAO_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_SAO_DATA; fi
if [ `echo "$NV_MAPS_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_MAPS_DATA; fi
if [ `echo "$NV_UCAC4_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_UCAC4_DATA; fi
if [ `echo "$NV_GSC_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_GSC_DATA; fi
export PG_MAPS=${NV_MAPS_DATA}
. ~/.ominas/ominas_postsetup.sh

--------------------------------------------------------------------------------

IDL:
** Structure !VERSION, 8 tags, length=104, data length=100:
   ARCH            STRING    'x86_64'
   OS              STRING    'darwin'
   OS_FAMILY       STRING    'unix'
   OS_NAME         STRING    'Mac OS X'
   RELEASE         STRING    '8.5'
   BUILD_DATE      STRING    'Jul  7 2015'
   MEMORY_BITS     INT             64
   FILE_OFFSET_BITS
                   INT             64

--------------------------------------------------------------------------------

IDL_DIR:/opt/rsi/idl_8.5_with_envi_5.3/idl85

--------------------------------------------------------------------------------

environment IDL_PATH

--------------------------------------------------------------------------------

environment IDL_DLM_PATH

--------------------------------------------------------------------------------
preferences IDL_PATH
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas:+/home/pirl/mdtigges/ominas_data/icy/lib

--------------------------------------------------------------------------------

preferences IDL_DLM_PATH
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/icy/lib

--------------------------------------------------------------------------------

!path
/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/imsl:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/wavelet/data:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/wavelet/source:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/bridges:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/datatypes:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/obsolete:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/tasks:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/hook:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/dicomex:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/utilities:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/enterprise/ese:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/ui_widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/framework:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/components:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/graphics:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demodata:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demoslideshows/slideshowsrc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demosrc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/misc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/mjpeg2000:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/imsl:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/data:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/widgets/wexmast:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/ogc/wms:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/ogc/wcs:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/HP_TIFF:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/dicom:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/image:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/signal:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/utilities:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/language:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/sdf:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/itools:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/file_io:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/plot:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/objects:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/bridges:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/shaders:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples:/opt/rsi/idl_8.5_with_envi_5.3/idl85/idlde/plugins/com.rsi.idldt_8.5.0/icons:/home/pirl/mdtigges/ominas_data/idlastro/pro:/home/pirl/mdtigges/ominas/test/bridge:/home/pirl/mdtigges/ominas/test:/home/pirl/mdtigges/ominas/nv/sys/event:/home/pirl/mdtigges/ominas/nv/sys/util:/home/pirl/mdtigges/ominas/nv/sys/state:/home/pirl/mdtigges/ominas/nv/grim/interface:/home/pirl/mdtigges/ominas/nv/grim/scripts:/home/pirl/mdtigges/ominas/nv/grim/tools:/home/pirl/mdtigges/ominas/nv/grim/dred:/home/pirl/mdtigges/ominas/nv/grim:/home/pirl/mdtigges/ominas/nv/obj/tools/icv:/home/pirl/mdtigges/ominas/nv/obj/tools/ipt:/home/pirl/mdtigges/ominas/nv/obj/tools/orb/old:/home/pirl/mdtigges/ominas/nv/obj/tools/orb:/home/pirl/mdtigges/ominas/nv/obj/tools/pht:/home/pirl/mdtigges/ominas/nv/obj/tools/composite:/home/pirl/mdtigges/ominas/nv/obj/tools:/home/pirl/mdtigges/ominas/nv/obj/stn:/home/pirl/mdtigges/ominas/nv/obj/plt:/home/pirl/mdtigges/ominas/nv/obj/sld:/home/pirl/mdtigges/ominas/nv/obj/arr:/home/pirl/mdtigges/ominas/nv/obj/cam:/home/pirl/mdtigges/ominas/nv/obj/bod:/home/pirl/mdtigges/ominas/nv/obj/str:/home/pirl/mdtigges/ominas/nv/obj/rng:/home/pirl/mdtigges/ominas/nv/obj/cor:/home/pirl/mdtigges/ominas/nv/obj/glb:/home/pirl/mdtigges/ominas/nv/obj/dsk:/home/pirl/mdtigges/ominas/nv/obj/map:/home/pirl/mdtigges/ominas/nv/obj/pnt:/home/pirl/mdtigges/ominas/nv/obj/dat/dh/util:/home/pirl/mdtigges/ominas/nv/obj/dat/dh:/home/pirl/mdtigges/ominas/nv/obj/dat:/home/pirl/mdtigges/ominas/nv/com/pg:/home/pirl/mdtigges/ominas/omin:/home/pirl/mdtigges/ominas/docs_src:/home/pirl/mdtigges/ominas/bat:/home/pirl/mdtigges/ominas/demo/defunct:/home/pirl/mdtigges/ominas/demo:/home/pirl/mdtigges/ominas/util/dd:/home/pirl/mdtigges/ominas/util/p:/home/pirl/mdtigges/ominas/util/idl_parse:/home/pirl/mdtigges/ominas/util/data_archive:/home/pirl/mdtigges/ominas/util/colormap:/home/pirl/mdtigges/ominas/util/abbrev:/home/pirl/mdtigges/ominas/util/ct:/home/pirl/mdtigges/ominas/util/const:/home/pirl/mdtigges/ominas/util/image_interp:/home/pirl/mdtigges/ominas/util/str:/home/pirl/mdtigges/ominas/util/tvgr:/home/pirl/mdtigges/ominas/util/downloader:/home/pirl/mdtigges/ominas/util/w10n:/home/pirl/mdtigges/ominas/util/set:/home/pirl/mdtigges/ominas/util/v:/home/pirl/mdtigges/ominas/util/tvim:/home/pirl/mdtigges/ominas/util/tag_list:/home/pirl/mdtigges/ominas/util/gen:/home/pirl/mdtigges/ominas/util/vims_src_tmp:/home/pirl/mdtigges/ominas/util:/home/pirl/mdtigges/ominas/config/orb:/home/pirl/mdtigges/ominas/config/strcat/defunct/ucac4:/home/pirl/mdtigges/ominas/config/strcat/defunct/tycho:/home/pirl/mdtigges/ominas/config/strcat/defunct/gsc2:/home/pirl/mdtigges/ominas/config/strcat/defunct/gsc:/home/pirl/mdtigges/ominas/config/strcat/defunct/ucact:/home/pirl/mdtigges/ominas/config/strcat/defunct/sao:/home/pirl/mdtigges/ominas/config/strcat/tycho2:/home/pirl/mdtigges/ominas/config/strcat/common/old:/home/pirl/mdtigges/ominas/config/strcat/common:/home/pirl/mdtigges/ominas/config/strcat:/home/pirl/mdtigges/ominas/config/timer:/home/pirl/mdtigges/ominas/config/rings:/home/pirl/mdtigges/ominas/config/pds4/code/browse:/home/pirl/mdtigges/ominas/config/pds4/code:/home/pirl/mdtigges/ominas/config/pds4:/home/pirl/mdtigges/ominas/config/vgr/old:/home/pirl/mdtigges/ominas/config/vgr/iss/old:/home/pirl/mdtigges/ominas/config/vgr/iss:/home/pirl/mdtigges/ominas/config/vgr/detectors:/home/pirl/mdtigges/ominas/config/vgr:/home/pirl/mdtigges/ominas/config/gll/ssi:/home/pirl/mdtigges/ominas/config/gll/detectors:/home/pirl/mdtigges/ominas/config/gll:/home/pirl/mdtigges/ominas/config/sedr/create:/home/pirl/mdtigges/ominas/config/sedr:/home/pirl/mdtigges/ominas/config/w10n_pds:/home/pirl/mdtigges/ominas/config/ext:/home/pirl/mdtigges/ominas/config/mask:/home/pirl/mdtigges/ominas/config/util:/home/pirl/mdtigges/ominas/config/fits:/home/pirl/mdtigges/ominas/config/spice/icy/bug:/home/pirl/mdtigges/ominas/config/spice/icy:/home/pirl/mdtigges/ominas/config/spice/gen/defunct:/home/pirl/mdtigges/ominas/config/spice/gen:/home/pirl/mdtigges/ominas/config/spice:/home/pirl/mdtigges/ominas/config/detectors:/home/pirl/mdtigges/ominas/config/vicar:/home/pirl/mdtigges/ominas/config/pds/Readpds_4.4:/home/pirl/mdtigges/ominas/config/pds:/home/pirl/mdtigges/ominas/config/cas/uvis:/home/pirl/mdtigges/ominas/config/cas/radar:/home/pirl/mdtigges/ominas/config/cas/detectors:/home/pirl/mdtigges/ominas/config/cas/iss/old:/home/pirl/mdtigges/ominas/config/cas/iss:/home/pirl/mdtigges/ominas/config/cas/vims/defunct:/home/pirl/mdtigges/ominas/config/cas/vims:/home/pirl/mdtigges/ominas/config/cas:/home/pirl/mdtigges/ominas/config/arr:/home/pirl/mdtigges/ominas/config/dawn/detectors:/home/pirl/mdtigges/ominas/config/dawn:/home/pirl/mdtigges/ominas/config/vgr_cd:/home/pirl/mdtigges/ominas/config/stn:/home/pirl/mdtigges/ominas/config/isis:/home/pirl/mdtigges/ominas/config/trk:/home/pirl/mdtigges/ominas/config/include:/home/pirl/mdtigges/ominas/config/occ:/home/pirl/mdtigges/ominas/config/tdl:/home/pirl/mdtigges/ominas/config/multi:/home/pirl/mdtigges/ominas/config/gff

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

LD_LIBRARY_PATH:

DYLD_LIBRARY_PATH:
/opt/rsi/idl_8.5_with_envi_5.3/idl85/bin/bin.darwin.x86_64

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

IDLAstro routines:
% Compiled module: FILE_WHICH.
cntrd:/home/pirl/mdtigges/ominas_data/idlastro/pro/cntrd.pro
minmax:/home/pirl/mdtigges/ominas_data/idlastro/pro/minmax.pro

--------------------------------------------------------------------------------

No IDL_STARTUP set

--------------------------------------------------------------------------------

OMINAS repository:
On branch master
Your branch is up to date with 'origin/master'.
Last commit:
1bf01164 Paulo Penteado Thu Dec 21 00:11:10 2017 -0800

Icy:

--------------------------------------------------------------------------------

% Unknown dynamically loadable module: icy.

--------------------------------------------------------------------------------
Not found
OMINAS> 
RichardGFrench commented 6 years ago

I'm trying to install ominas on MAC OS X - at the stage of getting Cassini spice kernels, I keep getting the following error: TZ=UTC: Command not found.

Do you need to download the Cassini kernels from PDS? [y]y Please enter the location where the downloaded Cassini kernel pool will be placed: [~/ominas_data/Cassini] This script will download a subset of kernels from the PDS Cassini archive (http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/. As of November/2016, this adds to 16GB. Continue?[y] http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/ --localdir=/Users/rfrench/ominas_data/Cassini/fk/ --absolute --timestamps=/Users/rfrench/.ominas/timestamps/ /Users/rfrench/ominas_data/Cassini -lm --quiet=1

IDL 8.7.0 (darwin x86_64 m64). (c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College License: MNT-5509101:--****-D3A9 Creating directory /Users/rfrench/ominas_data/Cassini/fk/ downloading http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/ downloading http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/ downloading aareadme.txt TZ=UTC: Command not found. downloading cas_rocks_v02.tf TZ=UTC: Command not found. downloading cas_rocks_v03.tf TZ=UTC: Command not found.

RichardGFrench commented 6 years ago

I'm trying to run the demos - none of them seem to work. I get the following error messages:

2061 rfrench@achilles> pwd /Users/rfrench/Dropbox/ominas-master 2062 rfrench@achilles> cd demo 2063 rfrench@achilles> ls cas_radar_example.pro graphics multiinstrument_example.pro tiepoints_example-batch.pro cas_vims_example.pro grift_example-batch.pro multimission_example-batch.pro vgr_distortion_cp_example-batch.pro data grim_example-batch.pro outputs vgr_distortion_pn_example-batch.pro defunct map_disk_example-batch.pro override_example-batch.pro eclipse_example-batch.pro map_globe_example-batch.pro pg_example-batch.pro graft_example-batch.pro mosaic_example-batch.pro predict_example-batch.pro 2064 rfrench@achilles> idl IDL 8.7.0 (darwin x86_64 m64). (c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College License: MNT-5509101:--****-D3A9 IDL> @grim_example-batch.pro % Variable is undefined: DAT_READ. % Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'. % Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'. % Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'. % Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'. % Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'. % Execution halted at: $MAIN$
=== Auto-example complete. Use cut & paste to continue. % Prematurely closing batch file: /Users/rfrench/Dropbox/ominas-master/demo/grim_example-batch.pro. IDL> .run cas_radar_example.pro SAR file needed for the demo not found. Downloading it from PDS... % Attempt to call undefined function: 'PP_WGET'. % Execution halted at: $MAIN$ 68 /Users/rfrench/Dropbox/ominas-master/demo/cas_radar_example.pro IDL> .run cas_vims_example.pro % Attempt to call undefined function: 'DAT_READ'. % Execution halted at: $MAIN$ 54 /Users/rfrench/Dropbox/ominas-master/demo/cas_vims_example.pro IDL> .run multiinstrument_example.pro SAR file needed for the demo not found. Downloading it from PDS... % Attempt to call undefined function: 'PP_WGET'. % Execution halted at: $MAIN$ 84 /Users/rfrench/Dropbox/ominas-master/demo/multiinstrument_example.pro

penteado-jpl commented 6 years ago

Hello Richard,

What you posted suggests you were trying to run OMINAS code from a regular IDL session. That is, an IDL session started with either the idl or idlde command. OMINAS uses it own IDL startup script, called ominas (command line) / ominasde (for the IDLDE), which sets up paths and environment variables needed for OMINAS. One indicator that you are in an OMINAS IDL session is the different prompt. Ex:

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0-75-g03b074
OMINAS> 

The OMINAS IDL session should work like a regular IDL session, any other regular IDL code would still be functional in the same way. The OMINAS script just takes care of setting up the environment OMINAS needs, based on the configuration files made by the installer (configure.sh).

Paulo

RichardGFrench commented 6 years ago

Daer Paulo, This was indeed the problem I had the first time I ran the demos, but I still get errors when I run it using ominas:

bash-3.2$ ominas

IDL 8.7.0 (darwin x86_64 m64).

(c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College

License: MNT-5509101:--****-D3A9

OMINAS version 0aef

OMINAS> .run cas_radar_example.pro

% Attempt to call undefined function: 'CLEAN'.

% Execution halted at: ADDEOBJ 82 /Users/rfrench/Dropbox/ominas-master/config/pds/Readpds_4.4/addeobj.pro

% HEADPDS 135 /Users/rfrench/Dropbox/ominas-master/config/pds/Readpds_4.4/headpds.pro

% DH_READ_PDS 15 /Users/rfrench/Dropbox/ominas-master/config/pds/dh_read_pds.pro

% DRD_READ 214 /Users/rfrench/Dropbox/ominas-master/nv/obj/dat/dat_read.pro

% DAT_READ 429 /Users/rfrench/Dropbox/ominas-master/nv/obj/dat/dat_read.pro

% $MAIN$ 76 /Users/rfrench/Dropbox/ominas-master/demo/cas_radar_example.pro

When I try to run a batch version, I get:

OMINAS> @eclipse_example-batch.pro

% CSPICE_SPKGEO: SPICE(SPKINSUFFDATA): [spkgeo_c->SPKGEO] Insufficient ephemeris data has been loaded to compute the state of -82 (CASSINI) relative to 0 (SOLAR SYSTEM

              BARYCENTER) at the ephemeris epoch 2017 AUG 21

19:01:09.182.

% Execution halted at: SPICE_GET_CAMERAS 24 /Users/rfrench/Dropbox/ominas-master/config/spice/icy/spice_get_cameras.pro

% SPICE_CAMERAS 46 /Users/rfrench/Dropbox/ominas-master/config/spice/icy/spice_cameras.pro

% CAS_ISS_SPICE_CAMERAS 168 /Users/rfrench/Dropbox/ominas-master/config/cas/iss/cas_iss_spice_input.pro

% SI_GET 749 /Users/rfrench/Dropbox/ominas-master/config/spice/spice_input.pro

I think this error comes about because after running source configure.sh and setting DEMO to CONFIGURED, it automatically sets 4) Cassini to NOT CONFIGURED, even though I have downloaded all the kernel files.

Dick

On Mon, Mar 19, 2018 at 8:29 AM, Paulo Penteado notifications@github.com wrote:

Hello Richard,

What you posted suggests you were trying to run OMINAS code from a regular IDL session. That is, an IDL session started with either the idl or idlde command. OMINAS uses it own IDL startup script, called ominas (command line) / ominasde (for the IDLDE), which sets up paths and environment variables needed for OMINAS. One indicator that you are in an OMINAS IDL session is the different prompt. Ex:

$ ominas IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. Installation number: XXXX. Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION. OMINAS version v1.0.0-75-g03b074 OMINAS>

The OMINAS IDL session should work like a regular IDL session, any other regular IDL code would still be functional in the same way. The OMINAS script just takes care of setting up the environment OMINAS needs, based on the configuration files made by the installer (configure.sh).

Paulo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nasa/ominas/issues/6#issuecomment-374195525, or mute the thread https://github.com/notifications/unsubscribe-auth/AB84hpkf50QkgxRZ5JH7dURgQ9_EZ1elks5tf6TFgaJpZM4Q1XoR .

--

Richard G. French

McDowell and Whiting Professor of Astrophysics

Chair of the Astronomy Department, Wellesley College

Director of the Whitin Observatory

Cassini Mission to Saturn Radio Science Team Leader

Wellesley, MA 02481-8203

(781) 283-3747

penteado-jpl commented 6 years ago

Hello,

Indeed, setting the demo package to configured causes all the mission packages to be set to not configured. This is because the demo package contains a small set of kernels, those needed to run the demos, so that the user does not need to setup any mission packages to run the examples. The demo package causes OMINAS to use only the demo kernels, and that is the reason it sets any mission packages to unconfigured, and vice-versa. All examples can be run having just core, demo and Icy setup. In addition, the examples relative to one mission can also be run when that mission's package is setup.

Note that when a mission package is unconfigured because demo was configured, the kernel files are not deleted. This is so that one can quickly switch between using demo and using mission packages, by running configure.sh.

So, to run the Cassini demos, you can either have just demo configured, or have Cassini configured.

Now, to figure out why the demos are not working, can you tell me

1) Which you currently have configured. This can be seen by running configure.sh, it will show the current state.

2) The output of ominas_env_info, called from an OMINAS IDL session, as in

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX,

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0-74-gb399
OMINAS> ominas_env_info
% Compiled module: OMINAS_ENV_INFO.
OMINAS version:
v1.0.0-74-gb399
--------------------------------------------------------------------------------
OMINAS variables:
OMINAS_RC=/home/penteado/.ominas
OMINAS_TMP=/usr/tmp/_penteado_ominas
OMINAS_DEMO=/home/penteado/ominas/github_new/demo
OMINAS_DIR=/home/penteado/ominas/github_new
PYOMINAS_DIR=/home/penteado/ominas/pyominas
OMINAS_CF=/home/penteado/ominas/github_new/util/downloader/ca-bundle.crt
OMINAS_LDP=
OMINAS_DATA=/home/penteado/ominas_data
--------------------------------------------------------------------------------
Demo variables:
DFLAG=true
--------------------------------------------------------------------------------
NV variables:
NV_TRANSLATORS=/home/penteado/ominas/github_new/config/tab/translators.tab:/home/penteado/ominas/github_new/demo/data/translators.tab
NV_CONFIG=/home/penteado/ominas/github_new/config
NV_IO=/home/penteado/ominas/github_new/config/tab/io.tab
NV_SPICE=/home/penteado/ominas/github_new/config/spice
NV_ORBIT_DATA=/home/penteado/ominas/github_new/config/orb/
NV_SAO_DATA=/home/penteado/ominas/github_new/demo/data/
NV_ARRAY_DATA=/home/penteado/ominas/github_new/config/arr/dat/
NV_TRANSFORMS=/home/penteado/ominas/github_new/config/tab/transforms.tab:/home/penteado/ominas/github_new/demo/data/transforms.tab
NV_STATION_DATA=/home/penteado/ominas/github_new/config/stn/dat/
NV_RING_DATA=/home/penteado/ominas/github_new/config/rings/
NV_FTP_DETECT=/home/penteado/ominas/github_new/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/penteado/ominas/github_new/demo/data
NV_INS_DETECT=/home/penteado/ominas/github_new/config/tab/instrument_detectors.tab:/home/penteado/ominas/github_new/demo/data/instrument_detectors.tab
--------------------------------------------------------------------------------
SPICE variables:
DEMO_SPICE_CK=/home/penteado/ominas/github_new/demo/data/kernels/ck/
DEMO_SPICE_SCK=/home/penteado/ominas/github_new/demo/data/kernels/sck/
DEMO_SPICE_SPK=/home/penteado/ominas/github_new/demo/data/kernels/spk/
DEMO_SPICE_LSK=/home/penteado/ominas/github_new/demo/data/kernels/lsk/
DEMO_SPICE_IK=/home/penteado/ominas/github_new/demo/data/kernels/ik/
DEMO_SPICE_PCK=/home/penteado/ominas/github_new/demo/data/kernels/pck/
DEMO_SPICE_FK=/home/penteado/ominas/github_new/demo/data/kernels/fk/
DEMO_SPICE_XK=/home/penteado/ominas/github_new/config/spice/
NV_SPICE_KER=::/home/penteado/ominas/github_new/demo/data
--------------------------------------------------------------------------------
PG variables:
PG_MAPS=
--------------------------------------------------------------------------------
IDL variables:
IDL_DIR=/usr/local/exelis/idl85
--------------------------------------------------------------------------------
ominas_setup.sh:
 ...
penteado-jpl commented 6 years ago

Hello all,

I just pushed an update that should fix both the Icy not getting installed issue (reported by @mattietigges) and the TZ=UTC errors (reported by @RichardGFrench). Thank you both for catching those.

So, if you update the code, by doing a

$git pull

from your main OMINAS directory (the same where configure.sh lives), you should get the update. In case you are wondering if you got it or not, you can see it when starting OMINAS:

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.1

Or, at any time in an OMINAS IDL session:

OMINAS> print,ominas_version()
v1.0.1

Once you have the update, I suggest trying again the installer. In the case of those using the PIRL environment, note that you will still need to be in a bash shell (not the PIRL default), and do something like

$export IDL_DIR=/opt/rsi/idl_8.5/idl/

Before running configure.sh, as noted above (https://github.com/nasa/ominas/issues/6#issuecomment-363234236). I have a partially working update that will remove that need, but that is not finished yet.

Paulo

RichardGFrench commented 6 years ago

Thanks, Paulo - I tried git pull from the directory containing configure.sh and got:

bash-3.2$ pwd

/Users/rfrench/Dropbox/ominas-master

bash-3.2$ git pull

fatal: Not a git repository (or any of the parent directories): .git

On Mon, Mar 19, 2018 at 2:03 PM, Paulo Penteado notifications@github.com wrote:

Hello all,

I just pushed an update that should fix both the Icy not getting installed issue (reported by @mattietigges https://github.com/mattietigges) and the TZ=UTC errors (reported by @RichardGFrench https://github.com/richardgfrench). Thank you both for catching those.

So, if you update the code, by doing a

$git pull

from your main OMINAS directory (the same where configure.sh lives), you should get the update. In case you are wondering if you got it or not, you can see it when starting OMINAS:

$ ominas IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. Installation number: XXXX. Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION. OMINAS version v1.0.1

Or, at any time in an OMINAS IDL session:

OMINAS> print,ominas_version() v1.0.1

Once you have the update, I suggest trying again the installer. In the case of those using the PIRL environment, note that you will still need to be in a bash shell (not the PIRL default), and do something like

$export IDL_DIR=/opt/rsi/idl_8.5/idl/

Before running configure.sh, as noted above (#6 (comment) https://github.com/nasa/ominas/issues/6#issuecomment-363234236). I have a partially working update that will remove that need, but that is not finished yet.

Paulo

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nasa/ominas/issues/6#issuecomment-374309534, or mute the thread https://github.com/notifications/unsubscribe-auth/AB84hr9y3_3sfvXHWRsFQ7lydNlDS3vrks5tf_MJgaJpZM4Q1XoR .

--

Richard G. French

McDowell and Whiting Professor of Astrophysics

Chair of the Astronomy Department, Wellesley College

Director of the Whitin Observatory

Cassini Mission to Saturn Radio Science Team Leader

Wellesley, MA 02481-8203

(781) 283-3747

penteado-jpl commented 6 years ago

Hello Richard,

The directory name, /Users/rfrench/Dropbox/ominas-master, suggests it was made from the zip file, instead of setup through git (doing a git clone https://github.com/nasa/ominas). When git populates a directory from a repository, it creates a directory .git, which is where it keeps the files it needs to work. That error message indicates the .git directory is not present, which is what happens when the zip file is used instead of doing a git clone.

In that case, the two simplest options to get updates are

1) Delete / move the current /Users/rfrench/Dropbox/ominas-master, then download the zip again (the zip file from Github always has the current version) and extract it. The reason not to simply extract the zip over the current directory is that some updates might include removing or moving old files.

2) Delete / move the current /Users/rfrench/Dropbox/ominas-master, then use git to create a new directory, $git clone https://github.com/nasa/ominas Once that is done, any future updates will be obtainable by doing a git pull.

RichardGFrench commented 6 years ago

I reinstalled and reconfigured to be able to run DEMOs. Now I get the following error message for the first demo:

bash-3.2$ ominas

IDL 8.7.0 (darwin x86_64 m64).

(c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College

License: MNT-5509105:--****-9937

OMINAS version v1.0.1

OMINAS> .run cas_radar_example.pro

SAR file needed for the demo not found. Downloading it from PDS...

/Applications/harris/idl87/bin/bin.darwin.x86_64/ca-bundle.crt

Creating directory /Users/rfrench/ominas_data/sar/

downloading http://pds-imaging.jpl.nasa.gov/data/cassini/cassini_orbiter/CORADR_0045/DATA/BIDR/BIFQI22N068_D045_T003S01_V02.ZIP

Content Length: 0.0000000 B

dif: -3492.1756

Content Length: 201.98373 MB

ZIP file downloaded, decompressing it...

% Time elapsed: 3.4506359 seconds.

% Attempt to call undefined function: 'CLEAN'.

% Execution halted at: ADDEOBJ 82 /Users/rfrench/Dropbox/ominas/config/pds/Readpds_4.4/addeobj.pro

% HEADPDS 135 /Users/rfrench/Dropbox/ominas/config/pds/Readpds_4.4/headpds.pro

% DH_READ_PDS 15 /Users/rfrench/Dropbox/ominas/config/pds/dh_read_pds.pro

% DRD_READ 225 /Users/rfrench/Dropbox/ominas/nv/obj/dat/dat_read.pro

% DAT_READ 437 /Users/rfrench/Dropbox/ominas/nv/obj/dat/dat_read.pro

% $MAIN$ 76 /Users/rfrench/Dropbox/ominas/demo/cas_radar_example.pro

OMINAS>

and then I get this error message for another demo:

bash-3.2$ ominas

IDL 8.7.0 (darwin x86_64 m64).

(c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College

License: MNT-5509105:--****-9937

OMINAS version v1.0.1

OMINAS> @eclipse_example-batch.pro

% CSPICE_SPKGEO: SPICE(SPKINSUFFDATA): [spkgeo_c->SPKGEO] Insufficient

              ephemeris data has been loaded to compute the state of -82

              (CASSINI) relative to 0 (SOLAR SYSTEM BARYCENTER) at the

              ephemeris epoch 2017 AUG 21 19:01:09.182.

% Execution halted at: SPICE_GET_CAMERAS 24

On Mon, Mar 19, 2018 at 4:54 PM, Paulo Penteado notifications@github.com wrote:

Hello Richard,

The directory name, /Users/rfrench/Dropbox/ominas-master, suggests it was made from the zip file, instead of setup through git (doing a git clone https://github.com/nasa/ominas). When git populates a directory from a repository, it creates a directory .git, which is where it keeps the files it needs to work. That error message indicates the .git directory is not present, which is what happens when the zip file is used instead of doing a git clone.

In that case, the two simplest options to get updates are

1.

Delete / move the current /Users/rfrench/Dropbox/ominas-master, then download the zip again (the zip file from Github always has the current version) and extract it. The reason not to simply extract the zip over the current directory is that some updates might include removing or moving old files. 2.

Delete / move the current /Users/rfrench/Dropbox/ominas-master, then use git to create a new directory, $git clone https://github.com/nasa/ominas Once that is done, any future updates will be obtainable by doing a git pull.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nasa/ominas/issues/6#issuecomment-374372290, or mute the thread https://github.com/notifications/unsubscribe-auth/AB84hhdBHojdLPhp8ZLwmNdapinxM28Mks5tgBrzgaJpZM4Q1XoR .

--

Richard G. French

McDowell and Whiting Professor of Astrophysics

Chair of the Astronomy Department, Wellesley College

Director of the Whitin Observatory

Cassini Mission to Saturn Radio Science Team Leader

Wellesley, MA 02481-8203

(781) 283-3747

penteado-jpl commented 6 years ago

Can you send me the output of running ominas_env_info, from an OMINAS IDL session?

Thanks,

Paulo

RichardGFrench commented 6 years ago

Here is the ominas_env_info output and source configure.sh output. Dick

On Mon, Mar 19, 2018 at 5:24 PM, Paulo Penteado notifications@github.com wrote:

Can you send me the output of running ominas_env_info, from an OMINAS IDL session?

Thanks,

Paulo

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nasa/ominas/issues/6#issuecomment-374383895, or mute the thread https://github.com/notifications/unsubscribe-auth/AB84huKqm9QtrwSuwQszb6NCJKQC_rlnks5tgCIogaJpZM4Q1XoR .

--

Richard G. French

McDowell and Whiting Professor of Astrophysics

Chair of the Astronomy Department, Wellesley College

Director of the Whitin Observatory

Cassini Mission to Saturn Radio Science Team Leader

Wellesley, MA 02481-8203

(781) 283-3747

Script started on Mon Mar 19 17:22:17 2018 56 rfrench@maxwell> shbash [?1034hbash-3.2$ ominas IDL 8.7.0 (darwin x86_64 m64). (c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College License: MNT-5509105:--****-9937 OMINAS version v1.0.1 OMINAS> ominas_env_info OMINAS version: v1.0.1

OMINAS variables: OMINAS_RC=/Users/rfrench/.ominas OMINAS_TMP=/var/folders/fk/blxdrf4537z_sqv9lkkyyywm0000gn/T/_rfrench_ominas OMINAS_DEMO=/Users/rfrench/Dropbox/ominas/demo OMINAS_DIR=/Users/rfrench/Dropbox/ominas OMINAS_DATA=/Users/rfrench/ominas_data

Demo variables: DFLAG=true

NV variables: NV_TRANSLATORS=/Users/rfrench/Dropbox/ominas/config/tab/translators.tab:/Users/rfrench/Dropbox/ominas/demo/data/translators.tab NV_CONFIG=/Users/rfrench/Dropbox/ominas/config NV_IO=/Users/rfrench/Dropbox/ominas/config/tab/io.tab NV_SPICE=/Users/rfrench/Dropbox/ominas/config/spice NV_ORBIT_DATA=/Users/rfrench/Dropbox/ominas/config/orb/ NV_SAO_DATA=/Users/rfrench/Dropbox/ominas/demo/data/ NV_ARRAY_DATA=/Users/rfrench/Dropbox/ominas/config/arr/dat/ NV_TRANSFORMS=/Users/rfrench/Dropbox/ominas/config/tab/transforms.tab:/Users/rfrench/Dropbox/ominas/demo/data/transforms.tab NV_STATION_DATA=/Users/rfrench/Dropbox/ominas/config/stn/dat/ NV_RING_DATA=/Users/rfrench/Dropbox/ominas/config/rings/ NV_FTP_DETECT=/Users/rfrench/Dropbox/ominas/config/tab/filetype_detectors.tab NV_SPICE_KER=::/Users/rfrench/Dropbox/ominas/demo/data NV_INS_DETECT=/Users/rfrench/Dropbox/ominas/config/tab/instrument_detectors.tab:/Users/rfrench/Dropbox/ominas/demo/data/instrument_detectors.tab

SPICE variables: DEMO_SPICE_CK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/ck/ DEMO_SPICE_SCK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/sck/ DEMO_SPICE_SPK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/spk/ DEMO_SPICE_LSK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/lsk/ DEMO_SPICE_IK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/ik/ DEMO_SPICE_PCK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/pck/ DEMO_SPICE_FK=/Users/rfrench/Dropbox/ominas/demo/data/kernels/fk/ DEMO_SPICE_XK=/Users/rfrench/Dropbox/ominas/config/spice/ NV_SPICE_KER=::/Users/rfrench/Dropbox/ominas/demo/data

PG variables: PG_MAPS=

IDL variables: IDL_STARTUP=/Users/rfrench/Research/idl_lib/idl.startup IDL_DIR=/Applications/harris/idl87 IDL_DEVICE=X IDL_LIBDIR=/Applications/harris/idl87/lib IDL_LOCAL=/Applications/harris/idl87/local IDL_PATH=/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/:+/Applications/harris/idl/ IDL_EXAMPLES=/Applications/harris/idl87/examples

ominas_setup.sh:

!/usr/bin/env bash

We recommend you do not edit this file

It is automatically generated and overwritten by OMINAS' configure.sh

If you need to add commands to be executed before starting OMINAS,

we suggest placing them either in your ~/.bashrc or ~/.profile (in

which case they will be executed before ~/.ominas/ominas_setup.sh), or

in ~/.ominas/ominas_postsetup.sh (which is executed after ~/.ominas/ominas_setup.sh,

thus it can make use of other OMINAS variables).

~/.ominas/ominas_setup.sh is never overwritten by configure.sh

This file is overwritten by the OMINAS installer, so we recomend you do not edit this file

if [ echo $IDL_PATH | grep -Eco "/Users/rfrench/Dropbox/ominas/?(:|$)" == 0 ]; then export IDL_PATH="${IDL_PATH:+$IDL_PATH:}+/Users/rfrench/Dropbox/ominas"; fi

The following line, to load the new Xdefaults definition, is commented to avoid problems in systems where xrdb is not available.

If you would like to enable it, copy this line to you ~/.bashrc / ~/.bash_profile

Uncommenting that line here n ominas_setup.sh is not recommended, as this file will be overwritten the next time you use configure.sh

xrdb -merge /Users/rfrench/.ominas/Xdefaults-grim

export OMINAS_DIR=/Users/rfrench/Dropbox/ominas export OMINAS_DATA=/Users/rfrench/ominas_data export OMINAS_RC=/Users/rfrench/.ominas export OMINAS_TMP=/var/folders/fk/blxdrf4537z_sqv9lkkyyywm0000gn/T/_rfrench_ominas if [ ! -w /var/folders/fk/blxdrf4537z_sqv9lkkyyywm0000gn/T/_rfrench_ominas ]; then mkdir -p /var/folders/fk/blxdrf4537z_sqv9lkkyyywm0000gn/T/_rfrench_ominas; fi unset NV_Generic_kernels_DATA export DFLAG=true . /Users/rfrench/.ominas/config/ominas_env_def.sh if [ echo "$NV_TYCHO2_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$" == 0 ]; then unset NV_TYCHO2_DATA; fi if [ echo "$NV_SAO_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$" == 0 ]; then unset NV_SAO_DATA; fi if [ echo "$NV_MAPS_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$" == 0 ]; then unset NV_MAPS_DATA; fi if [ echo "$NV_UCAC4_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$" == 0 ]; then unset NV_UCAC4_DATA; fi if [ echo "$NV_GSC_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$" == 0 ]; then unset NV_GSC_DATA; fi

export PG_MAPS=${NV_MAPS_DATA} . ~/.ominas/ominas_postsetup.sh

IDL: ** Structure !VERSION, 8 tags, length=104, data length=100: ARCH STRING 'x86_64' OS STRING 'darwin' OS_FAMILY STRING 'unix' OS_NAME STRING 'Mac OS X' RELEASE STRING '8.7.0' BUILD_DATE STRING 'Jan 22 2018 (347767)' MEMORY_BITS INT 64 FILE_OFFSET_BITS INT 64

IDL_DIR:/Applications/harris/idl87

environment IDL_PATH /Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/:+/Applications/harris/idl/:+/Users/rfrench/Dropbox/ominas

environment IDL_DLM_PATH


preferences IDL_PATH /Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/:+/Applications/harris/idl/:+/Users/rfrench/Dropbox/ominas

preferences IDL_DLM_PATH

-------------------------------------------------------------------------------- !path /Volumes/dione_raid2/Research/RINGFIT/programs/v1.8:/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_sqw:/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_template:/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_mct:/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_mul:/Volumes/dione_raid2/Research/uranus/uranus_programs:/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8:/Applications/harris/idl/examples/async:/Applications/harris/idl/examples/data:/Applications/harris/idl/examples/demo/demodata:/Applications/harris/idl/examples/demo/demoslideshows/slideshowsrc:/Applications/harris/idl/examples/demo/demosrc:/Applications/harris/idl/examples/demo:/Applications/harris/idl/examples/doc/bridges:/Applications/harris/idl/examples/doc/dicom:/Applications/harris/idl/examples/doc/file_io:/Applications/harris/idl/examples/doc/image:/Applications/harris/idl/examples/doc/itools:/Applications/harris/idl/examples/doc/language:/Applications/harris/idl/examples/doc/objects:/Applications/harris/idl/examples/doc/plot:/Applications/harris/idl/examples/doc/sdf:/Applications/harris/idl/examples/doc/shaders:/Applications/harris/idl/examples/doc/signal:/Applications/harris/idl/examples/doc/utilities:/Applications/harris/idl/examples/doc/widgets:/Applications/harris/idl/examples/HP_TIFF:/Applications/harris/idl/examples/imsl:/Applications/harris/idl/examples/misc:/Applications/harris/idl/examples/mjpeg2000:/Applications/harris/idl/examples/ogc/wcs:/Applications/harris/idl/examples/ogc/wms:/Applications/harris/idl/examples/widgets/wexmast:/Applications/harris/idl/examples/widgets:/Applications/harris/idl/examples:/Applications/harris/idl/external/call_external/C:/Applications/harris/idl/external/call_external/Fortran:/Applications/harris/idl/external/dlm:/Applications/harris/idl/external/spawn:/Applications/harris/idl/external/widstub:/Applications/harris/idl/help/online_help/Subsystems/idl/Content/IDL Graphics/images:/Applications/harris/idl/help/online_help/Subsystems/idl/Content/images:/Applications/harris/idl/idlde/plugins/com.rsi.idldt_2.0.0/icons:/Applications/harris/idl/lib/async:/Applications/harris/idl/lib/bridges:/Applications/harris/idl/lib/datatypes:/Applications/harris/idl/lib/dicomex:/Applications/harris/idl/lib/enterprise/ese:/Applications/harris/idl/lib/graphics:/Applications/harris/idl/lib/hook:/Applications/harris/idl/lib/imsl:/Applications/harris/idl/lib/itools/components:/Applications/harris/idl/lib/itools/framework:/Applications/harris/idl/lib/itools/ui_widgets:/Applications/harris/idl/lib/itools:/Applications/harris/idl/lib/obsolete:/Applications/harris/idl/lib/tasks/taskengine:/Applications/harris/idl/lib/tasks/templates:/Applications/harris/idl/lib/tasks/utilities:/Applications/harris/idl/lib/tasks:/Applications/harris/idl/lib/utilities:/Applications/harris/idl/lib/wavelet/data:/Applications/harris/idl/lib/wavelet/source:/Applications/harris/idl/lib:/Applications/harris/idl/local/abarth:/Applications/harris/idl/local/astrolib/pro/astro:/Applications/harris/idl/local/astrolib/pro/astrom:/Applications/harris/idl/local/astrolib/pro/database:/Applications/harris/idl/local/astrolib/pro/disk_io:/Applications/harris/idl/local/astrolib/pro/fits:/Applications/harris/idl/local/astrolib/pro/fits_bintable:/Applications/harris/idl/local/astrolib/pro/fits_table:/Applications/harris/idl/local/astrolib/pro/idlphot:/Applications/harris/idl/local/astrolib/pro/image:/Applications/harris/idl/local/astrolib/pro/jhuapl:/Applications/harris/idl/local/astrolib/pro/math:/Applications/harris/idl/local/astrolib/pro/misc:/Applications/harris/idl/local/astrolib/pro/plot:/Applications/harris/idl/local/astrolib/pro/robust:/Applications/harris/idl/local/astrolib/pro/sdas:/Applications/harris/idl/local/astrolib/pro/sdas_table:/Applications/harris/idl/local/astrolib/pro/structure:/Applications/harris/idl/local/astrolib/pro/tv:/Applications/harris/idl/local/astrolib/pro:/Applications/harris/idl/local/astron/pro:/Applications/harris/idl/local/astron.dir/pro/astro:/Applications/harris/idl/local/astron.dir/pro/astrom:/Applications/harris/idl/local/astron.dir/pro/database:/Applications/harris/idl/local/astron.dir/pro/disk_io:/Applications/harris/idl/local/astron.dir/pro/fits:/Applications/harris/idl/local/astron.dir/pro/fits_bintable:/Applications/harris/idl/local/astron.dir/pro/fits_table:/Applications/harris/idl/local/astron.dir/pro/idlphot:/Applications/harris/idl/local/astron.dir/pro/image:/Applications/harris/idl/local/astron.dir/pro/jhuapl:/Applications/harris/idl/local/astron.dir/pro/math:/Applications/harris/idl/local/astron.dir/pro/misc:/Applications/harris/idl/local/astron.dir/pro/plot:/Applications/harris/idl/local/astron.dir/pro/robust:/Applications/harris/idl/local/astron.dir/pro/sdas:/Applications/harris/idl/local/astron.dir/pro/sdas_table:/Applications/harris/idl/local/astron.dir/pro/sockets:/Applications/harris/idl/local/astron.dir/pro/structure:/Applications/harris/idl/local/astron.dir/pro/tv:/Applications/harris/idl/local/buie:/Applications/harris/idl/local/cmlib:/Applications/harris/idl/local/coyote/public:/Applications/harris/idl/local/coyote:/Applications/harris/idl/local/craig/xfilter:/Applications/harris/idl/local/craig:/Applications/harris/idl/local/gumley:/Applications/harris/idl/local/hadfield:/Applications/harris/idl/local/iue:/Applications/harris/idl/local/jhuapl/eqv_demo:/Applications/harris/idl/local/jhuapl/idldoc:/Applications/harris/idl/local/jhuapl/idlusr:/Applications/harris/idl/local/jhuapl/idlusr2:/Applications/harris/idl/local/jhuapl:/Applications/harris/idl/local/layoung_v4/astrom:/Applications/harris/idl/local/layoung_v4/astronomy:/Applications/harris/idl/local/layoung_v4/atm:/Applications/harris/idl/local/layoung_v4/fileio/tmp:/Applications/harris/idl/local/layoung_v4/fileio:/Applications/harris/idl/local/layoung_v4/general:/Applications/harris/idl/local/layoung_v4/graphics:/Applications/harris/idl/local/layoung_v4/math:/Applications/harris/idl/local/layoung_v4/naif/old:/Applications/harris/idl/local/layoung_v4/naif:/Applications/harris/idl/local/layoung_v4/oc/2mass:/Applications/harris/idl/local/layoung_v4/oc/hd:/Applications/harris/idl/local/layoung_v4/oc/oclc_epq03:/Applications/harris/idl/local/layoung_v4/oc/oclc_ey92:/Applications/harris/idl/local/layoung_v4/oc/sao:/Applications/harris/idl/local/layoung_v4/oc/tyc2:/Applications/harris/idl/local/layoung_v4/oc/tyc2_hd:/Applications/harris/idl/local/layoung_v4/oc/ucac:/Applications/harris/idl/local/layoung_v4/oc/ucac2mpos:/Applications/harris/idl/local/layoung_v4/oc:/Applications/harris/idl/local/layoung_v4/spectra:/Applications/harris/idl/local/layoung_v4/util:/Applications/harris/idl/local/locallib:/Applications/harris/idl/local/neat_stuff_from_web:/Applications/harris/idl/local/pds:/Applications/harris/idl/local/rpx/OLD:/Applications/harris/idl/local/rpx:/Applications/harris/idl/local/rsi:/Applications/harris/idl/local/salo:/Applications/harris/idl/local/TeX2IDL:/Applications/harris/idl/local/user_contrib/esrg_ucsb:/Applications/harris/idl/local/user_contrib/freudenreich:/Applications/harris/idl/local/user_contrib/knight:/Applications/harris/idl/local/user_contrib/landsman:/Applications/harris/idl/local/user_contrib/meron:/Applications/harris/idl/local/user_contrib/thompson/documentation:/Applications/harris/idl/local/user_contrib/thompson/graphics_devices:/Applications/harris/idl/local/user_contrib/thompson/image_display:/Applications/harris/idl/local/user_contrib/thompson/time:/Applications/harris/idl/local/xdemo/examples:/Applications/harris/idl/local/xdemo:/Applications/harris/idl/local/xsig:/Applications/harris/idl/local:/Applications/harris/idl/resource/bridges/import/java/examples:/Applications/harris/idl/resource/itools/styles:/Users/rfrench/Dropbox/ominas/bat:/Users/rfrench/Dropbox/ominas/config/arr:/Users/rfrench/Dropbox/ominas/config/cas/detectors:/Users/rfrench/Dropbox/ominas/config/cas/iss/old:/Users/rfrench/Dropbox/ominas/config/cas/iss:/Users/rfrench/Dropbox/ominas/config/cas/radar:/Users/rfrench/Dropbox/ominas/config/cas/uvis:/Users/rfrench/Dropbox/ominas/config/cas/vims/defunct:/Users/rfrench/Dropbox/ominas/config/cas/vims:/Users/rfrench/Dropbox/ominas/config/cas:/Users/rfrench/Dropbox/ominas/config/dawn/detectors:/Users/rfrench/Dropbox/ominas/config/dawn:/Users/rfrench/Dropbox/ominas/config/detectors:/Users/rfrench/Dropbox/ominas/config/ext:/Users/rfrench/Dropbox/ominas/config/fits:/Users/rfrench/Dropbox/ominas/config/gff:/Users/rfrench/Dropbox/ominas/config/gll/detectors:/Users/rfrench/Dropbox/ominas/config/gll/ssi:/Users/rfrench/Dropbox/ominas/config/gll:/Users/rfrench/Dropbox/ominas/config/include:/Users/rfrench/Dropbox/ominas/config/isis:/Users/rfrench/Dropbox/ominas/config/juno:/Users/rfrench/Dropbox/ominas/config/mask:/Users/rfrench/Dropbox/ominas/config/multi:/Users/rfrench/Dropbox/ominas/config/occ:/Users/rfrench/Dropbox/ominas/config/orb:/Users/rfrench/Dropbox/ominas/config/pds/Readpds_4.4:/Users/rfrench/Dropbox/ominas/config/pds:/Users/rfrench/Dropbox/ominas/config/pds4/code/browse:/Users/rfrench/Dropbox/ominas/config/pds4/code:/Users/rfrench/Dropbox/ominas/config/pds4:/Users/rfrench/Dropbox/ominas/config/rings:/Users/rfrench/Dropbox/ominas/config/sedr/create:/Users/rfrench/Dropbox/ominas/config/sedr:/Users/rfrench/Dropbox/ominas/config/spice/gen/defunct:/Users/rfrench/Dropbox/ominas/config/spice/gen:/Users/rfrench/Dropbox/ominas/config/spice/icy/bug:/Users/rfrench/Dropbox/ominas/config/spice/icy:/Users/rfrench/Dropbox/ominas/config/spice:/Users/rfrench/Dropbox/ominas/config/stn:/Users/rfrench/Dropbox/ominas/config/strcat/common/old:/Users/rfrench/Dropbox/ominas/config/strcat/common:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/gsc:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/gsc2:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/sao:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/tycho:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/ucac4:/Users/rfrench/Dropbox/ominas/config/strcat/defunct/ucact:/Users/rfrench/Dropbox/ominas/config/strcat/tycho2:/Users/rfrench/Dropbox/ominas/config/strcat:/Users/rfrench/Dropbox/ominas/config/tdl:/Users/rfrench/Dropbox/ominas/config/timer:/Users/rfrench/Dropbox/ominas/config/trk:/Users/rfrench/Dropbox/ominas/config/util:/Users/rfrench/Dropbox/ominas/config/vgr/detectors:/Users/rfrench/Dropbox/ominas/config/vgr/iss/old:/Users/rfrench/Dropbox/ominas/config/vgr/iss:/Users/rfrench/Dropbox/ominas/config/vgr/old:/Users/rfrench/Dropbox/ominas/config/vgr:/Users/rfrench/Dropbox/ominas/config/vgr_cd:/Users/rfrench/Dropbox/ominas/config/vicar:/Users/rfrench/Dropbox/ominas/config/w10n_pds:/Users/rfrench/Dropbox/ominas/demo/defunct:/Users/rfrench/Dropbox/ominas/demo:/Users/rfrench/Dropbox/ominas/docs_src:/Users/rfrench/Dropbox/ominas/nv/com/pg:/Users/rfrench/Dropbox/ominas/nv/grim/dred:/Users/rfrench/Dropbox/ominas/nv/grim/interface:/Users/rfrench/Dropbox/ominas/nv/grim/scripts:/Users/rfrench/Dropbox/ominas/nv/grim/tools:/Users/rfrench/Dropbox/ominas/nv/grim:/Users/rfrench/Dropbox/ominas/nv/obj/arr:/Users/rfrench/Dropbox/ominas/nv/obj/bod:/Users/rfrench/Dropbox/ominas/nv/obj/cam:/Users/rfrench/Dropbox/ominas/nv/obj/cor:/Users/rfrench/Dropbox/ominas/nv/obj/dat/dh/util:/Users/rfrench/Dropbox/ominas/nv/obj/dat/dh:/Users/rfrench/Dropbox/ominas/nv/obj/dat:/Users/rfrench/Dropbox/ominas/nv/obj/dsk:/Users/rfrench/Dropbox/ominas/nv/obj/glb:/Users/rfrench/Dropbox/ominas/nv/obj/map:/Users/rfrench/Dropbox/ominas/nv/obj/plt:/Users/rfrench/Dropbox/ominas/nv/obj/pnt:/Users/rfrench/Dropbox/ominas/nv/obj/rng:/Users/rfrench/Dropbox/ominas/nv/obj/sld:/Users/rfrench/Dropbox/ominas/nv/obj/stn:/Users/rfrench/Dropbox/ominas/nv/obj/str:/Users/rfrench/Dropbox/ominas/nv/obj/tools/composite:/Users/rfrench/Dropbox/ominas/nv/obj/tools/icv:/Users/rfrench/Dropbox/ominas/nv/obj/tools/ipt:/Users/rfrench/Dropbox/ominas/nv/obj/tools/orb/old:/Users/rfrench/Dropbox/ominas/nv/obj/tools/orb:/Users/rfrench/Dropbox/ominas/nv/obj/tools/pht:/Users/rfrench/Dropbox/ominas/nv/obj/tools:/Users/rfrench/Dropbox/ominas/nv/sys/event:/Users/rfrench/Dropbox/ominas/nv/sys/state:/Users/rfrench/Dropbox/ominas/nv/sys/util:/Users/rfrench/Dropbox/ominas/omin:/Users/rfrench/Dropbox/ominas/test/bridge:/Users/rfrench/Dropbox/ominas/test:/Users/rfrench/Dropbox/ominas/util/abbrev:/Users/rfrench/Dropbox/ominas/util/colormap:/Users/rfrench/Dropbox/ominas/util/const:/Users/rfrench/Dropbox/ominas/util/ct:/Users/rfrench/Dropbox/ominas/util/data_archive:/Users/rfrench/Dropbox/ominas/util/dd:/Users/rfrench/Dropbox/ominas/util/downloader:/Users/rfrench/Dropbox/ominas/util/gen:/Users/rfrench/Dropbox/ominas/util/idl_parse:/Users/rfrench/Dropbox/ominas/util/image_interp:/Users/rfrench/Dropbox/ominas/util/p:/Users/rfrench/Dropbox/ominas/util/set:/Users/rfrench/Dropbox/ominas/util/str:/Users/rfrench/Dropbox/ominas/util/tag_list:/Users/rfrench/Dropbox/ominas/util/tvgr:/Users/rfrench/Dropbox/ominas/util/tvim:/Users/rfrench/Dropbox/ominas/util/v:/Users/rfrench/Dropbox/ominas/util/vims_src_tmp:/Users/rfrench/Dropbox/ominas/util/w10n:/Users/rfrench/Dropbox/ominas/util:/Users/rfrench/Research/idl_lib/pro -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- LD_LIBRARY_PATH: DYLD_LIBRARY_PATH: /Applications/harris/idl87/bin/bin.darwin.x86_64:/opt/X11/lib/flat_namespace/ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- IDLAstro routines: cntrd:/Applications/harris/idl/local/astrolib/pro/idlphot/cntrd.pro minmax:/Applications/harris/idl/local/astrolib/pro/misc/minmax.pro -------------------------------------------------------------------------------- IDL_STARTUP: /Users/rfrench/Research/idl_lib/idl.startup !quiet=1 ; this turns off some error messages !order=0 ; this makes images display from top to bottom ; run local library of procedures so that they are available my_Uranus_program_path='/Volumes/dione_raid2/Research/uranus/uranus_programs' my_ringprofile_program_path1='/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_sqw' my_ringprofile_program_path2='/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_template' my_ringprofile_program_path3='/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_mct' my_ringprofile_program_path4='/Volumes/dione_raid2/Research/ring_profile_IDL/programs/rp_mul' my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8' ;my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/20130323DEVEL' ;my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/20131013' ;my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/20131011PREV' ;my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/20131010PREV' ;my_ringfit_program_path='/Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/20131008 !PATH= my_ringfit_program_path+':'+ $ my_ringprofile_program_path1+':'+ $ my_ringprofile_program_path2+':'+ $ my_ringprofile_program_path3+':'+ $ my_ringprofile_program_path4+':'+ $ my_Uranus_program_path+':'+ $ !PATH+':/Users/rfrench/Research/idl_lib/pro' .run locallib setxstore ; start up in X windows mode ; Liam Gumley device,true_color=24 window,/FREE,/PIXMAP,colors=-10,xsize=10,ysize=10 wdelete,!d.window device,decomposed=0,retain=1 device,get_visual_depth=depth ; run ICG startup file so that variables are defined ; @/usr/local/itt/idl/local/icg/idl_source/idl.all -------------------------------------------------------------------------------- OMINAS repository: On branch master Your branch is up-to-date with 'origin/master'. Last commit: bf7ff5e5 Paulo Penteado Mon Mar 19 10:52:23 2018 -0700 Icy: -------------------------------------------------------------------------------- ** ICY - IDL/CSPICE interface from JPL/NAIF (not loaded) Version: 1.7.0, Build Date: 25-OCT-2012, Source: ed.wright@jpl.nasa.gov Path: /Applications/harris/idl87/bin/bin.darwin.x86_64/icy.so -------------------------------------------------------------------------------- CSPICE_N0065 -------------------------------------------------------------------------------- 0 loaded kernels: -------------------------------------------------------------------------------- OMINAS> exit bash-3.2$ source configure.sh Detecting .bash_profile... .bash_profile detected! Detecting .bashrc... .bashrc detected! IDL_DIR found, /Applications/harris/idl87, using it IDL 8.7.0 (darwin x86_64 m64). (c) 2018, Harris Geospatial Solutions, Inc. Licensed for use by: Wellesley College License: MNT-5509105:****-****-****-9937 ~/.ominas directory already exists ~/.ominas/config directory already exists /Users/rfrench/.ominas/config/ominas_env_def.sh already exists /Users/rfrench/.ominas/config/ominas_env_def.sh -> /Users/rfrench/.ominas/config/ominas_env_def.sh.old config/ominas_env_def.sh -> /Users/rfrench/.ominas/config/ominas_env_def.sh /Users/rfrench/.ominas/config/ominas_env_strcat.sh already exists /Users/rfrench/.ominas/config/ominas_env_strcat.sh -> /Users/rfrench/.ominas/config/ominas_env_strcat.sh.old config/strcat/ominas_env_strcat.sh -> /Users/rfrench/.ominas/config/ominas_env_strcat.sh /Users/rfrench/.ominas/config/ominas_env_cas.sh already exists /Users/rfrench/.ominas/config/ominas_env_cas.sh -> /Users/rfrench/.ominas/config/ominas_env_cas.sh.old config/cas/ominas_env_cas.sh -> /Users/rfrench/.ominas/config/ominas_env_cas.sh /Users/rfrench/.ominas/config/ominas_env_dawn.sh already exists /Users/rfrench/.ominas/config/ominas_env_dawn.sh -> /Users/rfrench/.ominas/config/ominas_env_dawn.sh.old config/dawn/ominas_env_dawn.sh -> /Users/rfrench/.ominas/config/ominas_env_dawn.sh /Users/rfrench/.ominas/config/ominas_env_gll.sh already exists /Users/rfrench/.ominas/config/ominas_env_gll.sh -> /Users/rfrench/.ominas/config/ominas_env_gll.sh.old config/gll/ominas_env_gll.sh -> /Users/rfrench/.ominas/config/ominas_env_gll.sh /Users/rfrench/.ominas/config/ominas_env_vgr.sh already exists /Users/rfrench/.ominas/config/ominas_env_vgr.sh -> /Users/rfrench/.ominas/config/ominas_env_vgr.sh.old config/vgr/ominas_env_vgr.sh -> /Users/rfrench/.ominas/config/ominas_env_vgr.sh /Users/rfrench/.ominas/config/ominas_env_juno.sh already exists /Users/rfrench/.ominas/config/ominas_env_juno.sh -> /Users/rfrench/.ominas/config/ominas_env_juno.sh.old config/juno/ominas_env_juno.sh -> /Users/rfrench/.ominas/config/ominas_env_juno.sh ~/ominas_data directory already exists grimrc already exists in /Users/rfrench/.ominas, not changing it Xdefaults-grim already exists in /Users/rfrench/.ominas, not changing it /Users/rfrench/.ominas/ominas_setup.sh -> /Users/rfrench/.ominas/ominas_setup_old.sh The setup will guide you through the installation of OMINAS More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html OMINAS files located in /Users/rfrench/Dropbox/ominas Icy: OMINAS_TMP=/var/folders/fk/blxdrf4537z_sqv9lkkyyywm0000gn/T/_rfrench_ominas IDL_PATH: /Volumes/dione_raid2/Research/RINGFIT/programs/v1.8/:+/Applications/harris/idl/:+/Users/rfrench/Dropbox/ominas ============================================================================= Current OMINAS configuration settings Required: 1) OMINAS Core . . . . . . . . . . . . . CONFIGURED Contains the OMINAS code. If you select only one of the other packages, this will be included. Optional packages: 2) Demo package . . . . . . . . . . . . . CONFIGURED Contains the demo scripts and the data required to run then. These files are always present (in ominas/demo), this option is to set up the environment so that the demos can be run. 3) SPICE Icy . . . . . . . . . . . . . . CONFIGURED Library maintained by JPL's NAIF (Navigation and Ancillary Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html, required to use spacecraft / planetary kernel files. Mission Packages: Kernels used for each mission's position and pointing data. If you do not already have them, an option to download them from PDS will be provided. If you already have them, you will need to provide the path to your kernel files. Note: the NAIF Generic Kernels (one of the optional data packages) are not required for the missions, they already contain a copy the subset of the generic kernel files they need. 4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED Subsetted, about 16 GB as of Dec/2016 5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED About 833 MB as of Dec/2016 6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED About 163 MB as of Dec/2016 7) Juno . . . . . . . . . . . . . . . . . NOT CONFIGURED Subsetted, about 22 GB as of Feb/2018 Data: 8) NAIF Generic Kernels . . . . . . . . . NOT CONFIGURED About 22 GB as of Dec/2016 9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED About 161 MB download, 665 MB unpacked 10) SAO star catalog . . . . . . . . . . . NOT CONFIGURED Already provided with OMINAS, no download needed 11) Maps Map library created for use with OMINAS NOT CONFIGURED About 813 MB as of August/2017 12) UCAC4 star catalog . . . . . . . . . . NOT CONFIGURED About 8.5 GB download 13) GSC star catalog . . . . . . . . . . . NOT CONFIGURED For more information, see https://nasa.github.io/ominas/guides/userguide.html Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? e Setup has completed. It is recommended to restart your terminal session before using OMINAS. You may want to try some of the tutorials at https://nasa.github.io/ominas/demo/ For documentation on how OMINAS works, see the User Guide at https://nasa.github.io/ominas/user_guide bash-3.2$ exit exit 57 rfrench@maxwell> exit exit Script done on Mon Mar 19 17:23:29 2018
mattietigges commented 6 years ago

We tried installing packages 1 2 and 3 and this is the output:

IDL Version 8.5, Mac OS X (darwin x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation. Unknown directive "user:FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000059:_spotlight:89:al low,inherited:read,execute,readattr,readextattr,readsecurity" on line 2 of dynamically loadable module definition file: /home/pirl/mdtigges/ominas_data/icy/lib/._icy.dlm. Dynamically loadable module definition file lacks a MODULE directive: /home/pirl/mdtigges/ominas_data/icy/lib/._icy.dlm. Segmentation fault: 11

mattietigges commented 6 years ago

Hey Paulo, still no luck with Icy. I logged out of my account after wiping everything, logged back in and tried installing. Here's what I got

raga:../~ 15:43 % bash
bash-3.2$ git clone https://github.com/nasa/ominas
Cloning into 'ominas'...
remote: Counting objects: 30158, done.
remote: Compressing objects: 100% (1033/1033), done.
remote: Total 30158 (delta 331), reused 1080 (delta 238), pack-reused 28878
Receiving objects: 100% (30158/30158), 415.93 MiB | 13.40 MiB/s, done.
Resolving deltas: 100% (21983/21983), done.
Checking out files: 100% (4623/4623), done.
bash-3.2$ cd ominas/
bash-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
bash-3.2$ export IDL_DIR=/opt/rsi/idl_8.5/idl/
bash-3.2$ source ./configure.sh 
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
IDL_DIR found, /opt/rsi/idl_8.5/idl/, using it
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

Creating ~/.ominas directory
Creating ~/.ominas/config directory
config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh
config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh
config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh
config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh
config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh
Creating ~/ominas_data directory
Copying default grimrc to /home/pirl/mdtigges/.ominas
config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc
Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas
config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh
The setup will guide you through the installation of OMINAS
More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html
OMINAS files located in /home/pirl/mdtigges/ominas

Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: <IDL_DEFAULT>:+~/projects:+~/ominas_pro
=============================================================================
    Current OMINAS configuration settings
Required:
    1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
    4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
    5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
    6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines:
cntrd not found
minmax not found
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/pirl/mdtigges/ominas_data/idlastro
Cloning into '/home/pirl/mdtigges/ominas_data/idlastro'...
remote: Counting objects: 1721, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 1721 (delta 11), reused 15 (delta 5), pack-reused 1696
Receiving objects: 100% (1721/1721), 11.71 MiB | 9.11 MiB/s, done.
Resolving deltas: 100% (789/789), done.
Checking out files: 100% (524/524), done.
IDLAstro path set in IDL_PATH: 
<IDL_DEFAULT>:+~/projects:+~/ominas_pro:+/home/pirl/mdtigges/ominas_data/idlastro/pro
OMINAS paths added to IDL_PATH
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: <IDL_DEFAULT>:+~/projects:+~/ominas_pro:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas
=============================================================================
    Current OMINAS configuration settings
Required:
    1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
    4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
    5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
    6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?
mattietigges commented 6 years ago

This error occurred today when installing packages 1 and 2 on the dev branch (in Pirl)

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Running 'idl' Setup..
*** This is IDL version 8.2 ***
*** Type "idl71" or "idl-" for IDL version 7.1 ***
*** Type "idl85" or "idl+" for IDL version 8.5 ***
dyld: Symbol not found: _inflateReset2
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /opt/rsi/idl_8.2_SP1/idl/bin/bin.darwin.x86_64/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Abort trap: 6
/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/idlpath.sh
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh
mattietigges commented 6 years ago

Hi Paulo, looks like there are some issues concerning IDL.

raga:../~ 04:06:10 $ export IDL_DIR=/opt/rsi/idl_8.7/idl/

raga:../~ 04:06:23 $ git clone https://github.com/nasa/ominas

Cloning into 'ominas'...

remote: Counting objects: 30449, done.

remote: Compressing objects: 100% (184/184), done.

remote: Total 30449 (delta 156), reused 174 (delta 98), pack-reused 30166

Receiving objects: 100% (30449/30449), 415.99 MiB | 13.36 MiB/s, done.

Resolving deltas: 100% (22403/22403), done.

Checking out files: 100% (4682/4682), done.

raga:../~ 04:07:51 $ cd ominas/

/home/pirl/mdtigges/ominas

raga:../ominas 04:08:38 $ git status

On branch master

Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

raga:../ominas 04:09:01 $ source configure.sh

Detecting .bash_profile...

.bash_profile detected!

Detecting .bashrc...

.bashrc detected!

IDL_DIR found, /opt/rsi/idl_8.7/idl/, using it

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

Creating ~/.ominas directory

Creating ~/.ominas/config directory

config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh

config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh

config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh

config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh

config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh

config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh

config/juno/ominas_env_juno.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_juno.sh

Creating ~/ominas_data directory

Copying default grimrc to /home/pirl/mdtigges/.ominas

config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc

Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas

config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

The setup will guide you through the installation of OMINAS

More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html

OMINAS files located in /home/pirl/mdtigges/ominas

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Icy: 

usage: mkdir [-pv] [-m mode] directory ...

OMINAS_TMP=

IDL_PATH: 

=============================================================================

    Current OMINAS configuration settings

Required:

    1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED

           Contains the OMINAS code. If you select only one 

           of the other packages, this will be included.

Optional packages:

        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED

           Contains the demo scripts and the data required 

           to run then.

           These files are always present (in ominas/demo), 

           this option is to set up the environment so that

           the demos can be run.

        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED

           Library maintained by JPL's NAIF (Navigation and Ancillary

           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,

           required to use spacecraft / planetary kernel files.

Mission Packages:

           Kernels used for each mission's position and 

           pointing data. If you do not already have them,

           an option to download them from PDS will be provided.

           If you already have them, you will need to provide

           the path to your kernel files.

           Note: the NAIF Generic Kernels (one of the optional 

           data packages) are not required for the missions, they

           already contain a copy the subset of the generic kernel

           files they need.

    4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 16 GB as of Dec/2016

    5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED

           About 833 MB as of Dec/2016

    6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED

           About 163 MB as of Dec/2016

        7) Juno  . . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 22 GB as of Feb/2018

Data:

        8) NAIF Generic Kernels  . . . . . . . . . NOT CONFIGURED

           About 22 GB as of Dec/2016

        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED

           About 161 MB download, 665 MB unpacked

       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED

           Already provided with OMINAS, no download needed

       11) Maps

           Map library created for use with OMINAS NOT CONFIGURED

           About 813 MB as of August/2017

       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED

           About 8.5 GB download

       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see

https://nasa.github.io/ominas/guides/userguide.html

Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3

OMINAS requires the NAIF Icy toolkit to process SPICE kernels.

Would you like to install Icy from the internet now? [y]y

http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/MacIntel_OSX_AppleC_IDL8.x_64bit/packages/icy.tar.Z

http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/MacIntel_OSX_AppleC_IDL8.x_64bit/packages/icy.tar.Z --localdir=

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

Extracting Icy source files...

-bash: cd: icy: No such file or directory

Trying to use precompiled binaries...

Precompiled binary failed: 

Trying to build Icy...

Icy compiled. Log is at ~/.ominas/icy_make.log

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/idlpath.sh

writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

-bash: /home/pirl/mdtigges/.bashrc: Permission denied

-bash: /home/pirl/mdtigges/.bash_profile: Permission denied

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Icy: 

usage: mkdir [-pv] [-m mode] directory ...

OMINAS_TMP=

IDL_PATH: 

=============================================================================

    Current OMINAS configuration settings

Required:

    1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED

           Contains the OMINAS code. If you select only one 

           of the other packages, this will be included.

Optional packages:

        2) Demo package . . . . . . . . . . . . .  CONFIGURED

           Contains the demo scripts and the data required 

           to run then.

           These files are always present (in ominas/demo), 

           this option is to set up the environment so that

           the demos can be run.

        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED

           Library maintained by JPL's NAIF (Navigation and Ancillary

           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,

           required to use spacecraft / planetary kernel files.

Mission Packages:

           Kernels used for each mission's position and 

           pointing data. If you do not already have them,

           an option to download them from PDS will be provided.

           If you already have them, you will need to provide

           the path to your kernel files.

           Note: the NAIF Generic Kernels (one of the optional 

           data packages) are not required for the missions, they

           already contain a copy the subset of the generic kernel

           files they need.

    4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 16 GB as of Dec/2016

    5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED

           About 833 MB as of Dec/2016

    6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED

           About 163 MB as of Dec/2016

        7) Juno  . . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 22 GB as of Feb/2018

Data:

        8) NAIF Generic Kernels  . . . . . . . . . NOT CONFIGURED

           About 22 GB as of Dec/2016

        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED

           About 161 MB download, 665 MB unpacked

       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED

           Already provided with OMINAS, no download needed

       11) Maps

           Map library created for use with OMINAS NOT CONFIGURED

           About 813 MB as of August/2017

       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED

           About 8.5 GB download

       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see

https://nasa.github.io/ominas/guides/userguide.html

Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 

After the install, I tried

ominas override_example-batch.pro

and got the error

-bash: ominas: command not found

I checked that the file ominas exists in the ~/.ominas/ directory and it was there so I went into the .ominas directory and attempted to run ominas from there

raga:../demo 04:43:02 $ cd ~/.ominas/
raga:../.ominas 04:46:08 $ ominas
-bash: ominas: command not found
ppenteado commented 6 years ago

Hello,

The problem with a license not being found could be due to the use of IDL 8.7 - the installer will look for the highest IDL version it can find, and use it by default. Since IDL 8.7 uses a different license server than versions up to 8.5. So, my suggestion is first to try to run IDL 8.7 from the command line, and see if the license issue is resolved. If not, you can try to use the license server for older versions, by setting IDL_DIR, as mentioned above. For instance, to use IDL 8.5:

$export IDL_DIR=/opt/rsi/idl_8.5/idl/

This will suppress the auto detection, and will cause the installer to use 8.5.

Let me know how it goes.

mattietigges commented 6 years ago

Icy won't configure using IDL 8.7, but I did have success using 8.5. Thanks