ecohealthalliance / wahis

Animal outbreak data scraped from the WAHIS database
Other
6 stars 0 forks source link

Add raster downloading functions #19

Closed noamross closed 3 years ago

noamross commented 3 years ago

Adds a function to download all rasters and another to process the files to a common resolution and projection

emmamendelsohn commented 3 years ago

I got a dependency error running transform_rasters(): Failed with error: 'there is no package called 'ncdf4'

After installing ncdf4 it worked as expected--should it be added as a dependency?

noamross commented 3 years ago

Ah, yes, just fixed. ncdf4 is required by raster to read NCDF files (which some of the rasters are formatted as), but is only a Suggests: for raster I think. I had installed in the Dockerfile but it should be here. Added.