MISR Toolkit  1.5.1
Functions
MtkReadConv.c File Reference
#include "MisrReadData.h"
#include "MisrCoordQuery.h"
#include "MisrMapQuery.h"
#include "MisrFileQuery.h"
#include "MisrUtil.h"
#include "MisrError.h"
#include <mfhdf.h>
#include <HdfEosDef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.

Functions

MTKt_status MtkReadConv (const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
 Reads any grid/field from a MISR conventional product file. More...
 
MTKt_status MtkReadConvFid (int32 fid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
 Version of MtkReadConv that takes an HDF-EOS file identifier rather than a filename. More...
 

Function Documentation

◆ MtkReadConv()

MTKt_status MtkReadConv ( const char *  filename,
const char *  gridname,
const char *  fieldname,
MTKt_Region  region,
MTKt_DataBuffer databuf,
MTKt_MapInfo mapinfo 
)

Reads any grid/field from a MISR conventional product file.

Returns
MTK_SUCCESS if successful.
Special Note
Typically this function is not called directly. Instead use MtkReadData().
Parameters
[in]filenameFile name
[in]gridnameGrid name
[in]fieldnameField name
[in]regionRegion
[out]databufData buffer
[out]mapinfoMapinfo

Definition at line 37 of file MtkReadConv.c.

◆ MtkReadConvFid()

MTKt_status MtkReadConvFid ( int32  fid,
const char *  gridname,
const char *  fieldname,
MTKt_Region  region,
MTKt_DataBuffer databuf,
MTKt_MapInfo mapinfo 
)

Version of MtkReadConv that takes an HDF-EOS file identifier rather than a filename.

Returns
MTK_SUCCESS if successful.
Parameters
[in]fidHDF-EOS file identifier
[in]gridnameGrid name
[in]fieldnameField name
[in]regionRegion
[out]databufData buffer
[out]mapinfoMapinfo

Definition at line 76 of file MtkReadConv.c.


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