dpest.utils.rmv_lsqr#
- dpest.utils.rmv_lsqr.rmv_lsqr(pst_path)[source]#
Removes the LSQR section from a PEST control (.pst) file.
The LSQR section is optional in a PEST control file. This function will remove it if present, and inform the user whether the section was found and removed or did not exist.
Required Arguments:#
- pst_path (str):
Path to the .pst PEST control file to modify.
Returns:#
None
Examples:#
Removing the LSQR Section from a PEST Control File:
from dpest.utils import rmv_lsqr rmv_lsqr( pst_path = "PEST_CONTROL.pst" )
This example removes the LSQR section if it exists. If the section is not found, the function will notify the user that no LSQR section was present to remove.