MagicForrest / DGVMTools

R package for processing, analysing and visualising ouput from Dynamic Global Vegetation Models (DGVMs)
GNU General Public License v3.0
26 stars 22 forks source link

Spatial comparison: warnings and others #30

Closed antonycastro closed 5 years ago

antonycastro commented 5 years ago

Dear MagicForrest,

I write to you today because I want to compare Brienen datapoints with my simulation output. I am facing several warnings and don´t know if I can trust the output. Thus I attach you the case for guidance in a .zip file.

When I type the following commands, the output of each command looks different than the other:

print(plotSpatial(field, layers = layer.comp1))
print(plotSpatial(cmass.year.mean, layers = layer.lpj))

… And each of them displays the following error: Warning messages: 1: In f(...) : Raster pixels are placed at uneven horizontal intervals and will be shifted. Consider using geom_tile() instead. 2: In f(...) : Raster pixels are placed at uneven vertical intervals and will be shifted. Consider using geom_tile() instead.

What does it means? Is the output reliable?

… Moreover, when I compare those two field layers with the following commands: print(vegC.comparison ) print(plotSpatialComparison(vegC.comparison)) print(plotSpatialComparison(vegC.comparison, type = "values")) print(plotScatterComparison(vegC.comparison))

… the third one, for example, makes one think that DGVMTools is comparing identical coordinates. Is that true? If not, what is it comparing and/or how could I reach my goal of comparing the most matching coordinates in both fields?

Magic_forest.zip

antonycastro commented 5 years ago

Dear MagicForrest,

please disregard this issue. With your comments from other issues, I managed to understand better this situation.

Kind regards, Antony