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 =
default;
39 int format_constraint (
int *cor,
int *step,
int *edg);
41 libdap::BaseType *ptr_duplicate ()
override
43 return new HDFEOS2Array_RealField (*
this);
47 bool read ()
override;
66 std::string swathname;
69 std::string fieldname;
76 int write_dap_data_scale_comp( int32 gridid,
int nelms, std::vector<int32> &offset32,std::vector<int32> &count32,std::vector<int32> &step32);
77 int write_dap_data_disable_scale_comp( int32 gridid,
int nelms, int32 *offset32,int32*count32,int32*step32);
78 void release_mod1b_res(
float*ref_scale,
float*ref_offset,
float*rad_scale,
float*rad_offset);
79 void close_fileid(
const int gsfileid,
const int sdfileid)
const;