Closed jlapaijmans closed 1 year ago
With the patch mentioned above, I get:
> head(climate_locs)
ID latitude longitude time_bp time_bp_slice biome
1 361 64.48000 -162.1200 0 0 23
2 374 64.48000 -162.1200 0 0 23
3 443 64.48000 -162.1200 0 0 23
4 445 64.48000 -162.1200 0 0 23
5 871 59.60000 26.2000 0 0 8
6 942 70.00499 -144.7539 0 0 22
I checked a couple by hand, and they look correct.
Observed behaviour: biome becomes a float when
nn_interpol
is used on samples for which no climate is availableExample: floating_biomes.csv
When
nn_interpol
is disabled, NA is returned:Problem appears to be with samples in the sea rather than samples that are under ice although this may be coincidental: