OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDFEOS2ArrayMissField.h
Go to the documentation of this file.
1 // This file is part of the hdf4 data handler for the OPeNDAP data server.
3 // It retrieves the missing "third-dimension" values of the HDF-EOS2 Grid.
4 // Some third-dimension coordinate variable values are not provided.
5 // What we do here is to provide natural number series(1,2,3, ...) for
6 // these missing values. It doesn't make sense to visualize or analyze
7 // with vertical cross-section. One can check the data level by level.
8 // Authors: MuQun Yang <myang6@hdfgroup.org>
9 // Copyright (c) 2009 The HDF Group
11 
12 #ifdef USE_HDFEOS2_LIB
13 #ifndef HDFEOS2ARRAY_MISSFIELD_H
14 #define HDFEOS2ARRAY_MISSFIELD_H
15 
16 #include "Array.h"
17 using namespace libdap;
18 
19 class HDFEOS2ArrayMissGeoField:public Array
20 {
21  public:
22  HDFEOS2ArrayMissGeoField (int rank, int tnumelm, const std::string & n = "", BaseType * v = 0):
23  Array (n, v), rank (rank), tnumelm (tnumelm) {
24  }
25  virtual ~ HDFEOS2ArrayMissGeoField ()
26  {
27  }
28 
29  // Standard way to pass the coordinates of the subsetted region from the client to the handlers
30  int format_constraint (int *cor, int *step, int *edg);
31 
32  BaseType *ptr_duplicate ()
33  {
34  return new HDFEOS2ArrayMissGeoField (*this);
35  }
36 
37  virtual bool read ();
38 
39  private:
40 
41  // Field array rank
42  int rank;
43 
44  // Total number of elements
45  int tnumelm;
46 };
47 
48 
49 #endif
50 #endif
static class NCMLUtil overview