Versions Compared

Key

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

...

Code Block
languagepy
titleal_entry create/open/close
def create(self, options = None)
def open(self, options = None)
def close(self, options = None)

options - additional options (possibly backend specific)

...

IDS storing /

...

reading

IDS get

Code Block
languagepy
titleIDS GET
def get(self, idsName, occurrence = 0) # idsName (e.g. 'equilibrium')
	return ids

IDS put

Code Block
languagepy
titleIDS PUT
def put(self, ids, occurrence = 0)

IDS putSlice

Code Block
languagepy
titleIDS PUT
def put_slice(self, ids, occurrence = 0)

IDS getSlice

Code Block
languagepy
titleIDS GET
def get_slice(self, ids_name, time_requested, interpolation_method, occurrence=0): # idsName (e.g. 'equilibrium')
	return ids


Any other method is needed to ba added to db_entry class?


IDS superclass

Parent class for all classes representing particular IDSes. 

Class  methods (aka "static")

def get_ids(cls, ids_name):

IDS class

Class  methods (aka "static")

def get_max_occurrences(cls):

def read_time_mode(self, ctx):
def read_time(self, ctx):




def get(self, occurrence=0):


def put(self, occurrence=0, db_entry=None):


def putSlice(self, occurrence=0):getTime vector?