Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Output=TimeSeries(47.637,37.956,Text(..\OutputFiles\Forecast_05CE020_QR.tsf),Qual(Mode(Overwrite)),Q1,T2)

Note that the name of the TSF file is later used to identify the location and parameter of the time series as the TSF format has no meta data internal to the file format.

The free-formatted text files are defined in the print sections in the TSO file. The example below shows a snippet. Note that great care must be taken if the format used here is amended as this may cause the adapter to be unable to read model outputs. The adapter will use the header names to identify the time series location (e.g. NodeName - which is a variable) as well as the parameter (e.g. "Outflow" and "Outflow.Quality"). 


No Format
hFile1=OPEN(PLOutFileName, Create, Exclusive)
Print(hFile1, "Node Type";comma;"DimGraph";comma;"NodeName";comma; NodeName;comma;"Run Time";comma;RunTime)
Print(hFile1, "Date";comma;"Time";comma;"Precip";comma;"Precip.Quality";comma;"Outflow";comma;"Outflow.Quality")
...
Print(hFile1,MonthString;"/";DateString;"/";YearNum;comma; HourString;":00";comma; Precip;comma;Precip.Quality;comma;Outflow;comma;Outflow.Quality)