read_stars function

read raster/array dataset from file or connection