OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
jplaeriallib.h
Go to the documentation of this file.
1 /*
2  * jplaeriallib.h
3  *
4  * Created on: Jun 12, 2015
5  * Author: rhealy
6  */
7 
8 #ifndef SRC_L2GEN_JPLAERIALLIB_H_
9 #define SRC_L2GEN_JPLAERIALLIB_H_
10 #include "l1_struc.h"
11 
12 
13 #define BIP 0
14 #define BIL 1
15 #define BSQ 2
16 
17 #define DEG_TO_RAD .0174532925199432958
18 
19 #define BAD_FLT -32767.0
20 static const int itemSize = 500;
21 
22 double getValidAngle(double *ang, int32_t npix, int32_t skip);
23 int readBinScanLine_int2(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int interleave, int swap, FILE *ptr);
24 int readBinScanLine_float(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr);
25 int readScanLine_jpl(l1str *l1rec, void* data, int32_t recnum);
26 char* getinbasename(char *file);
27 char* getinbasename_av(char *file);
28 char* checkTagLine(char *line, char* tag);
29 char* checknspTagLine(char *line, char* tag);
30 void readNextLine_jpl(FILE* fp, char* tag, char* val);
31 void readWavInfo_jpl(FILE* fp, char* tag, char* val);
32 int swapc_bytes(char *in, int nbyte, int ntime);
33 void trimBlanks(char* str);
34 void getPosVec(float lat, float lon, float alt, double *pos);
35 
36 #endif /* SRC_L2GEN_JPLAERIALLIB_H_ */
int16 * gain
Definition: l1_czcs_hdf.c:33
char * getinbasename(char *file)
Definition: jplaeriallib.c:41
read l1rec
void trimBlanks(char *str)
Definition: trimBlanks.c:10
void getPosVec(float lat, float lon, float alt, double *pos)
Definition: jplaeriallib.c:561
char * checknspTagLine(char *line, char *tag)
Definition: jplaeriallib.c:534
void readNextLine_jpl(FILE *fp, char *tag, char *val)
Definition: jplaeriallib.c:90
float32 * pos
Definition: l1_czcs_hdf.c:35
float * lat
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude resolving resolving GSFcd00179 Corrected handling of fill values for[Sensor|Solar][Zenith|Azimuth] resolving MODxl01751 Changed to validate LUT version against a value retrieved from the resolving MODxl02056 Changed to calculate Solar Diffuser angles without adjustment for estimated post launch changes in the MODIS orientation relative to incidentally resolving defects MODxl01766 Also resolves MODxl01947 Changed to ignore fill values in SCI_ABNORM and SCI_STATE rather than treating them as resolving MODxl01780 Changed to use spacecraft ancillary data to recognise when the mirror encoder data is being set by side A or side B and to change calculations accordingly This removes the need for seperate LUTs for Side A and Side B data it makes the new LUTs incompatible with older versions of the and vice versa Also resolves MODxl01685 A more robust GRing algorithm is being which will create a non default GRing anytime there s even a single geolocated pixel in a granule Removed obsolete messages from seed file
Definition: HISTORY.txt:413
int swapc_bytes(char *in, int nbyte, int ntime)
Definition: swapc_bytes.c:4
char * getinbasename_av(char *file)
Definition: jplaeriallib.c:17
int readBinScanLine_int2(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int interleave, int swap, FILE *ptr)
Definition: jplaeriallib.c:307
read recnum
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude data
Definition: HISTORY.txt:356
const char * str
Definition: l1c_msi.cpp:35
int32_t nbands
char * checkTagLine(char *line, char *tag)
Definition: jplaeriallib.c:433
float * lon
int readBinScanLine_float(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr)
Definition: jplaeriallib.c:371
double getValidAngle(double *ang, int32_t npix, int32_t skip)
Definition: jplaeriallib.c:423
msiBandIdx val
Definition: l1c_msi.cpp:34
int npix
Definition: get_cmp.c:27
int readScanLine_jpl(l1str *l1rec, void *data, int32_t recnum)
void readWavInfo_jpl(FILE *fp, char *tag, char *val)
Definition: jplaeriallib.c:65