Date: Tue, 10 Jan 2012 12:16:44 -0500
From: Chunhua Qi 
To: Glen Petitpas 
Cc: Chunhua Qi ,
     Jun-Hui Zhao , Ram 
Subject: Re: idl2miriad issue
Parts/Attachments:
   1   OK     105 lines  Text (charset: ISO-8859-1)
   2 Shown   ~115 lines  Text (charset: ISO-8859-1)
----------------------------------------

Hi Glen,

Sorry for this confusion. The library libidl64mir.so MIR use for
outputing miriad file is located in /sma/local/miriad which might
not be the newest version of miriad you have (or Jun-Hi has
installed).� So for single purpose of just outputing miriad file
in MIR, please do the following before you enter idl:
source /sma/local/miriad/MIRRC.linux

Once you output miriad from mir, you can use whatever version of
miriad to image it. Again to make it simple, you can put your
usual miriad setup in your .cshrc but only when you outputing
miriad file in MIR, source the above file. Then exit the terminal.
When you open a new one, you can use the miriad version you set in
your .cshrc again.

�Let me know if you have any further question about it.

Charlie

On Mon, Jan 9, 2012 at 9:13 PM, Glen Petitpas
 wrote:

      Hi
      It seems I can no longer output full spectral or
      continuum
      data with idl2miriad as it is installed in Hilo on
      rtdchilo2.

      When I finish calibrating my data in MIR/IDL, I used
      to use
      idl2miriad to export it to MIRIAD for imaging.

      I was trying this on some recent data (all recent data
      actually)
      and I get the following error:

-------------------------------------------------------------------------
      -----
      IDL>
      idl2miriad,dir='grb_l.uv',source='GRB111215A',sideband='l'
    ...
      �IF READY, PRESS ANY KEY TO CONTINUE......

      The MIR data are considered as non-polarization data,
      will use XX as default.
      Likely NO USB Continuum Data Present.
      % CALL_EXTERNAL: Error loading sharable executable.
      � � � � � � � � Symbol: idl_vearth, File =
      libidl64mir.so
      � � � � � � � � libidl64mir.so: cannot open shared
      object file: No such file or
      � � � � � � � � directory
      % Execution halted at: ABERRATE � � � � �347
      /sma/local/mir/idl/pro/sma/idl2miriad.pro
      % � � � � � � � � � � �IDL2MIRIAD � � � �676
      /sma/local/mir/idl/pro/sma/idl2miriad.pro
      % � � � � � � � � � � �ABERRATE � � � � �347
      /sma/local/mir/idl/pro/sma/idl2miriad.pro
     % � � � � � � � � � � �MIR_RESTORE � � � �59
      /sma/local/mir/idl/pro/sma/mir_restore.pro
      % � � � � � � � � � � �$MAIN$
      IDL>
      -----------------------------------------------------------------

      and oddly, I get the reverse error when I try to
      export the USB data ("no LSB data
      present"):

      -------------------------------------------------------------------
      IDL>
      idl2miriad,dir='grb_u.uv',source='GRB111215A',sideband='u'
      ...
      �IF READY, PRESS ANY KEY TO CONTINUE......

     The MIR data are considered as non-polarization data,
      will use XX as default.
      Likely NO LSB Continuum Data Present.
      % CALL_EXTERNAL: Error loading sharable executable.
      � � � � � � � � Symbol: idl_vearth, File =
      libidl64mir.so
      � � � � � � � � libidl64mir.so: cannot open shared
      object file: No such file or
      � � � � � � � � directory
      % Execution halted at: ABERRATE � � � � �347
      /sma/local/mir/idl/pro/sma/idl2miriad.pro
      % � � � � � � � � � � �IDL2MIRIAD � � � �676
      /sma/local/mir/idl/pro/sma/idl2miriad.pro
      % � � � � � � � � � � �MIR_RESTORE � � � �59
      /sma/local/mir/idl/pro/sma/mir_restore.pro
      % � � � � � � � � � � �$MAIN$
      IDL>
      ------------------------------------------------------------------
-
     I've of course verified that I 'loaded' the newest
      version of miriad before starting
      IDL, and also verified that the source GRB111215A is
      present in the data by
      'plot_continuum' and the 'select' command.

      Ram has not used idl2miriad in a few weeks so cannot
      corroborate my reports.
      It seems like things do not work well since the last
      upgrade of miriad, which is
      why I cc'd Jun-Hui on this email.

      Any thoughts would be helpful.

      Cheers
      Glen