+ if ((cell_size<0.0008) || (cell_size>0.0009))
+ {
+ printf("\n*** .BIL file's cell size is incompatible with SPLAT!!\n");
+ exit(1);
+ }
+
+ n=fscanf(fd,"%lf",°_west);
+ n=fscanf(fd,"%lf",°_west);
+ n=fscanf(fd,"%lf",°_west);
+
+ n=fscanf(fd,"%lf",°_west);
+
+ n=fscanf(fd,"%lf",°_north);
+
+ fclose(fd);
+ }
+
+ min_north=(int)(deg_north);
+ max_north=min_north+1;
+
+ if (deg_west<0.0)
+ deg_west=-deg_west;
+ else
+ deg_west=360.0-deg_west;
+
+ min_west=(int)(deg_west);
+
+ if (min_west==360)
+ min_west=0;
+
+ max_west=min_west+1;
+ }
+ }