getting the target name

From: John E. Davis <davis>
Date: Tue, 29 Oct 2002 10:19:21 -0500
Hi,

   How do I find the target name associated with a data set?  Although
"list_data" shows the target name, it is not appropriate for use in a
script.  I looked at the "get_data_info" function, but it does not
provide this information.  If this is not currently possible, I would
appreciate it if you would consider adding such a feature to the next
version.

   Until then, I will probably use something like:
   
      define get_target_name (file)
      {
         return fits_read_key (file, "OBJECT");
      }

which is useful only if the filename associated with the data set is
available.

Thanks,
--John
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Tue Oct 29 2002 - 10:19:30 EST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT