Class HYBNAT_BCS
- Namespace
- BlueM.Wave.Fileformats
- Assembly
- Wave.dll
Class for HYBNAT BCS files
public class HYBNAT_BCS : TimeSeriesFile
- Inheritance
-
HYBNAT_BCS
- Inherited Members
Constructors
HYBNAT_BCS(string)
Instanciates a new HYBNAT BCS file
public HYBNAT_BCS(string file)
Parameters
file
stringPath to file
Fields
refDate
Referencedate for the beginning of the simulation
public DateTime refDate
Field Value
Remarks
default: 01.01.2000 00:00:00
Properties
UseImportDialog
Set if the import dialog should be used
public override bool UseImportDialog { get; }
Property Value
Methods
Write_File(ref List<TimeSeries>, string)
Write one or multiple series to a BCS file
public static void Write_File(ref List<TimeSeries> tsList, string file)
Parameters
tsList
List<TimeSeries>time series to write to file
file
stringpath to the bcs file
readFile()
Reads the time series from the file
public override void readFile()
readSeriesInfo()
Read number of columns and their names
public override void readSeriesInfo()
verifyFormat(string)
Checks if the file is a HYBNAT BCS file
public static bool verifyFormat(string file)
Parameters
file
stringPath to file
Returns
- bool
Boolean
Remarks
Check is based on file extension and line 1 (must start with "time;")