read_mercury_cg.py File Reference

Namespaces

 read_mercury_cg
 

Functions

def read_mercury_cg.mercury_cg (name='Chain.stat', print_summary=True, row_major_index_order=False)
 This function reads a MercuryCG .stat file and returns a dictionary of the data. More...
 
def read_mercury_cg.get_raw_data (name)
 This function reads raw data from a file. More...
 
def read_mercury_cg.get_dimension (data, raw, row_major_index_order)
 This function determines the dimension of the data. More...
 
def read_mercury_cg.get_coordinates (data, raw, dim, row_major_index_order)
 This function gets the spatial coordinates and time of the data. More...
 
def read_mercury_cg.get_variables (data, raw, names, dim, row_major_index_order)
 This function gets the variables of the data from the .stat file. More...
 
def read_mercury_cg.extend_variables (data)
 This function extends the variables of the data dictionary by computing several fields from the standard fields. More...
 
def read_mercury_cg.read_header1 (header1)
 Parse the first header line of the input file. More...
 

Variables

string read_mercury_cg.required_pandas_version = "1.2.0"
 
string read_mercury_cg.required_numpy_version = "1.20.0"
 
 read_mercury_cg.installed_pandas_version = pd.__version__
 
 read_mercury_cg.installed_numpy_version = np.__version__