GriddedSource Class

A gridded source is specifying a 2D grid of source values.

Use the UseGlobally to apply this boundary to all catchments overlapping the grid.

Specify explicitly the catchments that should use this grid in the CatchmentGriddedWeights. It is optional to provide the Weights, if not specified, weights are calculated automatically.

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class GriddedSource
Inheritance
Object    GriddedSource

Constructors

GriddedSourceInitializes a new instance of the GriddedSource class

Properties

BoundaryID ID of boundary
CatchmentGriddedWeights The catchments that uses this boundary. It also can hold the catchment weights, i.e. for each catchment specifying which cells in the grid that is inside the catchment, and a weight for calculation the average source contribution of all included cells.

If no weights are defined, only catchment ID's, weights will be calculated automatically

FilePath Path to 2D data
ItemIndex 0-based item index in time series file.
UseGlobally Flag specifying that this grid should be applied globally to all catchment and weights are calculated automatically.
ValueType Type of value in the time series. Set to null to use information stored in the grid file itself. If set to some value, it will override the information stored in the grid file.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

Rescale Rescale weights for all catchments that has weights defined.
(Defined by BoundaryExtensions)

See Also