forked from openwfm/convert_geotiff
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwrite_geogrid.h
24 lines (21 loc) · 1.06 KB
/
write_geogrid.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
#ifndef _WRITE_GEOGRID_H
#define _WRITE_GEOGRID_H
#ifdef __cplusplus
extern "C" {
#endif
int write_geogrid(
const float * rarray, /* The array to be written */
const int * nx, /* x-dimension of the array */
const int * ix, /* starting x-index of the tile */
const int * ny, /* y-dimension of the array */
const int * iy, /* starting y-index of the tile */
const int * nz, /* z-dimension of the array */
const int * bdr, /* tile border width */
const int * isigned, /* 0=unsigned data, 1=signed data */
const int * endian, /* 0=big endian, 1=little endian */
const float * scalefactor, /* value to divide array elements by before truncation to integers */
const int * wordsize ); /* number of bytes to use for each array element */
#ifdef __cplusplus
}
#endif
#endif