Displaying 2 results from an estimated 2 matches for "soil_weather_data".
2018 Mar 28
2
Fwd: netCDF to GeoTIFF by layer in r
Hi
I have a netCDF file of volumetric soil water content at four
different soil layers 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,...
2018 Mar 28
0
netCDF to GeoTIFF by layer in r
...gt; I have a netCDF file of volumetric soil water content at four
> different soil layers 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
> di...