9#ifndef HDFEOS2ARRAY_REALFIELD_H
10#define HDFEOS2ARRAY_REALFIELD_H
12#include <libdap/Array.h>
18#include "HDFEOS2EnumType.h"
21class HDFEOS2Array_RealField:
public libdap::Array
24 HDFEOS2Array_RealField (
int rank,
const std::string & filename,
bool isgeofile,
const int sdfd,
const int gridswathfd,
const std::string & gridname,
const std::string & swathname,
const std::string & fieldname, SOType sotype,
const std::string & n =
"", libdap::BaseType * v =
nullptr):
32 swathname (swathname),
33 fieldname (fieldname),
36 ~ HDFEOS2Array_RealField ()
override
41 int format_constraint (
int *cor,
int *step,
int *edg);
43 libdap::BaseType *ptr_duplicate ()
override
45 return new HDFEOS2Array_RealField (*
this);
49 bool read ()
override;
68 std::string swathname;
71 std::string fieldname;
78 int write_dap_data_scale_comp( int32 gridid,
int nelms, std::vector<int32> &offset32,std::vector<int32> &count32,std::vector<int32> &step32);
79 int write_dap_data_disable_scale_comp( int32 gridid,
int nelms, int32 *offset32,int32*count32,int32*step32);
80 void release_mod1b_res(
float*ref_scale,
float*ref_offset,
float*rad_scale,
float*rad_offset);
81 void close_fileid(
const int gsfileid,
const int sdfileid);
void close_fileid(hid_t fid)