MISR Toolkit  1.5.1
Macros | Functions
MtkReadL1B2.c File Reference
#include "MisrReadData.h"
#include "MisrFileQuery.h"
#include "MisrUtil.h"
#include "MisrError.h"
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <hdf.h>
#include <HdfEosDef.h>

Go to the source code of this file.

Macros

#define __USE_BSD
 

Functions

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

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 26 of file MtkReadL1B2.c.

Function Documentation

◆ MtkReadL1B2()

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

Reads, unpacks and unscales any L1B2 grid/field from a MISR L1B2 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 41 of file MtkReadL1B2.c.

◆ MtkReadL1B2Fid()

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

Version of MtkReadL1B2 that takes an HDF-EOS file identifier rather than a filename. MISR L1B2 product file.

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 81 of file MtkReadL1B2.c.


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