ocssw
V2022
|
get_cal_misc.c File Reference
#include "get_cal.h"
#include "getcal_proto.h"
#include "hdf4utils.h"
#include <hdf.h>
#include <mfhdf.h>
Include dependency graph for get_cal_misc.c:
Go to the source code of this file.
Functions | |
int32_t | get_ref_time (int32_t sdfid, int16_t *ref_year, int16_t *ref_day, int16_t *ref_min) |
int32_t | get_tindex (int32_t fid, int16_t syear, int16_t sday, int16_t eday, int32_t msec, int16_t *cal_year, int16_t *cal_day) |
int32_t | read_parm_data (int32_t fid, int32_t sdfid, int32_t index, int32_t idoffs[8][16], float gains[8][16], float fp_temps[256][8], float scan_mod[2][1285], double *tfactor_const, double *tfactor_linear_1, double *tfactor_exponential_1, double *tfactor_linear_2, double *tfactor_exponential_2, double *cal_offset, double *inst_tcorr, double *inst_tref, double *fp_tcorr, double *fp_tref, double *mside1_const, double *mside1_linear_1, double *mside1_exponential_1, double *mside1_linear_2, double *mside1_exponential_2, double *mside2_const, double *mside2_linear_1, double *mside2_exponential_1, double *mside2_linear_2, double *mside2_exponential_2, int16_t tdi_list[256][4]) |
void | calc_knees (int16_t *tdi, int16_t tdi_list[256][4], int32_t idoffs[8][16], float gains[8][16], float counts[8][4][5], float rads[8][4][5]) |
void | setup_scanmod (int32_t npix, int32_t nsta, int32_t ninc, float scan_mod[2][1285]) |
void | sort_srads (float *srads, int32_t *oindex) |
Function Documentation
◆ calc_knees()
void calc_knees | ( | int16_t * | tdi, |
int16_t | tdi_list[256][4], | ||
int32_t | idoffs[8][16], | ||
float | gains[8][16], | ||
float | counts[8][4][5], | ||
float | rads[8][4][5] | ||
) |
Definition at line 389 of file get_cal_misc.c.
◆ get_ref_time()
int32_t get_ref_time | ( | int32_t | sdfid, |
int16_t * | ref_year, | ||
int16_t * | ref_day, | ||
int16_t * | ref_min | ||
) |
Definition at line 73 of file get_cal_misc.c.
◆ get_tindex()
int32_t get_tindex | ( | int32_t | fid, |
int16_t | syear, | ||
int16_t | sday, | ||
int16_t | eday, | ||
int32_t | msec, | ||
int16_t * | cal_year, | ||
int16_t * | cal_day | ||
) |
Definition at line 130 of file get_cal_misc.c.
◆ read_parm_data()
int32_t read_parm_data | ( | int32_t | fid, |
int32_t | sdfid, | ||
int32_t | index, | ||
int32_t | idoffs[8][16], | ||
float | gains[8][16], | ||
float | fp_temps[256][8], | ||
float | scan_mod[2][1285], | ||
double * | tfactor_const, | ||
double * | tfactor_linear_1, | ||
double * | tfactor_exponential_1, | ||
double * | tfactor_linear_2, | ||
double * | tfactor_exponential_2, | ||
double * | cal_offset, | ||
double * | inst_tcorr, | ||
double * | inst_tref, | ||
double * | fp_tcorr, | ||
double * | fp_tref, | ||
double * | mside1_const, | ||
double * | mside1_linear_1, | ||
double * | mside1_exponential_1, | ||
double * | mside1_linear_2, | ||
double * | mside1_exponential_2, | ||
double * | mside2_const, | ||
double * | mside2_linear_1, | ||
double * | mside2_exponential_1, | ||
double * | mside2_linear_2, | ||
double * | mside2_exponential_2, | ||
int16_t | tdi_list[256][4] | ||
) |
Definition at line 285 of file get_cal_misc.c.
◆ setup_scanmod()
void setup_scanmod | ( | int32_t | npix, |
int32_t | nsta, | ||
int32_t | ninc, | ||
float | scan_mod[2][1285] | ||
) |
Definition at line 478 of file get_cal_misc.c.
◆ sort_srads()
void sort_srads | ( | float * | srads, |
int32_t * | oindex | ||
) |
Definition at line 517 of file get_cal_misc.c.