7.12. cape-writell: Combine CAPE line load data into MAT file

This tool combines the individual-case line load data files from a CAPE “databook” (which are extracted using a command like pyfun --ll) into a single .mat file.

That .mat file (or files, if multiple line load components are written) is placed in the databook folder.

Usage:
$ cape-writell [PAT1 PAT2 ...] [OPTIONS]
Example:

Write all the DataBook components in pyFun.json with the type "LineLoad".

$ cape-writell -f pyFun.json

Only write the line load component "CORE_LL".

$ cape-writell CORE_LL

Write any LineLoad component starting with “CORE” or “BODY”.

$ cape-writell "CORE*" "BODY*"
Inputs:

PAT1: Optional pattern to subset available line load components PAT2: Second pattern, use comps matching PAT1 or PAT2

Note

If no subsets are given, all available line load components will be processed.

Outputs:
-h, --help

Display this help message and quit

-f FNAME

Use CAPE input file FNAME (by default checks for 'cape.json', 'pyFun.json', etc.)

--ll COMP

Only consider components matching COMP from “DataBook” section of FNAME (by default apply no filters) (combines with PAT1, PAT2, etc.)

Versions:
  • 2021-02-10 @ddalle: Version 1.0