readasciigridheader: Function to read header information from an ASCII grid

View source: R/readasciigridheader.R

readasciigridheaderR Documentation

Function to read header information from an ASCII grid

Description

This function returns a list containing the header information from an ASCII grid.

Usage

readasciigridheader(path)

Arguments

path

the path of an ASCII grid on disk

Value

A list of the header information in the ASCII grid which explains the location and extent of the grid

nrow, ncol

Number of rows and columns in the grid

xll, yll

x and y coordinates of the lower left corner of the lower left cell in the grid

cellsize

The dimensions of each cell in the grid

na.value

The value used to store NA values in the grid.

Note

This function is used by readasciigrid.

Author(s)

Ethan Plunkett

See Also

readasciigrid, writeasciigrid

Examples

# readasciigrid("dem.asc")

ethanplunkett/gridprocess documentation built on Feb. 1, 2024, 2:24 a.m.