readStarsLayer: Read a raster file into a 'stars' object

View source: R/readStarsLayer.R

readStarsLayerR Documentation

Read a raster file into a stars object

Description

This function reads a raster from a dsn and creates a stars object (using read_stars).

Usage

readStarsLayer(dsns, driver = character(0), curvilinear = character(0))

Arguments

dsns
  • data source(s) name (interpretation varies by driver)

driver
  • (optional) RGDAL driver to use to read raster layer

curvilinear
  • (optional) length two character vector with names of sub-datasets holding longitude and latitude values for all raster cells

Details

The function uses read_stars to read the raster from the dsns.

Value

a stars object.


wStockhausen/wtsGIS documentation built on Aug. 23, 2023, 2:31 a.m.