#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "oicheck.h"
Functions | |
void | init_check_result (oi_check_result *pResult) |
Initialise check result struct. | |
void | free_check_result (oi_check_result *pResult) |
Free dynamically-allocated storage within check result struct. | |
char * | format_check_result (oi_check_result *pResult) |
Return string describing check result. | |
void | print_check_result (oi_check_result *pResult) |
Print check result to stdout. | |
oi_breach_level | check_unique_targets (oi_fits *pOi, oi_check_result *pResult) |
Check targets have unique identifiers. | |
oi_breach_level | check_targets_present (oi_fits *pOi, oi_check_result *pResult) |
Check all referenced targets are present in OI_TARGET. | |
oi_breach_level | check_elements_present (oi_fits *pOi, oi_check_result *pResult) |
Check all referenced array elements are present. | |
oi_breach_level | check_flagging (oi_fits *pOi, oi_check_result *pResult) |
Check for negative error bars. | |
oi_breach_level | check_t3amp (oi_fits *pOi, oi_check_result *pResult) |
Check for unnormalised (i.e. | |
oi_breach_level | check_waveorder (oi_fits *pOi, oi_check_result *pResult) |
Check for un-ordered wavelength values in OI_WAVELENGTH. | |
Variables | |
GString * | pGStr |
Internal use GString, defined in oifile.c. | |
char * | oi_breach_level_desc [] |
Descriptions for oi_breach_level values. |
Copyright (C) 2007 John Young
This file is part of OIFITSlib.
OIFITSlib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
OIFITSlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with OIFITSlib. If not, see http://www.gnu.org/licenses/
char* oi_breach_level_desc[] |
Initial value:
{ "No error", "Valid OIFITS, but may cause problems for some reading software", "Does not conform to the OIFITS standard", "Does not conform to the FITS standard" }
Referenced by format_check_result().