#include "MisrFileQuery.h"
#include "MisrError.h"
#include <hdf.h>
Go to the source code of this file.
◆ MtkFileLGID()
Determine local granual ID of MISR product file.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we read the local granual ID from the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status =
MtkFileLGID(
"MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", &lgid);
- Note
- The caller is responsible for using free() to free the memory used by
lgid
- Parameters
-
[in] | filename | File name |
[out] | lgid | Local Granual ID |
Definition at line 37 of file MtkFileLGID.c.
◆ MtkFileLGIDFid()
MTKt_status MtkFileLGIDFid |
( |
int32 |
sds_id, |
|
|
char ** |
lgid |
|
) |
| |
Version of MtkFileLGID that takes an HDF SDS ID rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | sds_id | HDF SDS ID |
[out] | lgid | Local Granual ID |
Definition at line 129 of file MtkFileLGID.c.
◆ MtkFileLGIDHDF()
- Parameters
-
[in] | filename | File name |
[out] | lgid | Local Granual ID |
Definition at line 83 of file MtkFileLGID.c.
◆ MtkFileLGIDNC()
- Parameters
-
[in] | filename | File name |
[out] | lgid | Local Granual ID |
Definition at line 49 of file MtkFileLGID.c.
◆ MtkFileLGIDNcid()
- Parameters
-
[in] | ncid | netCDF file identifier |
[out] | lgid | Local Granual ID |
Definition at line 195 of file MtkFileLGID.c.