Closed dasalm20 closed 4 days ago
The cropland function has the same issue. So any other function that uses the same system to read in the rasters, will have the the issue.
Dear @DianaJaganjac and @ifeanyi588,
I do not think the issue has to do with the API because it downloads a raster. The issues seems to be when using the temporary directory.
Hi Daylan, I have fixed this for both elevation and cropland.
Dear @DianaJaganjac and @ifeanyi588,
I tried testing elevation but it seems like it is not properly reading the rasters. I get an error message :
Error in raster_objs[[1]] : subscript out of bounds
When I debugged, the issue might be between lines 836- 854 of geolink_mach.R . The tif image is downloaded but when the function tries to list the files in the temp directory, it returns an empty object.
Best, Daylan