92 if (hdf_status ==
FAIL)
100 hdf_status =
SDend(sd_id);
101 if (hdf_status ==
FAIL)
133 *orbit = metadata.
data.
i[0];
MTKt_status MtkFileCoreMetaDataGetFid(int32 sd_id, const char *param, MtkCoreMetaData *metadata)
Version of MtkFileCoreMetaDataGet that takes an HDF SD identifier rather than a filename.
MTKt_status MtkFileToOrbitNC(const char *filename, int *orbit)
MTKt_status MtkCoreMetaDataFree(MtkCoreMetaData *metadata)
Free core metadata.
EXTERNL int nc_get_att_int(int ncid, int varid, const char *name, int *ip)
#define MTK_ERR_CODE_JUMP(code)
HDFLIBAPI int32 SDstart(const char *name, int32 accs)
MTKt_status MtkFileToOrbitNcid(int ncid, int *orbit)
MTKt_status MtkFileToOrbitFid(int32 sd_id, int *orbit)
Version of MtkFileToOrbit that takes an HDF SD file identifier rather than a filename.
#define MTK_CORE_METADATA_INIT
MTKt_status MtkFileToOrbitHDF(const char *filename, int *orbit)
HDFLIBAPI intn SDend(int32 fid)
MTKt_status MtkFileToOrbit(const char *filename, int *orbit)
Read orbit number from file.
#define MTK_ERR_COND_JUMP(code)
EXTERNL int nc_close(int ncid)
EXTERNL int nc_open(const char *path, int mode, int *ncidp)