Print

Print


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