bes
Updated for version 3.20.6
FONcGrid.h
1
// FONcGrid.h
2
3
// This file is part of BES Netcdf File Out Module
4
5
// Copyright (c) 2004,2005 University Corporation for Atmospheric Research
6
// Author: Patrick West <pwest@ucar.edu> and Jose Garcia <jgarcia@ucar.edu>
7
//
8
// This library is free software; you can redistribute it and/or
9
// modify it under the terms of the GNU Lesser General Public
10
// License as published by the Free Software Foundation; either
11
// version 2.1 of the License, or (at your option) any later version.
12
//
13
// This library is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// Lesser General Public License for more details.
17
//
18
// You should have received a copy of the GNU Lesser General Public
19
// License along with this library; if not, write to the Free Software
20
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
//
22
// You can contact University Corporation for Atmospheric Research at
23
// 3080 Center Green Drive, Boulder, CO 80301
24
25
// (c) COPYRIGHT University Corporation for Atmospheric Research 2004-2005
26
// Please read the full copyright statement in the file COPYRIGHT_UCAR.
27
//
28
// Authors:
29
// pwest Patrick West <pwest@ucar.edu>
30
// jgarcia Jose Garcia <jgarcia@ucar.edu>
31
32
#ifndef FONcGrid_h_
33
#define FONcGrid_h_ 1
34
35
#include <Grid.h>
36
37
using namespace
libdap
;
38
39
#include "FONcBaseType.h"
40
#include "FONcMap.h"
41
#include "FONcArray.h"
42
57
class
FONcGrid
:
public
FONcBaseType
{
58
private
:
59
Grid * _grid;
60
FONcArray
* _arr;
61
vector<FONcMap *> _maps;
62
public
:
63
FONcGrid
(BaseType *b);
64
virtual
~
FONcGrid
();
65
66
virtual
void
convert(vector<string> embed);
67
virtual
void
define(
int
ncid);
68
virtual
void
write(
int
ncid);
69
70
virtual
string
name();
71
72
virtual
void
dump(ostream &strm)
const
;
73
74
static
vector<FONcMap *>
Maps
;
75
static
FONcMap
* InMaps(Array *array);
76
static
bool
InGrid
;
77
};
78
79
#endif // FONcGrid_h_
80
FONcArray
A DAP Array with file out netcdf information included.
Definition:
FONcArray.h:54
FONcMap
A map of a DAP Grid with file out netcdf information included.
Definition:
FONcMap.h:52
FONcGrid::Maps
static vector< FONcMap * > Maps
global list of maps that could be shared amongst the different grids
Definition:
FONcGrid.h:74
libdap
Definition:
BESDapFunctionResponseCache.h:35
FONcBaseType
A DAP BaseType with file out netcdf information included.
Definition:
FONcBaseType.h:58
FONcGrid
A DAP Grid with file out netcdf information included.
Definition:
FONcGrid.h:57
FONcGrid::InGrid
static bool InGrid
tells whether we are converting or defining a grid.
Definition:
FONcGrid.h:76
modules
fileout_netcdf
FONcGrid.h
Generated by
1.8.17