35#include <libdap/Grid.h>
43#include "FONcBaseType.h"
68 explicit FONcGrid(libdap::BaseType *b);
72 virtual void define(
int ncid)
override;
73 virtual void write(
int ncid)
override;
75 string name()
override;
81 static FONcMap * InMaps(libdap::Array *array);
A DAP Array with file out netcdf information included.
FONcGrid(libdap::BaseType *b)
Constructor for FONcGrid that takes a DAP Grid.
virtual ~FONcGrid()
Destructor that cleans up the grid.
virtual void define(int ncid) override
define the DAP Grid in the netcdf file
virtual void convert(vector< string > embed, bool _dap4, bool is_dap4_group) override
convert the DAP Grid to a set of embedded variables
string name() override
returns the name of the DAP Grid
static vector< FONcMap * > Maps
global list of maps that could be shared amongst the different grids
virtual void write(int ncid) override
Write the maps and array for the grid.
static bool InGrid
tells whether we are converting or defining a grid.
virtual void dump(ostream &strm) const override
dumps information about this object for debugging purposes
A map of a DAP Grid with file out netcdf information included.