-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requeststandardiseAnything related to CDDSAnything related to CDDStestingAnything related to testingAnything related to testing
Milestone
Description
Enable switching off CDDS extract when running CMEW and instead provide a path to data on disk. This will be useful when running CMEW for testing purposes (since we don't have to rely on the availability of MASS to ensure CMEW runs).
To switch off CDDS extract, skip_extract = True (from the CDDS documentation) will need to be added to the [conversion] section in the request configuration file created by CMEW/app/configure_standardise/bin/create_request_file.py.
The user must be able to set this value via the rose-suite.conf file.
Acceptance Criteria 1
- Given a working version of CMEW
- When
EXTRACT=True(the default) is specified in therose-suite.conffile - Then
standardise_model_dataruns CDDS extract and CDDS convert
Acceptance Criteria 2
- Given a directory containing model output files
- When
EXTRACT=Falseand the full path to the directory are specified in therose-suite.conffile - Then
standardise_model_datadoes not run CDDS extract and CDDS convert instead uses the data provided by the full path to the directory
Acceptance Criteria 3
- Given a working version of CMEW
- When
EXTRACT=Falseis specified in therose-suite.conffile - Then CMEW fails, since the full path to a directory containing model output files has not been provided
Details
- Extract should be true by default.
- If the flag is false, a path to previously extracted data should be provided.
- Use the flow chart in the Rose requirements in the Developer Guide to determine where the flag should be defined.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requeststandardiseAnything related to CDDSAnything related to CDDStestingAnything related to testingAnything related to testing