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

minor cleanups

parent 8f2e3aeb
No related branches found
No related tags found
No related merge requests found
...@@ -42,10 +42,9 @@ ...@@ -42,10 +42,9 @@
#include "plants/seeds.h" #include "plants/seeds.h"
#include "stats/grid_stats.h" #include "stats/grid_stats.h"
#include "logging.h"
#include "gdal_load.h" #include "gdal_load.h"
#include "grid_setup.h" #include "grid_setup.h"
#include "../../memory/cats_memory.h" #include "memory/cats_memory.h"
#include "misc/cats_random.h" #include "misc/cats_random.h"
#ifdef USEMPI #ifdef USEMPI
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <cpl_string.h> #include <cpl_string.h>
#include "data/cats_grid.h" #include "data/cats_grid.h"
#include "configuration/configuration.h" #include "configuration/configuration.h"
#include "logging.h"
#include "paths/paths.h" #include "paths/paths.h"
#include "gdal_load.h" #include "gdal_load.h"
#include "overlays/overlays.h" #include "overlays/overlays.h"
...@@ -141,7 +140,6 @@ void load_gdal_data(const struct raster_load_wrapper *data) ...@@ -141,7 +140,6 @@ void load_gdal_data(const struct raster_load_wrapper *data)
double nodata = GDALGetRasterNoDataValue(band, &have_nodata); double nodata = GDALGetRasterNoDataValue(band, &have_nodata);
if (have_nodata) { if (have_nodata) {
log_message(LOG_INFO, "\t'%s': found nodata value %f ", data->filename, nodata); log_message(LOG_INFO, "\t'%s': found nodata value %f ", data->filename, nodata);
} }
double orig = nodata; double orig = nodata;
...@@ -189,7 +187,7 @@ void load_gdal_data(const struct raster_load_wrapper *data) ...@@ -189,7 +187,7 @@ void load_gdal_data(const struct raster_load_wrapper *data)
val = NAN; val = NAN;
} }
data->target_environment[r][c] = val; data->target_environment[r][c] = (cats_dt_environment) val;
} }
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment