Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
geogen_modis
GEO_basic.h
Go to the documentation of this file.
1
/* file: GEO_basic.h */
2
3
/*
4
!C-INC************************************************************************
5
!Description: the basic .h file for the Level-1A geolocation
6
software
7
8
!Input Parameters: N/A
9
10
!Output Parameters: N/A
11
12
!Revision History:
13
$Log: GEO_basic.h,v $
14
Revision 5.1 2005/03/16 21:34:52 kuyper
15
Changed header guard macro name to avoid reserved name space.
16
17
Revision 2.3 1999/03/12 17:48:37 kuyper
18
Capitalized Prolog Sections
19
20
* Revision 2.2 1999/01/22 16:58:05 kuyper
21
* Added definition of WARNING.
22
*
23
* Revision 2.1 1997/10/21 18:15:47 kuyper
24
* Returned from ClearCase
25
*
26
* Revision 1.7.1.1 1997/07/18 22:40:58 kuyper
27
* Merged in out-of-sequence changes.
28
*
29
* Revision 1.7 1997/07/18 21:58:00 kuyper
30
* Baselined Version 1
31
*
32
*Parallel development:
33
* Revision 1.6 1997/05/12 18:18:56 kuyper
34
* Changed definition of TRUE for compatibility
35
* with n32 and 64 bit versions of Toolkit.
36
*
37
* Revision 1.6 1997/03/26 19:08:41 fhliang
38
* Initial revision of SDST delivery of GEO_basic.h.
39
*
40
Revision 1.5 1996/10/16 22:09:34 kuyper
41
Modified definition of FAIL to be compatible with hdf.h.
42
43
Revision 1.4 1996/08/06 15:43:24 kuyper
44
Changed to more conventional definitions of TRUE/FALSE; only external effect
45
is the value of correct_terrain in parameters file.
46
47
Revision 1.3 1996/07/30 19:09:45 kuyper
48
Added definition of EXIT_FAIL, to comply with standards.
49
50
51
4/5/95
52
Ruiming Chen (rchen@ltpmail.gsfc.nasa.gov)
53
Finished coding
54
55
!Team-unique Header:
56
This software is developed by the MODIS Science Data Support
57
Team for the National Aeronautics and Space Administration,
58
Goddard Space Flight Center, under contract NAS5-32373.
59
60
!END**************************************************************************
61
*/
62
63
#ifndef GEO_BASIC_H
64
#define GEO_BASIC_H
65
66
#include <stdio.h>
67
#include <stdlib.h>
68
#include <math.h>
69
#include <string.h>
70
71
#define EXIT_FAIL 1
/* Per MODIS software standard 5.1.1 . */
72
#define EXIT_SUCCESS 0
73
74
#define FAIL (-1)
75
#define SUCCESS 0
76
#define WARNING 1
77
78
#ifndef FALSE
79
#define FALSE 0
80
#endif
81
#ifndef TRUE
82
#define TRUE (!FALSE)
83
#endif
84
85
#endif
86
87