Print

Print


Thanks. The library is actually in $CONVERT_DIR/convert_idl.so.0. I've made the fix in https://github.com/Starlink/starlink/commit/6753c9feb5c9251418bd7aedf9b98b723fd9e4b9 -- we are hoping for a new Starlink release in a couple of months.

Funnily enough the previous change in 2010 was triggered by you but implemented incorrectly :-)
Commit 17b4ee7eebbedb408074c000e787adc397baeaaa

-- 
Tim Jenness

On Sat, Feb 14, 2015 at 4:17 AM, Suzanne Ramsay <[log in to unmask]> wrote:
Hi,

I am using the IDL routines READ_NDF and WRITE_NDF provided with the convert package. I believe there is a bug that has crept into recent (perhaps also not so recent)  releases including star-2014A (also present in nanahope).

Error message :

% Compiled module: READ_NDF.
IDL> test=read_ndf('J1614-1906_spectrum.sdf')
% READ_NDF: The library file: /scratch/home/sramsay/star-2014Alib/convert_idl.so.0 Does not exist.
% Execution halted at: $MAIN$

The problem seems to be solveable by an adjustment of LIB_NAME in the read_ndf.pro and write_ndf.pro files.

Replace:     LIB_NAME = getenv('STARLINK_DIR')+'/convert_idl.so.0'
with: LIB_NAME = getenv('STARLINK_DIR')+'/lib/convert_idl.so.0'

With best wishes,
Suzie

----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK

---- Starlink User Support list For list configuration, including subscribing to and unsubscribing from the list, see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK