#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.
|
MTKt_status | MtkReadL2Land (const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo) |
| Reads, unpacks and unscales any L2 Land grid/field from a MISR L2 AS Land product file. More...
|
|
MTKt_status | MtkReadL2LandNC (const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo) |
|
MTKt_status | MtkReadL2LandHDF (const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo) |
|
MTKt_status | MtkReadL2LandFid (int32 fid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo) |
| Version of MtkReadL2Land that takes and HDF-EOS file identifier rather than a filename. More...
|
|
MTKt_status | MtkReadL2LandNcid (int ncid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo) |
|
◆ _GNU_SOURCE
◆ MtkReadL2Land()
Reads, unpacks and unscales any L2 Land grid/field from a MISR L2 AS Land product file.
- Returns
- MTK_SUCCESS if successful.
- Special Note
- Typically this function is not called directly. Instead use MtkReadData().
- Parameters
-
[in] | filename | File name |
[in] | gridname | Grid name |
[in] | fieldname | Field name |
[in] | region | Region |
[out] | databuf | Data buffer |
[out] | mapinfo | Mapinfo |
Definition at line 39 of file MtkReadL2Land.c.
◆ MtkReadL2LandFid()
Version of MtkReadL2Land that takes and HDF-EOS file identifier rather than a filename.
- Returns
- MTK_SUCCESS if successful.
- Parameters
-
[in] | fid | HDF-EOS file identifier |
[in] | gridname | Grid name |
[in] | fieldname | Field name |
[in] | region | Region |
[out] | databuf | Data buffer |
[out] | mapinfo | Mapinfo |
Definition at line 132 of file MtkReadL2Land.c.
◆ MtkReadL2LandHDF()
- Parameters
-
[in] | filename | File name |
[in] | gridname | Grid name |
[in] | fieldname | Field name |
[in] | region | Region |
[out] | databuf | Data buffer |
[out] | mapinfo | Mapinfo |
Definition at line 93 of file MtkReadL2Land.c.
◆ MtkReadL2LandNC()
- Parameters
-
[in] | filename | File name |
[in] | gridname | Grid name |
[in] | fieldname | Field name |
[in] | region | Region |
[out] | databuf | Data buffer |
[out] | mapinfo | Mapinfo |
Definition at line 55 of file MtkReadL2Land.c.
◆ MtkReadL2LandNcid()
- Parameters
-
[in] | ncid | netCDF file identifier |
[in] | gridname | Grid name |
[in] | fieldname | Field name |
[in] | region | Region |
[out] | databuf | Data buffer |
[out] | mapinfo | Mapinfo |
Definition at line 474 of file MtkReadL2Land.c.