olm.USGS.PhreeqcPandas.phreeqcRunSetPCO2¶
-
olm.USGS.PhreeqcPandas.phreeqcRunSetPCO2(logPCO2, phreeqcInputFile, PHREEQC_PATH, DATABASE_FILE, newInputFile=None)[source]¶ Reads a PHREEQC input file, modifies it to a set PCO2 and runs the modified file.
Parameters: - phreecInputFile : str
The name of the input file to modify.
- logPCO2 : float
Log10 of the PCO2 value to set the sample to.
- PHREEQC_PATH : string
The path to the PHREEQC executable.
- DATABASE_FILE : string
The database file to be used by PHREEQC.
- newInputFile : string
The name of the set-PCO2 file to create and run. If not specified, the final 5 characters will be stripped off of phreeqcInputFile and ‘set-PCO2.phrq will be added.’
- Returns
- ——-
- simulationDict : Dict
A dictionary that contains the output of readPhreeqcOutput() run on the set PCO2 simulation.