Click or drag to resize

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.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.BoundaryModuleGriddedSource

Namespace:  DHI.Mike1D.BoundaryModule
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class GriddedSource

The GriddedSource type exposes the following members.

Constructors
  NameDescription
Public methodGriddedSource
Initializes a new instance of the GriddedSource class
Top
Properties
  NameDescription
Public propertyBoundaryID
ID of boundary
Public propertyCatchmentGriddedWeights
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

Public propertyFilePath
Path to 2D data
Public propertyItemIndex
0-based item index in time series file.
Public propertyUseGlobally
Flag specifying that this grid should be applied globally to all catchment and weights are calculated automatically.
Public propertyValueType
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.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodRescale
Rescale weights for all catchments that has weights defined.
(Defined by BoundaryExtensions.)
Top
See Also