Skip to content

bintable procedure

Martin Wiesmann edited this page Jan 5, 2023 · 21 revisions

spice_data::get_bintable_info

This is an internally used procedure that collects all info about present bintables in the FITS files. So far, it looked only at VAR_KEYS in the first extension, assuming it is the same for all extensions. This will have to be changed. Also it didn't parse the tags of the keywords, but included those into the types.

New:

Collect values from all VAR_KEYS in all data extensions. Parse the value, such

<bintable-extension-name1>;<keyword1>[<tag1>],<keyword2>[<tag2>],<bintable-extension-name2>;<keyword3>[<tag3>]

and put information in a structure, like this:

temp_column = {
  wcsn:'', 
  tform:'',  
  ttype:'',  
  flag:'',  
  tdim:'', 
  tunit:'', 
  tunit_desc:'', 
  tdmin:'', 
  tdmax:'', 
  tdesc:'', 
  bin_extension_name:'', 
  
  values:ptr_new()
  }
Clone this wiki locally