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 
11 
12 #define BIP 0
13 #define BIL 1
14 #define BSQ 2
15 
16 #define DEG_TO_RAD .0174532925199432958
17 
18 #define BAD_FLT -32767.0
19 static const int itemSize = 500;
20 
21 double getValidAngle(double *ang, int32_t npix, int32_t skip);
22 int readBinScanLine_int2(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int interleave, int swap, FILE *ptr);
23 int readBinScanLine_float(float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr);
24 char* getinbasename(char *file);
25 char* getinbasename_av(char *file);
26 char* checkTagLine(char *line, char* tag);
27 char* checknspTagLine(char *line, char* tag);
28 void readNextLine_jpl(FILE* fp, char* tag, char* val);
29 void readWavInfo_jpl(FILE* fp, char* tag, char* val);
30 int swapc_bytes(char *in, int nbyte, int ntime);
31 void trimBlanks(char* str);
32 void getPosVec(float lat, float lon, float alt, double *pos);
33 
34 #endif /* SRC_L2GEN_JPLAERIALLIB_H_ */
int16 * gain
Definition: l1_czcs_hdf.c:33
char * getinbasename(char *file)
Definition: jplaeriallib.c:41
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
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
void readWavInfo_jpl(FILE *fp, char *tag, char *val)
Definition: jplaeriallib.c:65