#include "MisrFileQuery.h"
#include "MisrError.h"
#include <hdf.h>
#include <mfhdf.h>
Go to the source code of this file.
◆ MtkFileToOrbit()
Read orbit number from file.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we read the orbit number from the file
MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status =
MtkFileToOrbit(
"MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", &orbit);
- Parameters
-
[in] | filename | File name |
[out] | orbit | Orbit number |
Definition at line 35 of file MtkFileToOrbit.c.
◆ MtkFileToOrbitFid()
MTKt_status MtkFileToOrbitFid |
( |
int32 |
sd_id, |
|
|
int * |
orbit |
|
) |
| |
Version of MtkFileToOrbit 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] | orbit | Orbit number |
Definition at line 119 of file MtkFileToOrbit.c.
◆ MtkFileToOrbitHDF()
- Parameters
-
[in] | filename | File name |
[out] | orbit | Orbit number |
Definition at line 79 of file MtkFileToOrbit.c.
◆ MtkFileToOrbitNC()
- Parameters
-
[in] | filename | File name |
[out] | orbit | Orbit number |
Definition at line 46 of file MtkFileToOrbit.c.
◆ MtkFileToOrbitNcid()
MTKt_status MtkFileToOrbitNcid |
( |
int |
ncid, |
|
|
int * |
orbit |
|
) |
| |
- Parameters
-
[in] | ncid | netCDF File ID |
[out] | orbit | Orbit number |
Definition at line 143 of file MtkFileToOrbit.c.