Add new fields XLAT_C and XLONG_C
[WPS-merge.git] / geogrid / util / plot_source / a.c
blob92472d15c91385a0f8c1f2a0feb2d206ffe98a75
1 #include <stdio.h>
3 #define N1 1200
5 int main(int argc, char ** argv)
7 FILE * a;
8 unsigned char * data;
9 int i, j;
10 int data1[N1*N1];
12 data = (unsigned char *)malloc(N1*N1);
13 a = fopen(argv[1],"r");
14 fread(data, 1, N1*N1, a);
15 fclose(a);
17 for(i=0; i<N1*N1; i++)
19 printf("%i\n", (int)(data[i]));
22 free(data);
24 return 0;