Commit 3e3e50f5 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

modified the baseclasses to have simpler init functions, and new observation object

parent e707cf68
......@@ -14,6 +14,8 @@ import sys
import logging
import datetime
identifier = 'Baseclass Statevector '
version = '0.0'
################### Begin Class EnsembleMember ###################
......@@ -66,7 +68,16 @@ class EnsembleMember(object):
import numpy as np
class StateVector(object):
""" an object that holds data + methods and attributes needed to manipulate state vector values """
def __init__(self,dims):
def __init__(self):
self.Identifier = identifier
self.Version = version
msg = '%s object initialized'%self.Identifier ; logging.debug(msg)
msg = '%s version: %s'%(self.Identifier,self.Version) ; logging.info(msg)
def Initialize(self,dims):
self.nlag = dims[0]
self.nmembers = dims[1]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment