ARTS
2.4.0(git:4fb77825)
nc_io_instantiation.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
#ifndef nc_io_instantiation_h
32
#define nc_io_instantiation_h
33
34
#include <cfloat>
35
#include <stdexcept>
36
#include "
nc_io.h
"
37
#include "
nc_io_types.h
"
38
39
#define TMPL_NC_READ_WRITE_FILE(what) \
40
template void nca_write_to_file<what>( \
41
const String&, const what&, const Verbosity&); \
42
template void nca_read_from_file<what>( \
43
const String&, what&, const Verbosity&);
44
46
// Overloaded reading/writing routines for NetCDF streams
48
49
//=== Basic Types ==========================================================
50
51
TMPL_NC_READ_WRITE_FILE
(
Matrix
)
52
TMPL_NC_READ_WRITE_FILE
(
Tensor3
)
53
TMPL_NC_READ_WRITE_FILE
(
Tensor4
)
54
TMPL_NC_READ_WRITE_FILE
(
Tensor5
)
55
TMPL_NC_READ_WRITE_FILE
(
Vector
)
56
57
//=== Compound Types =======================================================
58
59
TMPL_NC_READ_WRITE_FILE
(
Agenda
)
60
TMPL_NC_READ_WRITE_FILE
(
GasAbsLookup
)
61
62
//=== Array Types ==========================================================
63
64
TMPL_NC_READ_WRITE_FILE
(
ArrayOfMatrix
)
65
TMPL_NC_READ_WRITE_FILE
(
ArrayOfVector
)
66
67
//==========================================================================
68
69
// Undefine the macro to avoid it being used anywhere else
70
#undef TMPL_NC_READ_WRITE_FILE
71
72
/*void
73
xml_parse_from_stream (istream&, Vector&, bifstream *, ArtsXMLTag&, const Verbosity&);
74
75
void
76
xml_read_from_stream (istream&, ArrayOfLineRecord&,
77
const Numeric, const Numeric, bifstream * = NULL,
78
const Verbosity&);
79
80
void
81
xml_parse_from_stream (istream&, ArrayOfString&, bifstream *, ArtsXMLTag&, const Verbosity&);*/
82
83
#endif
/* nc_io_instantiation_h */
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.
Tensor4
The Tensor4 class.
Definition:
matpackIV.h:421
nc_io_types.h
This file contains private function declarations and template instantiation to handle NetCDF data fil...
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
TMPL_NC_READ_WRITE_FILE
#define TMPL_NC_READ_WRITE_FILE(what)
Definition:
nc_io_instantiation.h:39
Tensor5
The Tensor5 class.
Definition:
matpackV.h:506
Vector
The Vector class.
Definition:
matpackI.h:860
src
nc_io_instantiation.h
Generated on Thu Oct 15 2020 08:53:03 for ARTS by
1.8.20