OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ancnrt.c File Reference
#include <mfhdf.h>
#include "ancil.h"
#include <time.h>
#include <limits.h>
#include <unistd.h>
#include "ancnrt_proto.h"
#include <timeutils.h>
Include dependency graph for ancnrt.c:

Go to the source code of this file.

Macros

#define VGROUPNAME   "Geophysical Data"
 
#define WPH_DFT_LATSZ   181 /* latitude of GRIB files */
 
#define WPH_DFT_LONSZ   360 /* long of MODIFIED GRIB files */
 
#define OZLATSZ   180 /* fixed TOVS output # lines to cvt to */
 
#define OZLONSZ   288 /* fixed TOVS output made to this size */
 
#define ANC_MET   0 /* for ancillary data type (anctyp) say this is met data */
 
#define ANC_OZONE   1 /* say this is ozone data */
 
#define ANC_METOZ   2 /* combined met and ozone from NCEP */
 
#define ANC_METOZ2   3 /* for test 2 extra parms of RH at 1000, RH at 10 m */
 
#define GRIB_MODE_1   1 /* the GRIB modes, GRIB 1 old, GRIB 2 post jan 08 */
 
#define GRIB_MODE_2   2
 

Functions

int main (int argc, char *argv[])
 
void shift_180 (float *in, int npix, int nlin, float fact, float *out)
 
int8 check_usage (int argc, char *argv[], int *anctyp, int *n_opt_arg, char *source_name, int *grib_mode, char *grib2_t_str)
 

Macro Definition Documentation

◆ ANC_MET

#define ANC_MET   0 /* for ancillary data type (anctyp) say this is met data */

Definition at line 88 of file ancnrt.c.

◆ ANC_METOZ

#define ANC_METOZ   2 /* combined met and ozone from NCEP */

Definition at line 90 of file ancnrt.c.

◆ ANC_METOZ2

#define ANC_METOZ2   3 /* for test 2 extra parms of RH at 1000, RH at 10 m */

Definition at line 91 of file ancnrt.c.

◆ ANC_OZONE

#define ANC_OZONE   1 /* say this is ozone data */

Definition at line 89 of file ancnrt.c.

◆ GRIB_MODE_1

#define GRIB_MODE_1   1 /* the GRIB modes, GRIB 1 old, GRIB 2 post jan 08 */

Definition at line 92 of file ancnrt.c.

◆ GRIB_MODE_2

#define GRIB_MODE_2   2

Definition at line 93 of file ancnrt.c.

◆ OZLATSZ

#define OZLATSZ   180 /* fixed TOVS output # lines to cvt to */

Definition at line 86 of file ancnrt.c.

◆ OZLONSZ

#define OZLONSZ   288 /* fixed TOVS output made to this size */

Definition at line 87 of file ancnrt.c.

◆ VGROUPNAME

#define VGROUPNAME   "Geophysical Data"

Definition at line 82 of file ancnrt.c.

◆ WPH_DFT_LATSZ

#define WPH_DFT_LATSZ   181 /* latitude of GRIB files */

Definition at line 84 of file ancnrt.c.

◆ WPH_DFT_LONSZ

#define WPH_DFT_LONSZ   360 /* long of MODIFIED GRIB files */

Definition at line 85 of file ancnrt.c.

Function Documentation

◆ check_usage()

int8 check_usage ( int  argc,
char *  argv[],
int *  anctyp,
int *  n_opt_arg,
char *  source_name,
int *  grib_mode,
char *  grib2_t_str 
)

Definition at line 705 of file ancnrt.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 95 of file ancnrt.c.

◆ shift_180()

void shift_180 ( float *  in,
int  npix,
int  nlin,
float  fact,
float *  out 
)

Definition at line 668 of file ancnrt.c.