forked from gmcgarragh/seviri_util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
read_write_nat.h
36 lines (28 loc) · 1.23 KB
/
read_write_nat.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
*
* Copyright (C) 2014-2018 Greg McGarragh <[email protected]>
*
* This source code is licensed under the GNU General Public License (GPL),
* Version 3. See the file COPYING for more details.
*
******************************************************************************/
#ifndef READ_WRITE_NAT_H
#define READ_WRITE_NAT_H
#include "external.h"
#include "read_write.h"
#ifdef __cplusplus
extern "C" {
#endif
int seviri_get_dimens_nat(const char *filename, uint *i_line, uint *i_column,
uint *n_lines, uint *n_columns, enum seviri_bounds bounds,
uint line0, uint line1, uint column0, uint column1,
double lat0, double lat1, double lon0, double lon1);
int seviri_read_nat(const char *filename, struct seviri_data *d,
uint n_bands, const uint *band_ids, enum seviri_bounds bounds,
uint line0, uint line1, uint column0, uint column1,
double lat0, double lat1, double lon0, double lon1);
int seviri_write_nat(const char *filename, const struct seviri_data *d);
#ifdef __cplusplus
}
#endif
#endif /* READ_WRITE_NAT_H */