oicheck.h File Reference

Definitions for OIFITS conformity checker. More...

#include "oifile.h"

Go to the source code of this file.

Data Structures

struct  oi_check_result
 Result of checking for a particular class of standard breach. More...

Defines

#define MAX_REPORT   10
 Maximum times to report same class of breach.

Typedefs

typedef oi_breach_level(* check_func )(oi_fits *, oi_check_result *)
 Standard interface to checking function.

Enumerations

enum  oi_breach_level { OI_BREACH_NONE, OI_BREACH_WARNING, OI_BREACH_NOT_OIFITS, OI_BREACH_NOT_FITS }
 Severity of a check failure. More...

Functions

void init_check_result (oi_check_result *)
 Initialise check result struct.
void free_check_result (oi_check_result *)
 Free dynamically-allocated storage within check result struct.
char * format_check_result (oi_check_result *)
 Return string describing check result.
void print_check_result (oi_check_result *)
 Print check result to stdout.
oi_breach_level check_unique_targets (oi_fits *, oi_check_result *)
 Check targets have unique identifiers.
oi_breach_level check_targets_present (oi_fits *, oi_check_result *)
 Check all referenced targets are present in OI_TARGET.
oi_breach_level check_elements_present (oi_fits *, oi_check_result *)
 Check all referenced array elements are present.
oi_breach_level check_flagging (oi_fits *, oi_check_result *)
 Check for negative error bars.
oi_breach_level check_t3amp (oi_fits *, oi_check_result *)
 Check for unnormalised (i.e.
oi_breach_level check_waveorder (oi_fits *, oi_check_result *)
 Check for un-ordered wavelength values in OI_WAVELENGTH.


Detailed Description

Definitions for OIFITS conformity checker.

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/


Generated on Mon Jun 8 12:45:07 2009 for OIFITSlib by  doxygen 1.5.7.1