OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
anc.h File Reference
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
Include dependency graph for anc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LAT   721
 
#define LON   1441
 
#define MAXVAL   255
 
#define null   '\0'
 
#define WIND_U   0
 
#define WIND_V   1
 
#define PRESSURE   2
 
#define HUMIDITY   3
 
#define OZONE   4
 
#define CORNERS   4
 
#define NPARMS   6
 
#define NFILE   2
 
#define F1   0
 
#define F2   1
 
#define MSECHOUR   3600000
 
#define MSECMIN   60000
 
#define MSECSEC   1000
 
#define BS_INCR   0 /* increasing order */
 
#define BS_DECR   1 /* decreasing order */
 
#define SPATIAL   110
 
#define SPATIAL_TEMPORAL   112
 
#define GEOMETRY_VDATA   "Equal-Angle SDS"
 
#define WIND_U_LABEL   "Zonal Wind"
 
#define WIND_V_LABEL   "Meridional Wind"
 
#define PRESSURE_LABEL   "Atmospheric Pressure"
 
#define HUMIDITY_LABEL   "Relative Humidity"
 
#define OZONE_LABEL   "Total Ozone"
 
#define CLIM_DATA   "Average"
 
#define QC_LABEL   "QC flag"
 
#define PARM_LABEL   "Observations"
 
#define SYEAR   "Start Year"
 
#define SDAY   "Start Day"
 
#define SMSEC   "Start Millisec"
 
#define EYEAR   "End Year"
 
#define EDAY   "End Day"
 
#define EMSEC   "End Millisec"
 
#define VSIZE   "Latitude Step"
 
#define HSIZE   "Longitude Step"
 
#define MAXNORTH   "Northernmost Latitude"
 
#define MAXSOUTH   "Southernmost Latitude"
 
#define MAXWEST   "Westernmost Longitude"
 
#define MAXEAST   "Easternmost Longitude"
 
#define SWPT_LAT   "SW Point Latitude"
 
#define SWPT_LON   "SW Point Longitude"
 
#define DATANAMES
 

Functions

void dataintp_ (float *in_latlon, float *lat_list, float *lon_list, float *data_list1, double *DT1, float *data_list2, double *DT2, int32_t *ipt, int32_t *nband, float(*)[2], float *def, int32_t *intporder, float *dummy, float *dataout, float *unc, int32_t *int_bad, int32_t *row, int32_t *col)
 
void julian_ (double *dtin, double *d_jd)
 
int32_t rdancattr (int32_t sdfid, char *attr_name, void *buf)
 

Variables

char ERR_MSG [1024]
 

Macro Definition Documentation

◆ BS_DECR

#define BS_DECR   1 /* decreasing order */

Definition at line 34 of file anc.h.

◆ BS_INCR

#define BS_INCR   0 /* increasing order */

Definition at line 33 of file anc.h.

◆ CLIM_DATA

#define CLIM_DATA   "Average"

Definition at line 47 of file anc.h.

◆ CORNERS

#define CORNERS   4

Definition at line 22 of file anc.h.

◆ DATANAMES

#define DATANAMES

Definition at line 71 of file anc.h.

◆ EDAY

#define EDAY   "End Day"

Definition at line 56 of file anc.h.

◆ EMSEC

#define EMSEC   "End Millisec"

Definition at line 57 of file anc.h.

◆ EYEAR

#define EYEAR   "End Year"

Definition at line 55 of file anc.h.

◆ F1

#define F1   0

Definition at line 25 of file anc.h.

◆ F2

#define F2   1

Definition at line 26 of file anc.h.

◆ GEOMETRY_VDATA

#define GEOMETRY_VDATA   "Equal-Angle SDS"

Definition at line 39 of file anc.h.

◆ HSIZE

#define HSIZE   "Longitude Step"

Definition at line 60 of file anc.h.

◆ HUMIDITY

#define HUMIDITY   3

Definition at line 19 of file anc.h.

◆ HUMIDITY_LABEL

#define HUMIDITY_LABEL   "Relative Humidity"

Definition at line 44 of file anc.h.

◆ LAT

#define LAT   721

Definition at line 10 of file anc.h.

◆ LON

#define LON   1441

Definition at line 11 of file anc.h.

◆ MAXEAST

#define MAXEAST   "Easternmost Longitude"

Definition at line 64 of file anc.h.

◆ MAXNORTH

#define MAXNORTH   "Northernmost Latitude"

Definition at line 61 of file anc.h.

◆ MAXSOUTH

#define MAXSOUTH   "Southernmost Latitude"

Definition at line 62 of file anc.h.

◆ MAXVAL

#define MAXVAL   255

Definition at line 13 of file anc.h.

◆ MAXWEST

#define MAXWEST   "Westernmost Longitude"

Definition at line 63 of file anc.h.

◆ MSECHOUR

#define MSECHOUR   3600000

Definition at line 29 of file anc.h.

◆ MSECMIN

#define MSECMIN   60000

Definition at line 30 of file anc.h.

◆ MSECSEC

#define MSECSEC   1000

Definition at line 31 of file anc.h.

◆ NFILE

#define NFILE   2

Definition at line 24 of file anc.h.

◆ NPARMS

#define NPARMS   6

Definition at line 23 of file anc.h.

◆ null

#define null   '\0'

Definition at line 14 of file anc.h.

◆ OZONE

#define OZONE   4

Definition at line 20 of file anc.h.

◆ OZONE_LABEL

#define OZONE_LABEL   "Total Ozone"

Definition at line 45 of file anc.h.

◆ PARM_LABEL

#define PARM_LABEL   "Observations"

Definition at line 50 of file anc.h.

◆ PRESSURE

#define PRESSURE   2

Definition at line 18 of file anc.h.

◆ PRESSURE_LABEL

#define PRESSURE_LABEL   "Atmospheric Pressure"

Definition at line 43 of file anc.h.

◆ QC_LABEL

#define QC_LABEL   "QC flag"

Definition at line 49 of file anc.h.

◆ SDAY

#define SDAY   "Start Day"

Definition at line 53 of file anc.h.

◆ SMSEC

#define SMSEC   "Start Millisec"

Definition at line 54 of file anc.h.

◆ SPATIAL

#define SPATIAL   110

Definition at line 36 of file anc.h.

◆ SPATIAL_TEMPORAL

#define SPATIAL_TEMPORAL   112

Definition at line 37 of file anc.h.

◆ SWPT_LAT

#define SWPT_LAT   "SW Point Latitude"

Definition at line 65 of file anc.h.

◆ SWPT_LON

#define SWPT_LON   "SW Point Longitude"

Definition at line 66 of file anc.h.

◆ SYEAR

#define SYEAR   "Start Year"

Definition at line 52 of file anc.h.

◆ VSIZE

#define VSIZE   "Latitude Step"

Definition at line 59 of file anc.h.

◆ WIND_U

#define WIND_U   0

Definition at line 16 of file anc.h.

◆ WIND_U_LABEL

#define WIND_U_LABEL   "Zonal Wind"

Definition at line 41 of file anc.h.

◆ WIND_V

#define WIND_V   1

Definition at line 17 of file anc.h.

◆ WIND_V_LABEL

#define WIND_V_LABEL   "Meridional Wind"

Definition at line 42 of file anc.h.

Function Documentation

◆ dataintp_()

void dataintp_ ( float *  in_latlon,
float *  lat_list,
float *  lon_list,
float *  data_list1,
double *  DT1,
float *  data_list2,
double *  DT2,
int32_t *  ipt,
int32_t *  nband,
float(*)  [2],
float *  def,
int32_t *  intporder,
float *  dummy,
float *  dataout,
float *  unc,
int32_t *  int_bad,
int32_t *  row,
int32_t *  col 
)

◆ julian_()

void julian_ ( double *  dtin,
double *  d_jd 
)

◆ rdancattr()

int32_t rdancattr ( int32_t  sdfid,
char *  attr_name,
void *  buf 
)

Definition at line 121 of file HDFroutines.c.

Variable Documentation

◆ ERR_MSG

char ERR_MSG[1024]

Definition at line 119 of file extract_sub.c.