OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1czcs.h File Reference
#include "hdf.h"
#include "mfhdf.h"
Include dependency graph for l1czcs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BIT_FLD_1_TYPE
 
struct  LINE_TYPE_LONG
 
struct  LINE_TYPE_SHORT
 
struct  HEADER2_TYPE
 
struct  BIT_FLD_2_TYPE
 
struct  VOLTAGE_STEP
 
struct  DATA_REC_TYPE
 
struct  HEADER1_TYPE
 
struct  l1_data_struc
 
struct  gattr_struc
 
struct  timqual_struc
 
struct  mstr_struc
 

Macros

#define NCZCS_PIX   1968
 

Functions

int main (int, char *[])
 
int read_crtt (char *, gattr_struc *, l1_data_struc *)
 
void get_record_info (HEADER1_TYPE, short *, short *, short *, short *, short *)
 
short reverse_short_int (short)
 
int32_t reverse_long_int (int32_t)
 
void hdr_2_gattr (HEADER2_TYPE, gattr_struc *)
 
float fixed_pt_2_floating_pt (int, int)
 
int czcs_l1_write (char *, l1_data_struc, gattr_struc)
 
int create_global_attribute (char *, int, gattr_struc)
 
int create_band_sds (int, int, unsigned char *[], int, int)
 
void czcs_ctl_pt (DATA_REC_TYPE, gattr_struc *, int, l1_data_struc *)
 
void lonlat_ (float[], float[], float[], float[])
 
void lladjust_ (float *, float *, float *, float *, float[], float[], float[])
 
void satang_ (double *, double *, float *, float *, float *, float *, float *, float *, float *, float *)
 
void sunangs_ (int *, int *, float *, float *, float *, float *, float *)
 
int time_str (short, short, int, char *)
 
void cz_ll_upd (l1_data_struc *, gattr_struc *)
 
int wrt_czcs_sla (int32, int32, int, l1_data_struc)
 
int wrt_czcs_qual (int32, int32, int, l1_data_struc)
 
int32 set_czcs_ctl_data (int32, int32, gattr_struc, l1_data_struc)
 
int cz_clean (gattr_struc *, l1_data_struc *)
 
int read_file_list (char *, char **, int)
 
void usage (char *)
 
void olap_resolve (mstr_struc *, int, int, int, int)
 
void fill_mstr (int *, mstr_struc *, timqual_struc *, int, int, int)
 
int cztimqual (char *, timqual_struc *, int *)
 
int cz_l1_read (char *, int, gattr_struc *, l1_data_struc *)
 
int cz_dat_alloc (int, int, int, l1_data_struc *)
 
void cz_dat_free (l1_data_struc *, int)
 
int cz_mov_scn (int, int, char *, mstr_struc *, int, int, gattr_struc *, l1_data_struc *)
 
void cz_meta_adj (l1_data_struc *, gattr_struc *)
 
void cz_sd_set (l1_data_struc *, gattr_struc *)
 
int fill_orb_dat (l1_data_struc *l1_data, gattr_struc *gattr)
 

Macro Definition Documentation

◆ NCZCS_PIX

#define NCZCS_PIX   1968

Definition at line 23 of file l1czcs.h.

Function Documentation

◆ create_band_sds()

int create_band_sds ( int  ,
int  ,
unsigned char *  [],
int  ,
int   
)

Definition at line 425 of file czcs_l1_write.c.

◆ create_global_attribute()

int create_global_attribute ( char *  ,
int  ,
gattr_struc   
)

Definition at line 102 of file czcs_l1_write.c.

◆ cz_clean()

int cz_clean ( gattr_struc *  ,
l1_data_struc *   
)

Definition at line 3 of file cz_clean.c.

◆ cz_dat_alloc()

int cz_dat_alloc ( int  ,
int  ,
int  ,
l1_data_struc *   
)

Definition at line 3 of file cz_dat_alloc.c.

◆ cz_dat_free()

void cz_dat_free ( l1_data_struc *  ,
int   
)

Definition at line 106 of file cz_dat_alloc.c.

◆ cz_l1_read()

int cz_l1_read ( char *  ,
int  ,
gattr_struc *  ,
l1_data_struc *   
)

Definition at line 4 of file cz_l1_read.c.

◆ cz_ll_upd()

void cz_ll_upd ( l1_data_struc *  ,
gattr_struc *   
)

Definition at line 3 of file cz_ll_upd.c.

◆ cz_meta_adj()

void cz_meta_adj ( l1_data_struc *  ,
gattr_struc *   
)

Definition at line 4 of file cz_meta_adj.c.

◆ cz_mov_scn()

int cz_mov_scn ( int  ,
int  ,
char *  ,
mstr_struc *  ,
int  ,
int  ,
gattr_struc *  ,
l1_data_struc *   
)

Definition at line 4 of file cz_mov_scn.c.

◆ cz_sd_set()

void cz_sd_set ( l1_data_struc *  ,
gattr_struc *   
)

Definition at line 3 of file cz_sd_set.c.

◆ czcs_ctl_pt()

void czcs_ctl_pt ( DATA_REC_TYPE  ,
gattr_struc *  ,
int  ,
l1_data_struc *   
)

Definition at line 7 of file czcs_ctl_pt.c.

◆ czcs_l1_write()

int czcs_l1_write ( char *  ,
l1_data_struc  ,
gattr_struc   
)

Definition at line 8 of file czcs_l1_write.c.

◆ cztimqual()

int cztimqual ( char *  ,
timqual_struc *  ,
int *   
)

Definition at line 3 of file cztimqual.c.

◆ fill_mstr()

void fill_mstr ( int *  ,
mstr_struc *  ,
timqual_struc *  ,
int  ,
int  ,
int   
)

Definition at line 3 of file fill_mstr.c.

◆ fill_orb_dat()

int fill_orb_dat ( l1_data_struc *  l1_data,
gattr_struc *  gattr 
)

Definition at line 27 of file fill_orb_dat.c.

◆ fixed_pt_2_floating_pt()

float fixed_pt_2_floating_pt ( int  ,
int   
)

Definition at line 211 of file read_crtt.c.

◆ get_record_info()

void get_record_info ( HEADER1_TYPE  ,
short *  ,
short *  ,
short *  ,
short *  ,
short *   
)

Definition at line 227 of file read_crtt.c.

◆ hdr_2_gattr()

void hdr_2_gattr ( HEADER2_TYPE  ,
gattr_struc *   
)

Definition at line 4 of file hdr_2_gattr.c.

◆ lladjust_()

void lladjust_ ( float *  ,
float *  ,
float *  ,
float *  ,
float  [],
float  [],
float  [] 
)

◆ lonlat_()

void lonlat_ ( float  [],
float  [],
float  [],
float  [] 
)

◆ main()

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

An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.nosp@m..gan.nosp@m.tz@gl.nosp@m.obal.nosp@m.star..nosp@m.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.

Minor modifications to the code were made to eliminate deprecation warnings

Definition at line 30 of file afrt_nc4.cpp.

◆ olap_resolve()

void olap_resolve ( mstr_struc *  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 3 of file olap_resolve.c.

◆ read_crtt()

int read_crtt ( char *  ,
gattr_struc *  ,
l1_data_struc *   
)

Definition at line 11 of file read_crtt.c.

◆ read_file_list()

int read_file_list ( char *  ,
char **  ,
int   
)

◆ reverse_long_int()

int32_t reverse_long_int ( int32_t  )

Definition at line 284 of file read_crtt.c.

◆ reverse_short_int()

short reverse_short_int ( short  )

Definition at line 267 of file read_crtt.c.

◆ satang_()

void satang_ ( double *  ,
double *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *   
)

◆ set_czcs_ctl_data()

int32 set_czcs_ctl_data ( int32  ,
int32  ,
gattr_struc  ,
l1_data_struc   
)

Definition at line 21 of file set_czcs_ctl_data.c.

◆ sunangs_()

void sunangs_ ( int *  ,
int *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *   
)

◆ time_str()

int time_str ( short  ,
short  ,
int  ,
char *   
)

Definition at line 3 of file time_str.c.

◆ usage()

void usage ( char *  )

Definition at line 381 of file main_biosmap.c.

◆ wrt_czcs_qual()

int wrt_czcs_qual ( int32  ,
int32  ,
int  ,
l1_data_struc   
)

Definition at line 6 of file wrt_czcs_qual.c.

◆ wrt_czcs_sla()

int wrt_czcs_sla ( int32  ,
int32  ,
int  ,
l1_data_struc   
)

Definition at line 6 of file wrt_czcs_sla.c.