Manipulates QC keywords from the telescope


Functions

int hawki_compute_prop_tel_qc_stats (const cpl_table *telescope_prop, cpl_propertylist *stats_prop)
int hawki_extract_prop_tel_qc (const cpl_propertylist *all_property_list, cpl_table *telescope_prop, int irow)
 Extracts all the QC keywords and append them to the table.
int hawki_prop_tel_initialize (cpl_table *telescope_prop)
 Initialize the table with all the telescope data columns.

Function Documentation

int hawki_extract_prop_tel_qc ( const cpl_propertylist *  all_property_list,
cpl_table *  telescope_prop,
int  irow 
)

Extracts all the QC keywords and append them to the table.

Parameters:
all_property_list The list of all the properties from the header
telescope_prop Table with the telescope QC data.
Returns:
0 if everything is ok, -1 otherwise
The function gets the following keywords from the propertylist: TEL.ALT, TEL.AZ, TEL.AMBI.RHUM, TEl.AMBI.TAU0, TEL.AMBI.TEMP, TEL.AMBI.WINDDIR, TEL.AMBI.WINDSP, TEL.IA.FWHM, SEQ.CUMOFFSETA, SEQ.CUMOFFSETD, SEQ.CUMOFFSETX, SEQ.CUMOFFSETY It also computes the following extra keywords: ADA.ABSROT.DELTA = ADA.ABSROT.END - ADA.ABSROT.START TEL.AIRM = (TEL.AIRM.START + TEL.AIRM.END) / 2.0 TEL AMBI FWHM = (TEL.AMBI.FHWM.START + TEL.AMBI.FWHM.END) / 2.0 TEL.AMBI.PRES = (TEL.AMBI.PRES.START + TEL.AMBI.PRES.END) / 2.0 TEL.PARANG = (TEL.PARANG.START + TEL.PARANG.END) / 2.0 TEL.PARANG.DELTA = TEL.PARANG.END - TEL.PARANG.START

All these keywords (including the *.START and *.END) are appended in the telescope_prop table, using the column names stated in hawki_dfs.h

Definition at line 188 of file hawki_properties_tel.c.

References hawki_pfits_get_airmass_end(), hawki_pfits_get_airmass_start(), hawki_pfits_get_ao_fwhm(), hawki_pfits_get_azimut(), hawki_pfits_get_cumoffseta(), hawki_pfits_get_cumoffsetd(), hawki_pfits_get_cumoffsetx(), hawki_pfits_get_cumoffsety(), hawki_pfits_get_elevation(), hawki_pfits_get_obs_seeing_end(), hawki_pfits_get_obs_seeing_start(), hawki_pfits_get_obs_temp(), hawki_pfits_get_parangle_end(), hawki_pfits_get_parangle_start(), hawki_pfits_get_pressure_end(), hawki_pfits_get_pressure_start(), hawki_pfits_get_relhum(), hawki_pfits_get_rotator_end(), hawki_pfits_get_rotator_start(), hawki_pfits_get_tau0(), hawki_pfits_get_wind_dir(), and hawki_pfits_get_wind_speed().

int hawki_prop_tel_initialize ( cpl_table *  telescope_prop  ) 

Initialize the table with all the telescope data columns.

Parameters:
telescope_prop Table with the telescope QC data.
Returns:
0 if everything is ok, -1 otherwise
This function creates the following columns in the given table: TEL.ALT, TEL.AZ, TEL.AMBI.RHUM, TEl.AMBI.TAU0, TEL.AMBI.TEMP, TEL.AMBI.WINDDIR, TEL.AMBI.WINDSP, TEL.IA.FWHM, SEQ.CUMOFFSETA, SEQ.CUMOFFSETD, SEQ.CUMOFFSETX, SEQ.CUMOFFSETY ADA.ABSROT.DELTA, ADA.ABSROT.END, ADA.ABSROT.START TEL.AIRM, TEL.AIRM.START, TEL.AIRM.END TEL AMBI FWHM, TEL.AMBI.FHWM.START, TEL.AMBI.FWHM.END TEL.AMBI.PRES, TEL.AMBI.PRES.START, TEL.AMBI.PRES.END TEL.PARANG, TEL.PARANG.START, TEL.PARANG.END TEL.PARANG.DELTA, TEL.PARANG.END, TEL.PARANG.START

Definition at line 72 of file hawki_properties_tel.c.


Generated on Thu Feb 17 17:13:08 2011 for HAWKI Pipeline Reference Manual by  doxygen 1.4.7