MISR Toolkit  1.5.1
MisrReadData.h
Go to the documentation of this file.
1 /*===========================================================================
2 = =
3 = MisrReadData =
4 = =
5 =============================================================================
6 
7  Jet Propulsion Laboratory
8  MISR
9  MISR Toolkit
10 
11  Copyright 2005, California Institute of Technology.
12  ALL RIGHTS RESERVED.
13  U.S. Government Sponsorship acknowledged.
14 
15 ============================================================================*/
16 
17 #ifndef MISRREADDATA_H
18 #define MISRREADDATA_H
19 
20 #include <MisrError.h>
21 #include <MisrSetRegion.h>
22 #include <MisrUtil.h>
23 
24 
25 MTKt_status MtkReadBlock( const char *filename,
26  const char *gridname,
27  const char *fieldname,
28  int block,
29  MTKt_DataBuffer *databuf );
30 
32  const char *gridname,
33  const char *fieldname,
34  int block,
35  MTKt_DataBuffer *databuf );
36 
38  const char *gridname,
39  const char *fieldname,
40  int block,
41  MTKt_DataBuffer *databuf );
42 
43 MTKt_status MtkReadBlockFid( int32 fid,
44  const char *gridname,
45  const char *fieldname,
46  int block,
47  MTKt_DataBuffer *databuf );
48 
50  const char *gridname,
51  const char *fieldname,
52  int block,
53  MTKt_DataBuffer *databuf );
54 
56  const char *gridname,
57  const char *fieldname,
58  int startblock,
59  int endblock,
60  MTKt_DataBuffer3D *databuf );
61 
63  const char *gridname,
64  const char *fieldname,
65  int startblock,
66  int endblock,
67  MTKt_DataBuffer3D *databuf );
68 
70  const char *gridname,
71  const char *fieldname,
72  int startblock,
73  int endblock,
74  MTKt_DataBuffer3D *databuf );
75 
77  const char *gridname,
78  const char *fieldname,
79  int startblock,
80  int endblock,
81  MTKt_DataBuffer3D *databuf );
82 
84  const char *gridname,
85  const char *fieldname,
86  int startblock,
87  int endblock,
88  MTKt_DataBuffer3D *databuf );
89 
90 MTKt_status MtkReadConv( const char *filename,
91  const char *gridname,
92  const char *fieldname,
93  MTKt_Region region,
94  MTKt_DataBuffer *databuf,
95  MTKt_MapInfo *mapinfo );
96 
97 MTKt_status MtkReadConvFid( int32 fid,
98  const char *gridname,
99  const char *fieldname,
100  MTKt_Region region,
101  MTKt_DataBuffer *databuf,
102  MTKt_MapInfo *mapinfo );
103 
104 MTKt_status MtkReadData( const char *filename,
105  const char *gridname,
106  const char *fieldname,
107  MTKt_Region region,
108  MTKt_DataBuffer *databuf,
109  MTKt_MapInfo *mapinfo );
110 
111 MTKt_status MtkReadDataHDF( const char *filename,
112  const char *gridname,
113  const char *fieldname,
114  MTKt_Region region,
115  MTKt_DataBuffer *databuf,
116  MTKt_MapInfo *mapinfo );
117 
118 MTKt_status MtkReadDataNC( const char *filename,
119  const char *gridname,
120  const char *fieldname,
121  MTKt_Region region,
122  MTKt_DataBuffer *databuf,
123  MTKt_MapInfo *mapinfo );
124 
125 MTKt_status MtkReadDataFid( int32 fid,
126  const char *gridname,
127  const char *fieldname,
128  MTKt_Region region,
129  MTKt_DataBuffer *databuf,
130  MTKt_MapInfo *mapinfo );
131 
132 MTKt_status MtkReadDataNcid( int ncid,
133  const char *gridname,
134  const char *fieldname,
135  MTKt_Region region,
136  MTKt_DataBuffer *databuf,
137  MTKt_MapInfo *mapinfo );
138 
139 MTKt_status MtkReadRaw( const char *filename,
140  const char *gridname,
141  const char *fieldname,
142  MTKt_Region region,
143  MTKt_DataBuffer *databuf,
144  MTKt_MapInfo *mapinfo );
145 
146 MTKt_status MtkReadRawNC( const char *filename,
147  const char *gridname,
148  const char *fieldname,
149  MTKt_Region region,
150  MTKt_DataBuffer *databuf,
151  MTKt_MapInfo *mapinfo );
152 
153 MTKt_status MtkReadRawHDF( const char *filename,
154  const char *gridname,
155  const char *fieldname,
156  MTKt_Region region,
157  MTKt_DataBuffer *databuf,
158  MTKt_MapInfo *mapinfo );
159 
160 MTKt_status MtkReadRawFid( int32 fid,
161  const char *gridname,
162  const char *fieldname,
163  MTKt_Region region,
164  MTKt_DataBuffer *databuf,
165  MTKt_MapInfo *mapinfo );
166 
167 MTKt_status MtkReadRawNcid( int ncid,
168  const char *gridname,
169  const char *fieldname,
170  MTKt_Region region,
171  MTKt_DataBuffer *databuf,
172  MTKt_MapInfo *mapinfo );
173 
174 MTKt_status MtkReadL1B2( const char *filename,
175  const char *gridname,
176  const char *fieldname,
177  MTKt_Region region,
178  MTKt_DataBuffer *databuf,
179  MTKt_MapInfo *mapinfo );
180 
181 MTKt_status MtkReadL1B2Fid( int32 Fid,
182  const char *gridname,
183  const char *fieldname,
184  MTKt_Region region,
185  MTKt_DataBuffer *databuf,
186  MTKt_MapInfo *mapinfo );
187 
188 MTKt_status MtkReadL2Land( const char *filename,
189  const char *gridname,
190  const char *fieldname,
191  MTKt_Region region,
192  MTKt_DataBuffer *databuf,
193  MTKt_MapInfo *mapinfo );
194 
196  const char *gridname,
197  const char *fieldname,
198  MTKt_Region region,
199  MTKt_DataBuffer *databuf,
200  MTKt_MapInfo *mapinfo );
201 
203  const char *gridname,
204  const char *fieldname,
205  MTKt_Region region,
206  MTKt_DataBuffer *databuf,
207  MTKt_MapInfo *mapinfo );
208 
209 MTKt_status MtkReadL2LandFid( int32 fid,
210  const char *gridname,
211  const char *fieldname,
212  MTKt_Region region,
213  MTKt_DataBuffer *databuf,
214  MTKt_MapInfo *mapinfo );
215 
217  const char *gridname,
218  const char *fieldname,
219  MTKt_Region region,
220  MTKt_DataBuffer *databuf,
221  MTKt_MapInfo *mapinfo );
222 
224  const char *gridname,
225  const char *fieldname,
226  MTKt_Region region,
227  MTKt_DataBuffer *databuf,
228  MTKt_MapInfo *mapinfo );
229 
231  const char *gridname,
232  const char *fieldname,
233  MTKt_Region region,
234  MTKt_DataBuffer *databuf,
235  MTKt_MapInfo *mapinfo );
236 
237 #endif /* MISRREADDATA_H */
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.
MTKt_status MtkReadRawNC(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadRaw.c:99
char * filename
Definition: cdjpeg.h:133
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.
Definition: MtkReadConv.c:37
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.
Definition: MtkReadConv.c:76
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.
Map Information.
Definition: MisrMapQuery.h:65
MTKt_status MtkReadBlockRangeFid(int32 fid, const char *gridname, const char *fieldname, int startblock, int endblock, MTKt_DataBuffer3D *databuf)
Version of MtkReadBlockRange that takes an HDF-EOS file identifier rather than a filename.
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.
2-dimensional Data Buffer
Definition: MisrUtil.h:98
MTKt_status MtkReadBlockNcid(int ncid, const char *gridname, const char *fieldname, int block, MTKt_DataBuffer *databuf)
Definition: MtkReadBlock.c:220
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.
Definition: MtkReadL1B2.c:81
MTKt_status MtkReadDataNcid(int ncid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Version of MtkReadData that takes a netCDF file identifier rather than a filename.
Definition: MtkReadData.c:261
MTKt_status MtkReadL2LandNcid(int ncid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
3-dimensional Data Buffer
Definition: MisrUtil.h:129
MTKt_status MtkReadBlockRangeNC(const char *filename, const char *gridname, const char *fieldname, int startblock, int endblock, MTKt_DataBuffer3D *databuf)
MTKt_status MtkReadBlockHDF(const char *filename, const char *gridname, const char *fieldname, int block, MTKt_DataBuffer *databuf)
Definition: MtkReadBlock.c:103
MTKt_status MtkReadBlockFid(int32 fid, const char *gridname, const char *fieldname, int block, MTKt_DataBuffer *databuf)
Version of MtkReadBlock that takes an HDF-EOS file identifier rather than a filename.
Definition: MtkReadBlock.c:141
MTKt_status MtkReadData(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Reads any grid/field from any MISR product file and performs unpacking or unscaling. It also reads any MISR conventional product file.
Definition: MtkReadData.c:62
MTKt_status MtkReadDataHDF(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadData.c:78
MTKt_status MtkReadBlock(const char *filename, const char *gridname, const char *fieldname, int block, MTKt_DataBuffer *databuf)
Read block of data.
Definition: MtkReadBlock.c:51
MTKt_status MtkReadRawNcid(int ncid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Version of MtkReadRaw that takes an HDF-EOS file identifier rather than a filename.
Definition: MtkReadRaw.c:248
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.
Definition: MtkReadL1B2.c:41
MTKt_status MtkReadRawHDF(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadRaw.c:65
MTKt_status MtkReadBlockRangeNcid(int ncid, const char *gridname, const char *fieldname, int startblock, int endblock, MTKt_DataBuffer3D *databuf)
MTKt_status MtkReadRawFid(int32 fid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Version of MtkReadRaw that takes an HDF-EOS file identifier rather than a filename.
Definition: MtkReadRaw.c:141
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...
Definition: MtkReadL2Land.c:39
MTKt_status
Definition: MisrError.h:11
MTKt_status MtkReadL2LandHDF(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadL2Land.c:93
MTKt_status MtkReadBlockNC(const char *filename, const char *gridname, const char *fieldname, int block, MTKt_DataBuffer *databuf)
Definition: MtkReadBlock.c:66
Region of interest.
Definition: MisrSetRegion.h:41
MTKt_status MtkReadBlockRange(const char *filename, const char *gridname, const char *fieldname, int startblock, int endblock, MTKt_DataBuffer3D *databuf)
Read range of blocks of data into a 3-dimensional array.
MTKt_status MtkReadBlockRangeHDF(const char *filename, const char *gridname, const char *fieldname, int startblock, int endblock, MTKt_DataBuffer3D *databuf)
MTKt_status MtkReadDataNC(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadData.c:113
MTKt_status MtkReadDataFid(int32 fid, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Version of MtkReadData that takes an HDF-EOS file identifier rather than a filename.
Definition: MtkReadData.c:157
MTKt_status MtkReadRaw(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Reads any native grid/field from a MISR product file without unpacking or unscaling.
Definition: MtkReadRaw.c:49
MTKt_status MtkReadL2LandNC(const char *filename, const char *gridname, const char *fieldname, MTKt_Region region, MTKt_DataBuffer *databuf, MTKt_MapInfo *mapinfo)
Definition: MtkReadL2Land.c:55

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