#include "MisrFileQuery.h"
#include "MisrError.h"
#include <hdf.h>
#include <mfhdf.h>
Go to the source code of this file.
◆ MtkFileToPath()
Read path number from file.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we read the path number from the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status =
MtkFileToPath(
"MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", &path);
- Parameters
-
[in] | filename | File name |
[out] | path | Path number |
Definition at line 35 of file MtkFileToPath.c.
◆ MtkFileToPathFid()
Version of MtkFileToPath that takes an HDF SD identifier rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | sid | HDF SD file identifier |
[out] | path | Path number |
Definition at line 117 of file MtkFileToPath.c.
◆ MtkFileToPathHDF()
- Parameters
-
[in] | filename | File name |
[out] | path | Path number |
Definition at line 79 of file MtkFileToPath.c.
◆ MtkFileToPathNC()
- Parameters
-
[in] | filename | File name |
[out] | path | Path number |
Definition at line 46 of file MtkFileToPath.c.
◆ MtkFileToPathNcid()
- Parameters
-
[in] | ncid | HDF SD file identifier |
[out] | path | Path number |
Definition at line 144 of file MtkFileToPath.c.