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

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

MTKt_status MtkReadL2TCCloud (const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
 Reads, unpacks and unscales TC_CLOUD grid/fields from a MISR L2 TC_CLOUD product file. More...
 
MTKt_status MtkReadL2TCCloudFid (int32 fid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
 Version of MtkReadL2TCCloud that takes and HDF-EOS file identifier rather than a filename. More...
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 18 of file MtkReadL2TCCloud.c.

Function Documentation

◆ MtkReadL2TCCloud()

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

Reads, unpacks and unscales TC_CLOUD grid/fields from a MISR L2 TC_CLOUD 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 39 of file MtkReadL2TCCloud.c.

◆ MtkReadL2TCCloudFid()

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

Version of MtkReadL2TCCloud that takes and 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 78 of file MtkReadL2TCCloud.c.


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