dmna.grid {readmet}R Documentation

read (horizontal) grid definition from a file in DMNA-format

Description

Files in DMNA format contain gridded data. The header provides information on the grid definition. This function extracts the horizontal grid definition ans provides a list that may be supplied directly to function write.arcgrid. DMNA is used for example by the German national dispersion model AUSTAL.

Usage

dmna.grid(file)

Arguments

file

name (and path if necessary) of the file to read

Value

returns a list of character. List entries are:

xlen

number of cells in x direction

ylen

number of cells in y direction

xll

easting of the lower left (i.e. southwest) corner

yll

northing of the lower left (i.e. southwest) corner

delta

grid node spacing

Note

This function was added in version 1.3.0.

Author(s)

Clemens Druee

References

AUSTAL 3.1 model reference (by Ingenieurbuero Janicke)

Examples

dmna.grid(system.file("extdata", "example-grid.dmna", package="readmet"))

[Package readmet version 1.7.1 Index]