ARTS
2.4.0(git:4fb77825)
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
19
// File description
21
31
#ifdef ENABLE_NETCDF
32
33
#ifndef nc_io_types_h
34
#define nc_io_types_h
35
36
#include <cfloat>
37
#include <stdexcept>
38
#include "
agenda_class.h
"
39
#include "
array.h
"
40
#include "
gas_abs_lookup.h
"
41
#include "
matpackVII.h
"
42
#include "
messages.h
"
43
#include "
nc_io.h
"
44
45
#define TMPL_NC_READ_WRITE_FILE(what) \
46
void nca_write_to_file(const int, const what&, const Verbosity&); \
47
void nca_read_from_file(const int, what&, const Verbosity&);
48
50
// Overloaded reading/writing routines for NetCDF streams
52
53
//=== Basic Types ==========================================================
54
55
TMPL_NC_READ_WRITE_FILE
(
Matrix
)
56
TMPL_NC_READ_WRITE_FILE
(
Tensor3
)
57
TMPL_NC_READ_WRITE_FILE
(
Tensor4
)
58
TMPL_NC_READ_WRITE_FILE
(
Tensor5
)
59
TMPL_NC_READ_WRITE_FILE
(
Vector
)
60
61
//=== Compound Types =======================================================
62
63
TMPL_NC_READ_WRITE_FILE
(
Agenda
)
64
TMPL_NC_READ_WRITE_FILE
(
GasAbsLookup
)
65
66
//=== Array Types ==========================================================
67
68
TMPL_NC_READ_WRITE_FILE
(
ArrayOfMatrix
)
69
TMPL_NC_READ_WRITE_FILE
(
ArrayOfVector
)
70
71
//==========================================================================
72
73
// Undefine the macro to avoid it being used anywhere else
74
#undef TMPL_NC_READ_WRITE_FILE
75
76
#endif
/* nc_io_types_h */
77
78
#endif
/* ENABLE_NETCDF */
Matrix
The Matrix class.
Definition:
matpackI.h:1193
Tensor3
The Tensor3 class.
Definition:
matpackIII.h:339
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:45
Tensor4
The Tensor4 class.
Definition:
matpackIV.h:421
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:45
Array
This can be used to make arrays out of anything.
Definition:
array.h:108
agenda_class.h
Declarations for agendas.
messages.h
Declarations having to do with the four output streams.
Tensor5
The Tensor5 class.
Definition:
matpackV.h:506
Vector
The Vector class.
Definition:
matpackI.h:860
gas_abs_lookup.h
Declarations for the gas absorption lookup table.
matpackVII.h
src
nc_io_types.h
Generated on Thu Oct 15 2020 08:53:03 for ARTS by
1.8.20