GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ Rast3d_compare_files()

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 NULL, Rast3d_fatal_error(), Rast3d_get_coords_map(), Rast3d_get_nof_tiles_map(), Rast3d_get_tile_dimensions_map(), Rast3d_open_cell_old(), Rast3d_print_header(), Rast3d_tile_precision_map(), Rast3d_tile_type_map(), Rast3d_tile_use_cache_map(), RASTER3D_DEFAULT_WINDOW, RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT, and x.