/* img_predict.h 23 February 2009, WHFS */ #include #include #include #include #include #include /* #include #include */ struct BLOCK_CONSTRAINT { int index; /* identifier for the constrained pixel */ int source_id; /* unique file number for the source of this value */ short int z; /* a depth or elevation value, neg below sea level */ short int s; /* combined H and V uncertainty in this z value */ }; int check_imgfile_size (char *filename, int *nx, int *ny); /* Uses "stat" to get the size of the file and initialize whether it is a 1 or 2 min img file and whether it goes to 72 or 81 latitutde. Returns 0 and sets nx and ny if file is a recognized size, else returns -1 */