GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72248
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
filecompare.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster3d.h>
Include dependency graph for filecompare.c:

Go to the source code of this file.

Functions

void Rast3d_compare_files (const char *f1, const char *mapset1, const char *f2, const char *mapset2)
 Compares the cell-values of file f1 in mapset mapset1 and file f2 in mapset mapset2. The values are compared up to precision. Terminates in error if the files don't match. This function uses the more advanced features of the cache. The source code can be found in filecompare.c. More...
 

Function Documentation

void Rast3d_compare_files ( const char *  f1,
const char *  mapset1,
const char *  f2,
const char *  mapset2 
)

Compares the cell-values of file f1 in mapset mapset1 and file f2 in mapset mapset2. The values are compared up to precision. Terminates in error if the files don't match. This function uses the more advanced features of the cache. The source code can be found in filecompare.c.

Parameters
f1
mapset1
f2
mapset2
Returns
void

Definition at line 364 of file filecompare.c.

References FCELL_TYPE, NULL, Rast3d_autolock_on(), Rast3d_close(), Rast3d_coord2tile_coord(), Rast3d_fatal_error(), Rast3d_get_coords_map(), Rast3d_get_nof_tiles_map(), Rast3d_get_tile_dimensions_map(), Rast3d_get_value_region(), Rast3d_is_null_value_num(), Rast3d_min_unlocked(), Rast3d_open_cell_old(), Rast3d_print_header(), Rast3d_tile_precision_map(), Rast3d_tile_type_map(), Rast3d_tile_use_cache_map(), Rast3d_unlock_all(), RASTER3D_DEFAULT_WINDOW, RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT, and x.