bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5CFProj1D.h
1
2// This file is part of the hdf5 data handler for the OPeNDAP data server.
3// This is to support the HDF-EOS5 grid for the default option.
4// The grid mapping variable is declared here.
6
7#ifndef HDF5CFPROJ1D_H
8#define HDF5CFPROJ1D_H
9
10#include <libdap/Array.h>
11#include "h5dmr.h"
12
13class HDF5CFProj1D:public libdap::Array
14{
15 public:
16 HDF5CFProj1D (double eos5_svalue, double eos5_evalue, int eos5_dim_size, const std::string & n = "", libdap::BaseType * v = nullptr):
17 libdap::Array(n, v), svalue (eos5_svalue),evalue(eos5_evalue),tnumelm(eos5_dim_size) {
18 }
19 ~ HDF5CFProj1D () override = default;
20
21 bool read() override;
22
23 libdap::BaseType *ptr_duplicate () override
24 {
25 return new HDF5CFProj1D (*this);
26 }
27
28 private:
29
30 // Start value
31 double svalue;
32
33 // End value
34 double evalue;
35
36 // Total number of elements
37 int tnumelm;
38
39 // Standard way to pass the coordinates of the subsetted region from the client to the handlers
40 int64_t format_constraint (int64_t *cor, int64_t *step, int64_t *edg);
41
42};
43
44
45#endif
Data structure and retrieval processing header for the default option.