Click or drag to resize

DHI.Generic.MikeZero.DFS.dfs123 Namespace

Classes for reading and writing DFS1, DFS2 and DFS3 files.
Classes
  ClassDescription
Public classDfs123Builder
Common functionality for building dfs 1, 2 and 3 files.

Special for these files are that all their dynamic and static items use the same spatial axis.

The following must be set: SpatialAxis, TemporalAxis, DataType, Projection

Use the DfsFileFactory to create classes for setting.

Public classDfs123File
Abstract class, implementing common functionality for dfs1, dfs2 and dfs3 files.
Public classDfs1Builder
Builder for building dfs2 files. ///

The builder works in two stages. The first stage all header information and information of the dynamic items are provided. In the second stage static items are added. Then a dfs file is ready, and data for the dynamic items can be added.

To go from the first to the second stage by calling CreateFile(String), which will actually create a file on the disc.

To get the final file, call GetFile.

The following must be set during stage 1: SpatialAxis, TemporalAxis, DataType, Projection. Furthermore at least one dynamic item must be added.

Public classDfs1File
Dfs1 file class

Use the DfsFileFactory to open an existing dfs1 file.

Use the Dfs1Builder to create a new dfs1 file.

Public classDfs1Util
Utility and extension methods for Dfs1File
Public classDfs2Builder
Builder for building dfs2 files.

The builder works in two stages. The first stage all header information and information of the dynamic items are provided. In the second stage static items are added. Then a dfs file is ready, and data for the dynamic items can be added.

To go from the first to the second stage by calling CreateFile(String), which will actually create a file on the disc.

To get the final file, call GetFile.

The following must be set during stage 1: SpatialAxis, TemporalAxis, DataType, Projection

The SpatialAxis must be a 2D axis.

Use the DfsFileFactory to create classes to set.

Public classDfs2File
Dfs2 file class

Use the DfsFileFactory to open an existing dfs2 file.

Use the Dfs2Builder to create a new dfs2 file.

Public classDfs2Reprojector
Class for reprojecting a source dfs2 file in one coordinate system to a target dfs2 file in another coordinate system.

The source grid may not be a regular grid in the target coordinate system, so re-gridding and interpolation is necessary.

Public classDfs2Util
Utility and extension methods for Dfs2File
Public classDfs3Builder
Builder for building dfs3 files.

The builder works in two stages. The first stage all header information and information of the dynamic items are provided. In the second stage static items are added. Then a dfs file is ready, and data for the dynamic items can be added.

To get the final file, call GetFile.

To go from the first to the second stage by calling CreateFile(String), which will actually create a file on the disc.

The following must be set during stage 1: SpatialAxis, TemporalAxis, DataType, Projection

The SpatialAxis must be a 3D axis.

Use the DfsFileFactory to create classes to set.

Public classDfs3File
Dfs3 file class

Use the DfsFileFactory to open an existing dfs3 file.

Use the Dfs3Builder to create a new dfs3 file.

Public classDfs3Util
Utility and extension methods for Dfs2File
Interfaces
  InterfaceDescription
Public interfaceIDfs123Builder
Interface common for building a dfs 1, 2 or 3 file
Public interfaceIDfs123File
Base interface common for dfs 1, 2 and 3 files

Special for these files are that all their dynamic and static items use the same spatial axis.

This interface provides the file header information and a spatial axis that are common to all dynamic items. The dynamic items does not export the spatial axis.

Public interfaceIDfs1Builder
Builder for dfs1 files.

See Dfs1Builder for details

Public interfaceIDfs1File
Interface for a dfs1 file
Public interfaceIDfs2Builder
Builder for dfs2 files.

See Dfs2Builder for details

Public interfaceIDfs2File
Interface for a dfs2 file
Public interfaceIDfs3Builder
Builder for dfs3 files.

See Dfs3Builder for details

Public interfaceIDfs3File
Interface for a dfs3 file