Drafting some requirements for change_dump_date.pyto help out with refactoring / unit-testing / regression testing:
General Requirements
Primary functionality: Change the timestamps (metadata) of a restart dump file, without modifying its data content.
Python version: >=3.10
Audience: Researchers / ACCESS model users
Mode of use: Offline. To be run manually by the user.
Interface type: CLI
Interface requirements
Inputs: Input file (positional argument) [UM file, required]
Options:
-o, --output: output path (if not provided a default output path is produced)
-y --year an integer year (starting a 1, only positive)
-m --month an integer month (int: 1 -12)
-d --day an integer month (int: 1-31)
-validate add the the functionality to skip the river fields validation.
Drafting some requirements for change_dump_date.pyto help out with refactoring / unit-testing / regression testing:
General Requirements
Primary functionality: Change the timestamps (metadata) of a restart dump file, without modifying its data content.
Python version: >=3.10
Audience: Researchers / ACCESS model users
Mode of use: Offline. To be run manually by the user.
Interface type: CLI
Interface requirements
Inputs: Input file (positional argument) [UM file, required]
Options:
-o, --output: output path (if not provided a default output path is produced)
-y --year an integer year (starting a 1, only positive)
-m --month an integer month (int: 1 -12)
-d --day an integer month (int: 1-31)
-validate add the the functionality to skip the river fields validation.