RAVE
cartesian_cf_io.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2017 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of RAVE.
5
6RAVE is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11RAVE is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with RAVE. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
26#ifndef CARTESIAN_CF_IO_H
27#define CARTESIAN_CF_IO_H
28#include "rave_object.h"
29#include "cartesian.h"
30#include "cartesianvolume.h"
31#include "netcdf.h"
32
37
42
51
58
67
76int CartesianCfIO_write(CartesianCfIO_t* self, const char* filename, RaveCoreObject* obj);
77
78#endif /* CARTESIAN_ODIM_IO_H */
Defines the functions available when working with cartesian products.
RaveCoreObject * CartesianCfIO_read(CartesianCfIO_t *self, const char *filename)
Reads a netcdf file store in CF convention and sets the data in the resulting object.
RaveCoreObjectType CartesianCfIO_TYPE
Type definition to use when creating a rave object.
Definition cartesian_cf_io.c:1362
int CartesianCfIO_getDeflateLevel(CartesianCfIO_t *self)
Returns the level of compression.
Definition cartesian_cf_io.c:1289
int CartesianCfIO_write(CartesianCfIO_t *self, const char *filename, RaveCoreObject *obj)
Writes a netcdf file in CF convention format.
Definition cartesian_cf_io.c:1300
int CartesianCfIO_setDeflateLevel(CartesianCfIO_t *self, int level)
Sets the level of compression.
Definition cartesian_cf_io.c:1279
Defines the functions available when working with cartesian volumes.
Generic implementation of an object that is used within rave.
Represents the adaptor.
Definition cartesian_cf_io.c:80
The basic raveobject that contains the header information for all rave objects.
Definition rave_object.h:42
The rave object type definition.
Definition rave_object.h:52