ResSimpy.Nexus.nexus_file_operations.check_property_in_line

ResSimpy.Nexus.nexus_file_operations.check_property_in_line(line: str, property_dict: dict[str, Union[str, int, float, enum.Enum, list[str], pandas.DataFrame, dict[str, Union[float, pandas.DataFrame]]]], file_as_list: list[str]) None[source]

Given a line of Nexus input file content looking for common input data, e.g., units such as ENGLISH or METRIC, temperature units such as FAHR or CELSIUS, DATEFORMAT, etc., as defined in Nexus manual. If any found, include in provided property_dict and return.

Args: line (str): line to search for the common input data file_as_list (list[str]): Nexus input file content property_dict (dict): Dictionary in which to include common input data if found

Returns: dict: Dictionary including found common input data