8.5.4. FS Module
file system module
This module provide helper function to deal with the working directory of a run
- parflow.tools.fs.cp(source, target_path='.')
Copying file/directory within python script
- parflow.tools.fs.get_absolute_path(file_path)
Helper function to resolve a file path while using the proper working directory.
Return: Absolute file path
- parflow.tools.fs.mkdir(dir_name)
mkdir within python script
- parflow.tools.fs.rm(path)
Deleting file/directory within python script