<< CreateConstantRaster Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures CreateFlowDirFromBinary >>

CLaRiNet 0.1 beta >> Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures > CreateFloatRaster

CreateFloatRaster

.

Calling Sequence

handle_ras = CreateFloatRaster ( ncols , nrows , cellsize , xll , yll , NODATA_value , LL [, name] )

Arguments

ncols

integer: number of columns (X-dimension) of the raster

nrows

integer: number of rows (Y-dimension) of the raster

cellsize

float

xll

flaot: X coordinate of the lower-left pixel. If LL = 0, then xll is itself the coordinate of the lower-left corner of this pixel (xllcorner) ; if LL = 1, it is the coordinate of the center of this pixel (xllcenter).

yll

float: Y coordinate of the lower-left pixel. If LL = 0, then yll is itself the coordinate of the lower-left corner of this pixel (yllcorner) ; if LL = 1, it is the coordinate of the center of this pixel (yllcenter).

NODATA_value

float

LL

character string: 'corner' or 'center', specifying the convention for referencing the lower-left pixel (x/y/llcorner or x/y/llcenter).

Name

optional: character string

handle_ras

integer: handle on the newly created raster

Description

Allocates a single-precision floating point raster (FloatRaster structure) with specified dimensions and georeferencing.

Returns a handle on the object created.

Examples

See Also

Authors

<< CreateConstantRaster Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures CreateFlowDirFromBinary >>