search for: importnetcdf

Displaying 2 results from an estimated 2 matches for "importnetcdf".

2018 Mar 28
0
netCDF to GeoTIFF by layer in r
...he > netCDF file to a GeoTIFF layer. This code converts the netCDF file to > one GeoTIFF layer, i.e. unclear which soil depth. > > file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc" > > file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21" > > importnetcdf <- raster(file.nc) > >> importnetcdf > class : RasterLayer > band : 1 (of 4 bands) > #the bands here are the four soil layers > dimensions : 16800, 43200, 725760000 (nrow, ncol, ncell) > resolution : 0.00833333, 0.00833333 (x, y) > extent : -1...
2018 Mar 28
2
Fwd: netCDF to GeoTIFF by layer in r
...and want to convert each soil layer in the netCDF file to a GeoTIFF layer. This code converts the netCDF file to one GeoTIFF layer, i.e. unclear which soil depth. file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc" file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21" importnetcdf <- raster(file.nc) > importnetcdf class : RasterLayer band : 1 (of 4 bands) #the bands here are the four soil layers dimensions : 16800, 43200, 725760000 (nrow, ncol, ncell) resolution : 0.00833333, 0.00833333 (x, y) extent : -180, 179.9998, -56, 83.99995 (xmin, xma...