### CLaRiNet 0.1 beta

- Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures
  - CreateCellTree — Builds a structure of type "CellTree" (linked list of pixels).
  - CreateConstantRaster — Creates a new raster having the same dimensions as an existing raster and initializes it to a constant.
  - CreateFloatRaster — .
  - CreateFlowDirFromBinary — Creates and initializes a flow direction grid from the content of a binary file.
  - CreateRasterFromBinary — Creates and initializes a single-precision floating-point raster from the content of a binary file.
  - CropFlowDir — Creates a new, cropped version of an existing flow direction grid
  - CropRaster — Creates a new, cropped version of an existing raster
  - DestroyCellTree — Destroys an existing cell tree
  - DestroyFloatRaster — Destroys an existing raster
  - DestroyFlowDirGrid — Destroys an existing flow direction grid
  - GetFloatRasterHeader — Gets the georeferencing header of an existing single-precision floating point raster.
  - GetFlowDirGridHeader — Gets the georeferencing header of an existing flow direction grid.
- Raster analysis
  - GetFlowDirValue — Gets the values of a flow direction grid at specified locations (records).
  - GetRasterValue — Gets the values of a raster at specified locations (records).
  - PutFlowDirValue — Puts values at specified locations (records) in an existing flow direction grid.
  - PutRasterValue — Puts values at specified locations (records) in an existing single-precision floating-point raster.
  - RasterCDF — Computes zonal quantiles in a raster
  - RasterCalculator — Performs pixel-wise operations between single-precision floating-point rasters.
  - SetRasterToConstant — Sets the value of all pixels in a raster to a constant
  - SetRasterToNODATA — Sets the value of all pixels of an existing raster to NODATA code
- Catchment identification and extraction
  - CreateAccumulationMap — Creates a flow accumulation based on the basis of a flow direction grid.
  - FlagCatchmentCells — Identifies all cells belonging to a (sub)catchment and flags them in an existing raster
  - GetCatchmentCells — Identifies all cells belonging to a (sub)catchment and returns them in a vector
- Ordering streams and traversing networks
  - FillAccumulationMap — Accumulates a quantity along the stream network in a catchment
  - FillDistanceMap — Computes along-stream distances to an outlet
  - FindNetworkTransition — Locates the cells verifying a transition criterion when moving downstream in a channel network.
  - MainBifurcationNode — Identifies the main bifurcation node (Moussa, 2008) in a catchment.
  - MakeStrahlerStreams — Extracts Strahler streams
  - MakeStreamLines — Builds the streamlines (set of polylines) of a drainage network with a specified support threshold area
  - SampleMainStream — Samples tributaries along the mainstream of a catchment.
  - StrahlerOrdering — Computes Strahler orders in a cell tree.
- Vectorization/Rasterization functions
  - XY2rec — Returns the record numbers of cells in a georeferenced grid, according to their XY coordinates.
  - rec2XY — Returns the X and Y coordinates corresponding to specified record numbers in a georeferenced grid.
- Exporting data
  - WriteFlowDirToFile — Writes an existing flow direction grid to a binary file.
  - WriteRasterToFile — Writes an existing single-precision floating-point raster to a binary file.