SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
common.ascii_timeserie Namespace Reference

Classes

class  AsciiTimeserieError
 

Functions

def write
 Master routine for writing module_timespace.Coordinate in different formats. More...
 
def read
 Master routine for reading module_timeserie.Timeserie in different formats. More...
 
def read_v0
 Read V0 format and return a module_timeserie.Timeserie object. More...
 
def write_v0
 Write V0 format. More...
 

Function Documentation

def common.ascii_timeserie.read (   filepath)

Master routine for reading module_timeserie.Timeserie in different formats.

Here is the call graph for this function:

def common.ascii_timeserie.read_v0 (   filepath)

Read V0 format and return a module_timeserie.Timeserie object.

Standard Timeserie V0-format is the following:
Can handle None type value.

1 Version 0 Standard Timeserie Ascii Format
2 ntime N (number of timserie points)
3 datetime dataName1(unitName1) dataName2(unitName2) ...
4 datetime[0] data[0 ][0] data[0 ][1] ...
5 ...
6 datetime[-1] data[-1][0] data[-1][1] ...

Here is the caller graph for this function:

def common.ascii_timeserie.write (   timeserie,
  filepath,
  version = 0 
)

Master routine for writing module_timespace.Coordinate in different formats.

Here is the call graph for this function:

def common.ascii_timeserie.write_v0 (   timeserie,
  filepath 
)

Write V0 format.

Here is the caller graph for this function: