Open turbomam opened 5 years ago
Are they possibly in different projections? Raster will reproject the second argument to the raster if needed
I didn't do anything to ensure they used the same projection. Thanks for the suggestion. May not get a chance to try it out for a week or so,
I'm cross posting this from the GIS Stack Exchange: https://gis.stackexchange.com/questions/314950/all-geotiff-raster-values-na-after-converting-to-velox
I'm able to extract average tree cover values for each of the three small counties in the US State of Delaware, but I don't seem to have enough CPU or RAM to do the same thing for all counties in the US.
I'm getting my tree cover data from https://prd-tnm.s3.amazonaws.com/StagedProducts/Small-scale/data/LandCover/tree48i0100a.tif_nt00840.tar.gz. See also https://www.sciencebase.gov/catalog/item/581d0548e4b08da350d52653
So I have set up an R environment on a 64 GB AWS instance, and I'm trying to take advantage of the
velox
fast extraction. But all of the values I extract areNA
.What am I doing wrong?
UPDATE: I still get NAs even if I use the small polygon option
FWIW, I was able to replicate the [velox extract tutorial][2] and even modify it to get the night light intensity in the Delaware counties.
My attempt to extract tree cover in Delaware counties with velox: