#include "MisrFileQuery.h"
#include "MisrError.h"
#include "MisrUtil.h"
#include <hdf.h>
Go to the source code of this file.
◆ MtkFileCoreMetaDataRaw()
Read core metadata from a MISR product file into a buffer.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we read the core metadata from the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
- Note
- The caller is responsible for using free() to free the memory used by
coremeta
- Parameters
-
[in] | filename | File name |
[out] | coremeta | Core metadata |
Definition at line 38 of file MtkFileCoreMetaDataRaw.c.
◆ MtkFileCoreMetaDataRawFid()
MTKt_status MtkFileCoreMetaDataRawFid |
( |
int32 |
sds_id, |
|
|
char ** |
coremeta |
|
) |
| |
Version of MtkFileCoreMetaDataRaw that takes an HDF SD file identifier rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | sds_id | HDF SD file identifier |
[out] | coremeta | Core metadata |
Definition at line 125 of file MtkFileCoreMetaDataRaw.c.
◆ MtkFileCoreMetaDataRawHDF()
MTKt_status MtkFileCoreMetaDataRawHDF |
( |
const char * |
filename, |
|
|
char ** |
coremeta |
|
) |
| |
◆ MtkFileCoreMetaDataRawNC()
MTKt_status MtkFileCoreMetaDataRawNC |
( |
const char * |
filename, |
|
|
char ** |
coremeta |
|
) |
| |
◆ MtkFileCoreMetaDataRawNcid()
MTKt_status MtkFileCoreMetaDataRawNcid |
( |
int |
ncid, |
|
|
char ** |
coremeta |
|
) |
| |