dcstoreraster: Store a raster into the datacube

Description Usage Arguments Value

View source: R/storeRaster.R

Description

This function stores a raster grid file as blob into the datacube

Usage

1
dcstoreraster(gridfile, obj, kv)

Arguments

gridfile

filename of the raster grid file

obj

objectname of the blob

kv

meta data key-value pairs

desc

blob object description

Value

the meta data of the blob object

This a wrapper function around link{grid2tif} and link{pgblobs::createBlob}. It first converts the raster file into a GeoTIFF file and then stores the GeoTIFF file into the datacube. The GeoTIFF file is not removed from the data directory

please not that this function results in an error if the blob object allready exists.


jspijker/datacube documentation built on Oct. 26, 2019, 4:30 p.m.