pycart: Interact with Cart3D run matrix using CAPE¶
- Usage:
$ pycart CMD [ARGS] [OPTIONS]
- Sub-commands:
helpDisplay help message and exit
runRun case in current folder
startSetup, start, and/or submit cases
checkCheck status of case(s)
agentRun one CAPE agent prompt and exit
agenticRun CAPE in agentic mode
1to2Convert Python and JSON files from CAPE 1 to 2 standard
applyRe-apply current settings to case(s)
approveMark selected cases as complete
archiveArchive cases; delete files not needed for post-processing
batchResubmit this command as a PBS/Slurm job
check-dbCheck completion of all databook components
check-fmCheck completion of all force & moment components
check-llCheck completion of all line load components
check-triqfmCheck completion of TriqFM components
cleanRemove extra files not necessary for running a case
collect-cutplaneCollect cut-plane data in current case folder
collect-surfCollect surface data in current case folder
defailRemove FAIL files from case(s)and other failure artifacts
dezombieDelete job and clean-up stalled cases (aka ‘zombie’ cases)
dispatchInteractively dispatch case(s) by status only
edit-jsonEdit JSON settings from command-line
execRun a shell command in folder of case(s)
extendExtend unmarked cases
extractExtract DataBook components
extract-fmExtract averaged force & moment results
extract-iter-fmExtract iterative force & moment histories
extract-llCompute and extract line load results
extract-pyfuncExtract data from custom Python functions
extract-propExtract other scalar results
extract-surfcpExtract surfcp data
extract-timeseriesExtract time series data
extract-triqfmExtract post-processed patch loads
extract-triqptCollect post-processed point sensor data
failMark selected cases as ERRORs
findFind indices of cases meeting constraints
find-casesInteract with Cart3D run matrix using CAPE
find-jsonFind CAPE JSON files
find-largeFind folders with large file size
get-col-stateShow iterative state of one column for case(s)
get-configShow value of user CAPE configuration
get-keysShow properties of run matrix keys as JSON
get-subfigCreate one report subfigure and cache its image
help-optShow help and docs for JSON options
inspect-jsonShow item or subset of JSON options
list-keysList run matrix keys
list-subfigsList report subfigures
open-pdfOpen a PDF file in preferred reader
open-imgOpen an image file in preferred viewer
open-pngOpen a PNG image in preferred viewer
open-subfigCreate one report subfigure and open its image
performPerform an Actions action on case(s)
post-fileSend one or more files to RemoteHost
qdelDelete PBS/Slurm job of case(s)
receive-fileReceive posted file from remote host
reportUpdate automated PDF reports
reviewInteractively review report subfigures for case(s)
rmDelete entire case folders
search-largeFind large cases from all run matrices in repo
set-configSet value of a user CAPE configuration
get-case-stateShow iterative state of report columns for case(s)
skeletonClean up case folder; leave only key files
triangulate-cutplaneTriangulate oversetting cut-plane flow viz files
tuiRun rich interactive CAPE terminal user interface
uiRun interactive CAPE user interface
unarchiveExpand files from archive
unmarkRemove PASS/ERROR markings for selected cases
- Options:
- -h, --help
Print this help message and exit
- -f, --file, --json JSON
Use the JSON (or YAML) file JSON
- -n N
Submit at most N cases
- -I INDS
Specific case indices, e.g.
-I 4:8,12- --cons, --constraints CONS
Constraints on run matrix keys, e.g.
"mach>1.0"- --re, --regex REGEX
Limit to cases containing regular expression REGEX
- --me
Limit to cases owned by current user (equiv.
--user $USER)- --marked
Show only cases marked either PASS or ERROR
- --unmarked
Show cases with no PASS/ERROR markings
- --batch
Submit PBS/Slurm job and run this command there
- -e, --exec EXEC
Execute the command EXEC
- --no-restart
When submitting new jobs, only submit new cases
- --no-start
Set up but do not start (or submit) cases
- -x PYSCRIPT
Execute Python script PYSCRIPT after reading JSON