[R-sig-Geo] Importing Netcdf files, but losing spatial reference data

Wall, Wade A ERDC-RDE-CERL-IL Wade.A.Wall at usace.army.mil
Thu May 7 23:15:05 CEST 2015


Hi all,

I am importing netcdf4 files using brick() from the raster package, but am losing the spatial reference data.

Example code.

tmpBrick <- brick("SomeNetcdfFile.nc")

Am I doing something wrong here? I would prefer not to use open.ncdf(), but if I have to do so and then convert to a brick object, then I guess I can do it.

Thanks for any information,

Wade



	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list