#include "l1_ocm2_hdf.h"
#include "l1.h"
#include <mfhdf.h>
#include <allocate2d.h>
Go to the source code of this file.
◆ READ_GLBL_ATTR
#define READ_GLBL_ATTR |
( |
|
nam, |
|
|
|
ptr |
|
) |
| |
Value: { \
if(SDreadattr(sd_id,SDfindattr(sd_id,(nam)),(VOIDP)(ptr))){ \
"-E- %s line %d: Could not get global attribute, %s.\n", \
__FILE__,__LINE__,(nam)); \
} \
}
Definition at line 16 of file l1_ocm2_hdf.c.
◆ READ_SDS
#define READ_SDS |
( |
|
nam, |
|
|
|
ptr, |
|
|
|
s0, |
|
|
|
s1, |
|
|
|
s2, |
|
|
|
e0, |
|
|
|
e1, |
|
|
|
e2 |
|
) |
| |
Value: { \
int32 edge[3]; \
edge[0]=(e0); edge[1]=(e1); edge[2]=(e2); \
if(SDreaddata(SDselect(sd_id, SDnametoindex(sd_id, (nam))), \
fprintf(
stderr,
"-E- %s line %d: Could not read SDS, %s.\n", \
__FILE__,__LINE__,(nam)); \
} \
}
Definition at line 24 of file l1_ocm2_hdf.c.
◆ closel1_ocm2_hdf()
int closel1_ocm2_hdf |
( |
filehandle * |
file | ) |
|
◆ interp_ocm2_geo()
void interp_ocm2_geo |
( |
int32 |
sd_id, |
|
|
int32 |
nx, |
|
|
int32 |
ny, |
|
|
char * |
sdsname, |
|
|
float32 ** |
geo |
|
) |
| |
◆ openl1_ocm2_hdf()
int openl1_ocm2_hdf |
( |
filehandle * |
file | ) |
|
◆ readl1_ocm2_hdf()
int readl1_ocm2_hdf |
( |
filehandle * |
file, |
|
|
int32_t |
scan, |
|
|
l1str * |
l1rec |
|
) |
| |