Example #1
0
File: grid.py Project: AZed/uvcdat
 def __init__ (self, node):
     CdmsObj.__init__ (self, node)
     self.id = '<None>' # String identifier
     if node is not None and hasattr(node,'id'): self.id = node.id
     self.parent = None #Dataset containing this grid
     self._flataxes_ = None
     self._mesh_ = None
Example #2
0
 def __init__(self, node):
     CdmsObj.__init__(self, node)
     self.id = '<None>'  # String identifier
     if node is not None and hasattr(node, 'id'): self.id = node.id
     self.parent = None  #Dataset containing this grid
     self._flataxes_ = None
     self._mesh_ = None
Example #3
0
 def __init__(self, uri, path):
     CdmsObj.__init__(self,None)
     self.uri = uri
     self.path = path
     self._cache_ = {}
     self._cdmlcache_ = {}
     self._datacache_ = None # datasetdn: obj # Remote file data cache
     self.lcBaseDN = None            # Logical Collection base distinguished name
     self.useReplica = None          # Use replica catalog if true (request manager transfers only)
     self.userid = None              # User ID for request manager transfers
Example #4
0
 def __init__(self, uri, path):
     CdmsObj.__init__(self, None)
     self.uri = uri
     self.path = path
     self._cache_ = {}
     self._cdmlcache_ = {}
     self._datacache_ = None  # datasetdn: obj # Remote file data cache
     self.lcBaseDN = None  # Logical Collection base distinguished name
     self.useReplica = None  # Use replica catalog if true (request manager transfers only)
     self.userid = None  # User ID for request manager transfers
Example #5
0
 def __init__ (self, parent=None, variableNode=None):
     """Not to be called by users.
        variableNode is the variable tree node, if any.
        parent is the containing dataset instance.
     """
     if variableNode is not None and variableNode.tag !='variable':
         raise CDMSError, 'Node is not a variable node'
     CdmsObj.__init__(self, variableNode)
     val = self.__cdms_internals__ + ['id','domain',"autoApiInfo"]
     self.___cdms_internals__ = val 
     Slab.__init__(self)
     self.id = None                  # Transient variables key on this to create a default ID
     self.parent = parent
     self._grid_ = None      # Variable grid, if any
     if not hasattr(self,'missing_value'):
         self.missing_value = None
Example #6
0
 def __init__ (self, parent=None, variableNode=None):
     """Not to be called by users.
        variableNode is the variable tree node, if any.
        parent is the containing dataset instance.
     """
     if variableNode is not None and variableNode.tag !='variable':
         raise CDMSError, 'Node is not a variable node'
     CdmsObj.__init__(self, variableNode)
     val = self.__cdms_internals__ + ['id','domain',"autoApiInfo"]
     self.___cdms_internals__ = val 
     Slab.__init__(self)
     self.id = None                  # Transient variables key on this to create a default ID
     self.parent = parent
     self._grid_ = None      # Variable grid, if any
     if not hasattr(self,'missing_value'):
         self.missing_value = None
Example #7
0
 def __init__(self, parent=None, variableNode=None, bounds=None):
     CdmsObj.__init__(self, variableNode)
     self._bounds_ = bounds
Example #8
0
 def __init__(self, parent=None, variableNode=None, bounds=None):
     CdmsObj.__init__(self, variableNode)
     self._bounds_ = bounds