ARTS
2.2.66
nc_io_types.h
Go to the documentation of this file.
1
/* Copyright (C) 2003-2012 Oliver Lemke <olemke@core-dump.info>
2
3
This program is free software; you can redistribute it and/or modify it
4
under the terms of the GNU General Public License as published by the
5
Free Software Foundation; either version 2, or (at your option) any
6
later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16
USA. */
17
18
20
// File description
22
32
#ifdef ENABLE_NETCDF
33
34
#ifndef nc_io_types_h
35
#define nc_io_types_h
36
37
#include <stdexcept>
38
#include <cfloat>
39
#include "
nc_io.h
"
40
#include "
agenda_class.h
"
41
#include "
array.h
"
42
#include "
gas_abs_lookup.h
"
43
#include "
matpackVII.h
"
44
#include "
messages.h
"
45
46
47
#define TMPL_NC_READ_WRITE_FILE(what) \
48
void nca_write_to_file(const int, const what&, const Verbosity&); \
49
void nca_read_from_file(const int, what&, const Verbosity&);
50
51
53
// Overloaded reading/writing routines for NetCDF streams
55
56
//=== Basic Types ==========================================================
57
58
TMPL_NC_READ_WRITE_FILE
(
Matrix
)
59
TMPL_NC_READ_WRITE_FILE
(
Tensor3
)
60
TMPL_NC_READ_WRITE_FILE
(
Tensor4
)
61
TMPL_NC_READ_WRITE_FILE
(
Tensor5
)
62
TMPL_NC_READ_WRITE_FILE
(
Vector
)
63
64
//=== Compound Types =======================================================
65
66
TMPL_NC_READ_WRITE_FILE
(
Agenda
)
67
TMPL_NC_READ_WRITE_FILE
(
GasAbsLookup
)
68
69
//=== Array Types ==========================================================
70
71
TMPL_NC_READ_WRITE_FILE
(
ArrayOfMatrix
)
72
TMPL_NC_READ_WRITE_FILE
(
ArrayOfVector
)
73
74
//==========================================================================
75
76
// Undefine the macro to avoid it being used anywhere else
77
#undef TMPL_NC_READ_WRITE_FILE
78
79
#endif
/* nc_io_types_h */
80
81
#endif
/* ENABLE_NETCDF */
82
Matrix
The Matrix class.
Definition:
matpackI.h:788
Tensor3
The Tensor3 class.
Definition:
matpackIII.h:348
nc_io.h
This file contains basic functions to handle NetCDF data files.
TMPL_NC_READ_WRITE_FILE
#define TMPL_NC_READ_WRITE_FILE(what)
Definition:
nc_io_types.h:47
Tensor4
The Tensor4 class.
Definition:
matpackIV.h:383
array.h
This file contains the definition of Array.
Agenda
The Agenda class.
Definition:
agenda_class.h:44
GasAbsLookup
An absorption lookup table.
Definition:
gas_abs_lookup.h:46
Array< Matrix >
agenda_class.h
Declarations for agendas.
messages.h
Declarations having to do with the four output streams.
Tensor5
The Tensor5 class.
Definition:
matpackV.h:451
Vector
The Vector class.
Definition:
matpackI.h:556
gas_abs_lookup.h
Declarations for the gas absorption lookup table.
matpackVII.h
src
nc_io_types.h
Generated on Thu Oct 8 2020 12:59:31 for ARTS by
1.8.20