I am trying to load an ESRI ArcGrid export file into R. The file is located at- ftp://ftp.epa.gov/castnet/tdep/grids/n_tw/n_tw-2013.zip. The documentation for this file states, "Gridded data of the above variables are available in compressed ESRI ArcGRID export files" and not much else. Link to documentation here. My major problem is that this is an
e00 file, an old output format of Arc.
The most straightforward way to load a raster normally (if this wasn't an
e00 file) would be:
require(raster) require(rgdal) test <- raster('/path/to/n_tw-2013.e00')
However, you will receive the error:
n_tw-2013.e00 not recognised as a supported file format..
RArcInfo package claims to be able to convert
.e00 files into more useful Arc/Info binary coverage. To do this:
require(RArcInfo) #first argument is the path to the e00 file, and the second argument is the new directory to create e00toavc('/path/to/n_tw-2013.e00','/path/to/test1')
When I run this command it prints
NULL, and creates two directories,
info, however, both are empty. I'm not sure whats going wrong here.
How do I get this loaded into R as a raster so I can extract data to my specific lat/long?
sessionInfo pasted here:
> sessionInfo() R version 3.2.2 (2015-08-14) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: CentOS release 6.7 (Final) locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8  LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods  base other attached packages:  rgdal_1.2-5 raster_2.5-8 sp_1.2-4 loaded via a namespace (and not attached):  tools_3.2.2 Rcpp_0.12.3 grid_3.2.2 lattice_0.20-33