#include "MisrFileQuery.h"
#include "MisrUtil.h"
#include "MisrError.h"
#include <hdf.h>
#include <HdfEosDef.h>
#include <string.h>
Go to the source code of this file.
◆ MtkFileType()
Determine MISR product file type.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we determine the file type of the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status =
MtkFileType(
"MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", &filetype);
- Parameters
-
[in] | filename | File name |
[out] | filetype | File type |
Definition at line 37 of file MtkFileType.c.
◆ MtkFileTypeFid()
Version of MtkFileType that takes an HDF-EOS file identifier rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | Fid | HDF-EOS file identifier |
[out] | filetype | File type |
Definition at line 119 of file MtkFileType.c.
◆ MtkFileTypeHDF()
- Parameters
-
[in] | filename | File name |
[out] | filetype | File type |
Definition at line 83 of file MtkFileType.c.
◆ MtkFileTypeNC()
- Parameters
-
[in] | filename | File name |
[out] | filetype | File type |
Definition at line 49 of file MtkFileType.c.
◆ MtkFileTypeNcid()
- Parameters
-
[in] | ncid | netCDF file identifier |
[out] | filetype | File type |
Definition at line 266 of file MtkFileType.c.