MISR Toolkit  1.5.1
Functions
MtkFileCoreMetaDataRaw.c File Reference
#include "MisrFileQuery.h"
#include "MisrError.h"
#include "MisrUtil.h"
#include <hdf.h>

Go to the source code of this file.

Functions

MTKt_status MtkFileCoreMetaDataRaw (const char *filename, char **coremeta)
 Read core metadata from a MISR product file into a buffer. More...
 
MTKt_status MtkFileCoreMetaDataRawNC (const char *filename, char **coremeta)
 
MTKt_status MtkFileCoreMetaDataRawHDF (const char *filename, char **coremeta)
 
MTKt_status MtkFileCoreMetaDataRawFid (int32 sds_id, char **coremeta)
 Version of MtkFileCoreMetaDataRaw that takes an HDF SD file identifier rather than a filename. More...
 
MTKt_status MtkFileCoreMetaDataRawNcid (int ncid, char **coremeta)
 

Function Documentation

◆ MtkFileCoreMetaDataRaw()

MTKt_status MtkFileCoreMetaDataRaw ( const char *  filename,
char **  coremeta 
)

Read core metadata from a MISR product file into a buffer.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we read the core metadata from the file MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf
status = MtkFileCoreMetaDataRaw("MISR_AM1_GRP_TERRAIN_GM_P161_O012115_DF_F03_0021.hdf", &coremeta);
Note
The caller is responsible for using free() to free the memory used by coremeta
Parameters
[in]filenameFile name
[out]coremetaCore metadata

Definition at line 38 of file MtkFileCoreMetaDataRaw.c.

◆ MtkFileCoreMetaDataRawFid()

MTKt_status MtkFileCoreMetaDataRawFid ( int32  sds_id,
char **  coremeta 
)

Version of MtkFileCoreMetaDataRaw that takes an HDF SD file identifier rather than a filename.

Returns
MTK_SUCCESS if successful.
Parameters
[in]sds_idHDF SD file identifier
[out]coremetaCore metadata

Definition at line 125 of file MtkFileCoreMetaDataRaw.c.

◆ MtkFileCoreMetaDataRawHDF()

MTKt_status MtkFileCoreMetaDataRawHDF ( const char *  filename,
char **  coremeta 
)
Parameters
[in]filenameFile name
[out]coremetaCore metadata

Definition at line 84 of file MtkFileCoreMetaDataRaw.c.

◆ MtkFileCoreMetaDataRawNC()

MTKt_status MtkFileCoreMetaDataRawNC ( const char *  filename,
char **  coremeta 
)
Parameters
[in]filenameFile name
[out]coremetaCore metadata

Definition at line 50 of file MtkFileCoreMetaDataRaw.c.

◆ MtkFileCoreMetaDataRawNcid()

MTKt_status MtkFileCoreMetaDataRawNcid ( int  ncid,
char **  coremeta 
)
Parameters
[in]ncidnetCDF File ID
[out]coremetaCore metadata

Definition at line 173 of file MtkFileCoreMetaDataRaw.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53