Learn R Programming

geotopbricks (version 1.5.3)

read.ascii.vectorized.brick: Read a text file containing values and matedata of a z-layer brick referred to a time instant (e.g. date). The file is formatted like an ascii format like 'geotop.inpts' file.

Description

Read a text file containing values and matedata of a z-layer brick referred to a time instant (e.g. date). The file is formatted like an ascii format like 'geotop.inpts' file.

Usage

read.ascii.vectorized.brick(file = NULL, comment = "!", crs = "",
  NAflag = -9999, matlab.syntax = FALSE, ...)

Arguments

file

file name to write

comment

character. Comment indicator. Default is "!".

crs

Character or object of class CRS. PROJ4 type description of a Coordinate Reference System (map projection) (optional). See brick or raster.

NAflag

numeric. Dafauli is -9999, see writeRasterxGEOtop.

matlab.syntax

logical value. Default is FALSE. If TRUE the file syntax is like the one of a *.m Matlab script file.

...

further aguments inserted as attribute

Value

the RasterBrick-class object

See Also

write.ascii.vectorized.brick

Examples

Run this code
# NOT RUN {
# see the examples of read.ascii.vectorized.brick
# }

Run the code above in your browser using DataLab