flopy.mf6.utils.generate_classes module
- generate_classes(branch='master', dfnpath=None, backup=True)[source]
Generate the MODFLOW 6 flopy classes using definition files from the MODFLOW 6 GitHub repository or a set of definition files in a folder provided by the user.
- Parameters:
branch (str) – Branch name of the MODFLOW 6 repository to use to update the definition files and generate the MODFLOW 6 classes. Default is master.
dfnpath (str) – Path to a definition file folder that will be used to generate the MODFLOW 6 classes. Default is none, which means that the branch will be used instead. dfnpath will take precedence over branch if dfnpath is specified.
backup (bool) – Keep a backup of the definition files in dfn_backup with a date and time stamp from when the definition files were replaced.