I would like to load the following geospatial file in R: ftp://ftp.nodc.noaa.gov/pub/data.nodc/icoads/1930s/1930s/ICOADS_R3.0.0_1930-10.nc. The problem is that using the subsequent code I only obtain one dimension, even though I should obtain three:
require("raster")
require("ncdf4")
nc_data <- nc_open("ICOADS_R3.0.0_1930-10.nc")
id.array <- ncvar_get(nc_data, "ID")
dim(id.array)
How do I fix this?
Thank you for any comments and suggestions.