You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drafting some requirements for um_fields_subset.py to help out with refactoring / unit-testing / regression testing:
General requirements
Primary functionality: Remove fields from a UM file, generating an output UM file with only a subset of its initial fields in it. 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] Outputs: Output file (output path provided by the --output option) Options:
-p, --prognostic-only: Include only STASH item codes of prognostic variables (section 0,33,34). Cannot be used together with --include or --exclude.
--include: List of STASH item codes. Only these fields will be included in the output UM file. If not present in the input file, raise a warning. Cannot be used together with -p/--prognostic-only or --exclude.
--exclude: List of STASH item codes. These will be the only fields excluded from the output UM file. If not present in the input file, raise a warning. Cannot be used together with -p/--prognostic-only or --include.
-o, --output: output path (if not provided a default output path is produced)
Note:
Feel free to add specifications/options if I missed any relevant one.
The text was updated successfully, but these errors were encountered:
Drafting some requirements for um_fields_subset.py to help out with refactoring / unit-testing / regression testing:
General requirements
Primary functionality: Remove fields from a UM file, generating an output UM file with only a subset of its initial fields in it.
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]
Outputs: Output file (output path provided by the --output option)
Options:
0
,33
,34
). Cannot be used together with--include
or--exclude
.-p/--prognostic-only
or--exclude
.-p/--prognostic-only
or--include
.Note:
Feel free to add specifications/options if I missed any relevant one.
The text was updated successfully, but these errors were encountered: