Skip to content
Snippets Groups Projects
Commit 6e13003b authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

cats: reduce verbosity of raster projection warning

parent 0c0e7cb7
Branches
Tags
No related merge requests found
...@@ -171,13 +171,13 @@ void verify_raster_geometry(GDALDatasetH dataset, struct simulation_geometry *ge ...@@ -171,13 +171,13 @@ void verify_raster_geometry(GDALDatasetH dataset, struct simulation_geometry *ge
if (strcmp(projection, geometry->projection_string) != 0) { if (strcmp(projection, geometry->projection_string) != 0) {
enum cats_log_level ll; enum cats_log_level ll;
if (geometry->ignore_raster_projection) { if (geometry->ignore_raster_projection) {
ll = LOG_WARNING; ll = LOG_INFO;
} else { } else {
ll = LOG_ERROR; ll = LOG_ERROR;
errors += 1; errors += 1;
} }
log_message(ll, "GEOM: global projection string '%s' not equal to projection '%s", // log_message(ll, "GEOM: global projection string '%s' not equal to projection '%s'", geometry->projection_string, projection);
geometry->projection_string, projection); log_message(ll, "GEOM: projection mismatch with reference projection");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment