RAVE
lazy_dataset.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2020- 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 LAZY_DATASET_H_
27#define LAZY_DATASET_H_
28#include "rave_object.h"
29#include "rave_types.h"
30#include "rave_data2d.h"
31#include "rave_alloc.h"
32#include "rave_list.h"
33#include "rave_attribute.h"
34#include "lazy_nodelist_reader.h"
35
40
45
55
60
61long LazyDataset_getXsize(LazyDataset_t* self);
62
63long LazyDataset_getYsize(LazyDataset_t* self);
64
65RaveDataType LazyDataset_getDataType(LazyDataset_t* self);
66
67const char* LazyDataset_getNodeName(LazyDataset_t* self);
68#endif /* LAZY_DATASET_H_ */
RaveCoreObjectType LazyDataset_TYPE
Type definition to use when creating a rave object.
Definition lazy_dataset.c:136
RaveData2D_t * LazyDataset_get(LazyDataset_t *self)
Load the data upon request.
Definition lazy_dataset.c:103
int LazyDataset_init(LazyDataset_t *self, LazyNodeListReader_t *reader, const char *nodename)
Initializes this object with the reader and the name of the node to fetch.
Definition lazy_dataset.c:73
Allocation routines for keeping track on memory.
Used for keeping track on attributes.
Represents a 2-dimensional data array.
Implementation of a simple list.
Generic implementation of an object that is used within rave.
Type definitions for RAVE.
RaveDataType
Different data types that are supported during transformation.
Definition rave_types.h:130
Represents one lazy dataset.
Definition lazy_dataset.c:37
char * nodename
name of the node to fetch from reader
Definition lazy_dataset.c:40
RAVE_OBJECT_HEAD LazyNodeListReader_t * reader
Always on top.
Definition lazy_dataset.c:39
Represents the lazy nodelist loader.
Definition lazy_nodelist_reader.c:21
Represents a date time instance.
Definition rave_data2d.c:38
The rave object type definition.
Definition rave_object.h:52