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

minor cleanups

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