WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.host_actions.data_loader.data_loader Class Reference

Loads arbitrary data from a file into a variable. More...

Inheritance diagram for warpy.host_actions.data_loader.data_loader:
warpy.host_actions.host_action.host_action

Detailed Description

Loads arbitrary data from a file into a variable.

Can specify what subdomains to restrict the loading into.

Public Member Functions

def __init__ (self, name, source, destination, source_filename, subdomains)
 
def attrs (self, stage=None)
 
- Public Member Functions inherited from warpy.host_actions.host_action.host_action
def __init__ (self, name, req_attrs, opt_attrs=None, variables=None)
 
def variables (self)
 

Public Attributes

 src
 
 dst
 
- Public Attributes inherited from warpy.host_actions.host_action.host_action
 vars_
 

Constructor & Destructor Documentation

◆ __init__()

def warpy.host_actions.data_loader.data_loader.__init__ (   self,
  name,
  source,
  destination,
  source_filename,
  subdomains 
)
Parameters
name
sourcea list consisting of variables and/or (variable, component name) from the input file.
destinationa list consisting of variables and/or tuple of (variable, component name) that will be written to
source_filename
subdomains

Reimplemented from warpy.host_actions.host_action.host_action.

Member Function Documentation

◆ attrs()

def warpy.host_actions.data_loader.data_loader.attrs (   self,
  stage = None 
)

Member Data Documentation

◆ dst

warpy.host_actions.data_loader.data_loader.dst

◆ src

warpy.host_actions.data_loader.data_loader.src

The documentation for this class was generated from the following file: