#include "MisrFileQuery.h"
#include "MisrError.h"
#include <string.h>
#include <mfhdf.h>
Go to the source code of this file.
◆ MtkFileVersion()
Determine MISR product file version.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we read the file version from the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status =
MtkFileVersion(
"MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", fileversion);
- Parameters
-
[in] | filename | File name |
[out] | fileversion | File version |
Definition at line 35 of file MtkFileVersion.c.
◆ MtkFileVersionFid()
MTKt_status MtkFileVersionFid |
( |
int32 |
sd_id, |
|
|
char * |
fileversion |
|
) |
| |
Version of MtkFileVersion that takes an HDF SD file identifier rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | sd_id | HDF SD file identifier |
[out] | fileversion | File version |
Definition at line 122 of file MtkFileVersion.c.
◆ MtkFileVersionHDF()
- Parameters
-
[in] | filename | File name |
[out] | fileversion | File version |
Definition at line 81 of file MtkFileVersion.c.
◆ MtkFileVersionNC()
- Parameters
-
[in] | filename | File name |
[out] | fileversion | File version |
Definition at line 47 of file MtkFileVersion.c.
◆ MtkFileVersionNcid()
MTKt_status MtkFileVersionNcid |
( |
int |
ncid, |
|
|
char * |
fileversion |
|
) |
| |
- Parameters
-
[in] | ncid | netCDF File ID |
[out] | fileversion | File version |
Definition at line 162 of file MtkFileVersion.c.