ocssw
V2022
|
put_l2brs.c File Reference
#include "l2brsgen.h"
#include <get_product_table.h>
#include <math.h>
#include <strings.h>
#include <png.h>
#include <setupflags.h>
#include <hdf.h>
Include dependency graph for put_l2brs.c:
Go to the source code of this file.
Functions | |
int32 | put_l2brs (char *l2brs_path, char *replaces, char *ptime, char *infiles, int32 px_start, int32 px_end, int32 px_subsamp, int32 brs_nsamp, int32 sc_start, int32 sc_end, int32 sc_subsamp, int32 brs_nrec, char *l2brs_name, float32 *l2brs_data, int32 *l2brs_flags, char *flag_names, char *flaguse, unsigned char *palette, float32 *px_ll_first, float32 *px_ll_last, float32 *sc_ll_first, float32 *sc_ll_last, char *proc_con, int16 syear, int16 sday, int32 smsec, int16 eyear, int16 eday, int32 emsec, char *dtype, int32 nrec, int32 nsamp, int32 ntilts, short *tilt_flags, int16 *tilt_ranges, int16 *cntl_pt_lat, int16 *cntl_pt_lon, meta_l2Type *meta_l2, product_table_t *ptable_rec, const char *oformat, int32 apply_pal) |
void | write_attrs (int32 sdfid, char *l2brs_path, char *replaces, char *ptime, char *infiles, int32 px_start, int32 px_end, int32 px_subsamp, int32 brs_nsamp, int32 sc_start, int32 sc_end, int32 sc_subsamp, int32 brs_nrec, char *l2brs_name, char *proc_con, int16 syear, int16 sday, int32 smsec, int16 eyear, int16 eday, int32 emsec, char *dtype, int32 nrec, int32 nsamp, meta_l2Type *meta_l2) |
int32 | write_image (char *l2brs_path, unsigned char *l2brs_data, int32 brs_nsamp, int32 brs_nrec, unsigned char *palette) |
int32 | write_SDS (int32 sdfid, char *label, int32 ntype, int32 rank, int32 *dimsizes, int32 *start, void *buf) |
int32 | write_nav_sets (int32 fid, int32 sdfid, int32 brs_nrec, int32 brs_nsamp, int16 *cntl_pt_lat, int16 *cntl_pt_lon) |
int32 | write_tilt_sets (int32 fid, int32 sdfid, int32 ntilts, short *tilt_flags, int16 *tilt_ranges) |
Function Documentation
◆ put_l2brs()
int32 put_l2brs | ( | char * | l2brs_path, |
char * | replaces, | ||
char * | ptime, | ||
char * | infiles, | ||
int32 | px_start, | ||
int32 | px_end, | ||
int32 | px_subsamp, | ||
int32 | brs_nsamp, | ||
int32 | sc_start, | ||
int32 | sc_end, | ||
int32 | sc_subsamp, | ||
int32 | brs_nrec, | ||
char * | l2brs_name, | ||
float32 * | l2brs_data, | ||
int32 * | l2brs_flags, | ||
char * | flag_names, | ||
char * | flaguse, | ||
unsigned char * | palette, | ||
float32 * | px_ll_first, | ||
float32 * | px_ll_last, | ||
float32 * | sc_ll_first, | ||
float32 * | sc_ll_last, | ||
char * | proc_con, | ||
int16 | syear, | ||
int16 | sday, | ||
int32 | smsec, | ||
int16 | eyear, | ||
int16 | eday, | ||
int32 | emsec, | ||
char * | dtype, | ||
int32 | nrec, | ||
int32 | nsamp, | ||
int32 | ntilts, | ||
short * | tilt_flags, | ||
int16 * | tilt_ranges, | ||
int16 * | cntl_pt_lat, | ||
int16 * | cntl_pt_lon, | ||
meta_l2Type * | meta_l2, | ||
product_table_t * | ptable_rec, | ||
const char * | oformat, | ||
int32 | apply_pal | ||
) |
Definition at line 137 of file put_l2brs.c.
◆ write_attrs()
void write_attrs | ( | int32 | sdfid, |
char * | l2brs_path, | ||
char * | replaces, | ||
char * | ptime, | ||
char * | infiles, | ||
int32 | px_start, | ||
int32 | px_end, | ||
int32 | px_subsamp, | ||
int32 | brs_nsamp, | ||
int32 | sc_start, | ||
int32 | sc_end, | ||
int32 | sc_subsamp, | ||
int32 | brs_nrec, | ||
char * | l2brs_name, | ||
char * | proc_con, | ||
int16 | syear, | ||
int16 | sday, | ||
int32 | smsec, | ||
int16 | eyear, | ||
int16 | eday, | ||
int32 | emsec, | ||
char * | dtype, | ||
int32 | nrec, | ||
int32 | nsamp, | ||
meta_l2Type * | meta_l2 | ||
) |
Definition at line 466 of file put_l2brs.c.
◆ write_image()
int32 write_image | ( | char * | l2brs_path, |
unsigned char * | l2brs_data, | ||
int32 | brs_nsamp, | ||
int32 | brs_nrec, | ||
unsigned char * | palette | ||
) |
Definition at line 655 of file put_l2brs.c.
◆ write_nav_sets()
int32 write_nav_sets | ( | int32 | fid, |
int32 | sdfid, | ||
int32 | brs_nrec, | ||
int32 | brs_nsamp, | ||
int16 * | cntl_pt_lat, | ||
int16 * | cntl_pt_lon | ||
) |
Definition at line 756 of file put_l2brs.c.
◆ write_SDS()
int32 write_SDS | ( | int32 | sdfid, |
char * | label, | ||
int32 | ntype, | ||
int32 | rank, | ||
int32 * | dimsizes, | ||
int32 * | start, | ||
void * | buf | ||
) |
Definition at line 710 of file put_l2brs.c.
◆ write_tilt_sets()
int32 write_tilt_sets | ( | int32 | fid, |
int32 | sdfid, | ||
int32 | ntilts, | ||
short * | tilt_flags, | ||
int16 * | tilt_ranges | ||
) |
Definition at line 875 of file put_l2brs.c.