Skip to content

pyfs-workspace

Generated from the argument parser at build time, so this page and pyfs-workspace --help cannot disagree. The entry point is pyflightstream.workspace.cli:main.

pyfs-workspace

Managed campaign workspace tooling; the tree it creates is owned by pyflightstream and never hand-built.

usage: pyfs-workspace [-h] [--warning-refusals] [--warning-off] {migrate,init,archive,field,profile,excel,fsi,calibrate,space-in-use,free-space,delete-sims,sync,restore,rebuild,mark-failed,show,log,trace,history,diff,mark-converged,search-log-batch}...
Argument Value Default What it does
-h, --help show this help message and exit
--warning-refusals restore refusals for inputs otherwise skipped with typed warnings
--warning-off hide console warnings while keeping every recorded warning in its log

Subcommands:

  • pyfs-workspace migrate: preview the 0.38.0 record migration; --apply writes it
  • pyfs-workspace init: create the full campaign tree (inputs library, sims, post, archive)
  • pyfs-workspace archive: zip one recorded simulation under archive/ and remove its folder
  • pyfs-workspace field: build a custom free-stream file of inputs/freestreams/ from other fields
  • pyfs-workspace profile: build an actuator-disc radial thrust profile of inputs/profiles/
  • pyfs-workspace excel: create a macro-free matrix workbook, or preview, apply, cancel or check its synchronisation with the matrices
  • pyfs-workspace fsi: structural-only workspace studies
  • pyfs-workspace calibrate: derive a sector-offset calibration from two recorded rotor points
  • pyfs-workspace space-in-use: report the sizes on disk: by top-level folder, by sims/sim_*, by extension
  • pyfs-workspace free-space: run a storage recipe inputs/management/m<id>.toml (preview unless --apply)
  • pyfs-workspace delete-sims: delete simulations, their post products and their records (preview unless --apply)
  • pyfs-workspace sync: bring runs and results from the workspaces in inputs/sync-workspaces.toml
  • pyfs-workspace restore: restore runs.json or another records file from archive/ (preview unless --apply)
  • pyfs-workspace rebuild: rebuild run records from the folders under sims/ (preview unless --apply)
  • pyfs-workspace mark-failed: mark every run record of the named simulations FAILED_MARKED, whatever it ended in (preview unless --apply)
  • pyfs-workspace show: print an outcome-first datapoint card (reads only)
  • pyfs-workspace log: read recorded activity, post or storage calls
  • pyfs-workspace trace: follow an indexed product to its runs (reads only)
  • pyfs-workspace history: every record of a simulation or point, including archives (reads only)
  • pyfs-workspace diff: compare two runs' recorded identities and scripts (reads only)
  • pyfs-workspace mark-converged: record your verdict that the named points CONVERGED, with its reason (preview unless --apply)
  • pyfs-workspace search-log-batch: write the log of a batch point that has its other files, from the job's master log (preview unless --apply)

pyfs-workspace migrate

Previews the changes to record manifests from 0.38.0. --apply writes an exact.bak beside each file and then the migrated file (docs/upgrading.md).

usage: pyfs-workspace migrate [-h] [--apply] [--workspace WORKSPACE] [--verbose | --log-level {quiet,normal,verbose}] [root]
Argument Value Default What it does
-h, --help show this help message and exit
<root> . workspace root (default: the current directory)
--apply write the.bak backups and the migrated files (default: preview only)
--workspace WORKSPACE campaign workspace (default: the current directory); the positional root names the same folder
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace init

usage: pyfs-workspace init [-h] [--workspace WORKSPACE] [--verbose | --log-level {quiet,normal,verbose}] [root]
Argument Value Default What it does
-h, --help show this help message and exit
<root> . campaign root to create or complete (default: the current directory)
--workspace WORKSPACE campaign workspace (default: the current directory); the positional root names the same folder
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace archive

Zips sims/sim_<sim_id>/ of a recorded simulation into archive/ and removes the folder, so the simulation can be re-run into a clean folder while its evidence stays. Refuses a simulation the manifest (runs.json) does not record, and an archive name already taken: file management never destroys an unrecorded run or an earlier archive. It does not read the status of the simulation's runs, so a failed or stale run is archived like a finished one; do not archive a simulation whose run is still going.

usage: pyfs-workspace archive [-h] [--workspace WORKSPACE] [--verbose | --log-level {quiet,normal,verbose}] sim_id
Argument Value Default What it does
-h, --help show this help message and exit
<root> Hidden: accepted, and not shown by --help.
<sim_id> the simulation to archive, as the manifest records it (the folder is sims/sim_<sim_id>/)
--workspace WORKSPACE campaign workspace (default: the current directory); the positional root names the same folder
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace field

Builds a custom free-stream field (the file a row's FREESTREAM names) from other fields: mirror, move, subtract, time-mean. Metres and m/s in the global frame, nothing converted. Previews by default; --apply writes inputs/freestreams/<stem>.txt or.dat and <stem>.provenance.json (operation, parameters, inputs with sha256), and an existing file is replaced only with --overwrite.

usage: pyfs-workspace field [-h] {mirror,move,subtract,time-mean,fill-interior}...
Argument Value Default What it does
-h, --help show this help message and exit

Subcommands:

  • pyfs-workspace field mirror: mirror a field through the plane x = 0, y = 0 or z = 0
  • pyfs-workspace field move: translate a field so a source point lands on a target point
  • pyfs-workspace field subtract: total - (other - reference), point by point on one grid
  • pyfs-workspace field time-mean: the time mean of an unsteady run's per-step fields
  • pyfs-workspace field fill-interior: fill the probes inside the body from the ray outside it

pyfs-workspace field mirror

Mirrors a field through a coordinate plane: through y = 0 each row x y z vx vy vz becomes x -y z vx -vy vz. The row order and a STRUCTURED header are kept.

usage: pyfs-workspace field mirror [-h] --plane {x,y,z} --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] field
Argument Value Default What it does
-h, --help show this help message and exit
<field> the field file (.txt STRUCTURED or.dat UNSTRUCTURED)
--plane one of x, y, z the coordinate whose sign changes: y mirrors through the plane y = 0 Required.
--out STEM the stem of the file written in inputs/freestreams/ (no extension: the form gives it,.txt STRUCTURED,.dat UNSTRUCTURED) Required.
--workspace WORKSPACE . campaign workspace whose inputs/freestreams/ receives the field (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace field move

Translates every position by (target - source), so the source point (a hub) lands on the target point; the velocities are unchanged.

usage: pyfs-workspace field move [-h] --source-point X Y Z --target-point X Y Z --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] field
Argument Value Default What it does
-h, --help show this help message and exit
<field> the field file (.txt STRUCTURED or.dat UNSTRUCTURED)
--source-point SOURCE_POINT the source point (a hub) in m, global frame Required.
--target-point TARGET_POINT the point the source point lands on in m, global frame Required.
--out STEM the stem of the file written in inputs/freestreams/ (no extension: the form gives it,.txt STRUCTURED,.dat UNSTRUCTURED) Required.
--workspace WORKSPACE . campaign workspace whose inputs/freestreams/ receives the field (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace field subtract

Subtracts OTHER from TOTAL point by point, matched by position: the result is total - (other - reference), with --reference the uniform free stream OTHER was solved in, so only the velocity OTHER's body induces is removed. --reference is required: state 0 0 0 only where OTHER is already induced-only (its free stream taken out), and the result is then total - other. Two grids that are not one point set are refused.

usage: pyfs-workspace field subtract [-h] --reference VX VY VZ [--tolerance M] --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] total other
Argument Value Default What it does
-h, --help show this help message and exit
<total> the field subtracted from (its positions are kept)
<other> the field subtracted, on the same grid
--reference REFERENCE the free stream OTHER was solved in, m/s, global frame (required; 0 0 0 only where OTHER is already induced-only) Required.
--tolerance M 1e-06 two positions closer than this, in m along each axis, are one point (default: 1e-06)
--out STEM the stem of the file written in inputs/freestreams/ (no extension: the form gives it,.txt STRUCTURED,.dat UNSTRUCTURED) Required.
--workspace WORKSPACE . campaign workspace whose inputs/freestreams/ receives the field (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace field time-mean

Averages the per-step fields of an unsteady run (<point>field_NN_step<N>.inflow.dat, written by the post from a [[probes]] entry with reusable_inflow) into one field. The steps must be equally spaced and hold the same points.

usage: pyfs-workspace field time-mean [-h] [--last K] [--fluctuation] [--fluctuation-only] [--vinf M_S] [--tolerance M] --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] files [files...]
Argument Value Default What it does
-h, --help show this help message and exit
<files> the per-step field files, or glob patterns
--last K average only the last K steps given (default: every step given)
--fluctuation also write <stem>.fluctuation.csv: the per-probe population standard deviation of the averaged steps (needs at least two steps, and CONSECUTIVE integer steps: unlike the mean, an evenly spaced span with gaps is refused)
--fluctuation-only report the fluctuation only, with no field (needs --last)
--vinf M_S the free-stream speed, in m/s, the fluctuation summary is also stated against (needs --fluctuation or --fluctuation-only)
--tolerance M 1e-06 two positions closer than this, in m along each axis, are one point (default: 1e-06)
--out STEM the stem of the file written in inputs/freestreams/ (no extension: the form gives it,.txt STRUCTURED,.dat UNSTRUCTURED) Required.
--workspace WORKSPACE . campaign workspace whose inputs/freestreams/ receives the field (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace field fill-interior

Every probe with r < --r-body about the x axis takes the velocity of the probe at r >= --r-body with the smallest radius on the same azimuth ray (within 1e-3 rad). A probe with no such partner is refused.

usage: pyfs-workspace field fill-interior [-h] [--r-body M] --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] field
Argument Value Default What it does
-h, --help show this help message and exit
<field> the field file (.txt STRUCTURED or.dat UNSTRUCTURED)
--r-body M 0.38 the body radius about the x axis, in m (default: 0.38)
--out STEM the stem of the file written in inputs/freestreams/ (no extension: the form gives it,.txt STRUCTURED,.dat UNSTRUCTURED) Required.
--workspace WORKSPACE . campaign workspace whose inputs/freestreams/ receives the field (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace profile

Builds the radial thrust profile a row's PROFILE names (the CUSTOM disc): rows r,F with r in m and F in N/m per blade, no header and no final newline, scaled so that B * integral(F dr) is the target thrust (--thrust in N, or --ct with --rho and --rpm, CT = T / (rho n^2 D^4)). The shape is 'sections' (a POL's written sections: the sectional loads table, or --pol; -Fx at the stations, a zero from the axis to the hub and a zero at the tip; --last K averages a table of several steps), 'uni' (F = c r) or 'bp' (Betz-Prandtl, --advance-ratio J). The disc is a reference's block (--ref, --disc) or stated (--tip-radius, --hub-radius, --blades). The ELLIPTICAL disc is native in the solver and needs no file: its row states ACTUATOR_THRUST. A RELAXED disc ignores a custom profile; that was measured on one case on build 26.124. The RIGID profile route has no manual citation or measurement cited here. Previews by default; --apply writes inputs/profiles/<stem>.csv and <stem>.provenance.json, and an existing file is replaced only with --overwrite.

usage: pyfs-workspace profile [-h] [--pol POL] [--family FAMILY] [--component {Fx,Fz}] [--sign {-1,1}] [--last K] [--advance-ratio J] [--stations N] [--ref RID] [--disc NAME] [--tip-radius M] [--hub-radius M] [--blades B] [--thrust N] [--ct CT] [--rho KG_M3] [--rpm RPM] --out STEM [--workspace WORKSPACE] [--apply] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] {sections,uni,bp} [table]
Argument Value Default What it does
-h, --help show this help message and exit
<shape> one of sections, uni, bp the shape of the profile
<table> sections: the sectional loads table (or --pol to find it)
--pol POL sections: the POL whose table the post recorded
--family FAMILY sections: the family of --pol (default: Blade1)
--component one of Fx, Fz sections: the force read (default: Fx)
--sign one of -1, 1 sections: its sign (default: -1, so -Fx)
--last K sections: average the last K steps of a table
--advance-ratio J bp: J = V / (n D), required
--stations N uni, bp: radii from the hub to the tip (default: 61)
--ref RID the reference id that declares the disc
--disc NAME the disc's block name in --ref
--tip-radius M the tip radius, in m
--hub-radius M the hub radius, in m
--blades B the blade count
--thrust N the target thrust, in N
--ct CT the target CT = T / (rho n^2 D^4)
--rho KG_M3 the density of --ct
--rpm RPM the speed of --ct, in rev/min
--out STEM the stem of the file written in inputs/profiles/ (the row's PROFILE) Required.
--workspace WORKSPACE . campaign workspace whose inputs/profiles/ receives the profile (default: the current directory)
--apply write the files (default: preview)
--overwrite replace an existing <stem> file and its provenance record
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace excel

Creates a macro-free workbook of the workspace's matrices, and synchronises a saved workbook with them through a preview batch that is applied or cancelled explicitly. python -m pyflightstream.workspace.excel is the same command.

usage: pyfs-workspace excel [-h] {create,preview,apply,cancel,check}...
Argument Value Default What it does
-h, --help show this help message and exit

Subcommands:

  • pyfs-workspace excel create: Create a new macro-free workbook
  • pyfs-workspace excel preview: Inspect changes without applying them
  • pyfs-workspace excel apply: Apply one fresh reviewed batch
  • pyfs-workspace excel cancel: Cancel a preview without changing inputs
  • pyfs-workspace excel check: Validate Runs and Dictionary

pyfs-workspace excel create

usage: pyfs-workspace excel create [-h] [--workspace WORKSPACE] [--verbose | --log-level {quiet,normal,verbose}] output
Argument Value Default What it does
-h, --help show this help message and exit
<output> New.xlsx path; existing files are refused
--workspace WORKSPACE . Workspace root directory (default: the current directory)
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace excel preview

usage: pyfs-workspace excel preview [-h] [--workspace WORKSPACE] --direction {read,write} --batch BATCH [--matrix MATRICES] [--verbose | --log-level {quiet,normal,verbose}] workbook
Argument Value Default What it does
-h, --help show this help message and exit
<workbook> Saved.xlsx workbook to synchronize
--workspace WORKSPACE . Workspace root directory (default: the current directory)
--direction one of read, write read: matrices to workbook; write: workbook to matrices Required.
--batch BATCH New preview batch file path Required.
--matrix MATRICES Matrix file; repeat to select several; default: all on read, workbook rows on write
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace excel apply

usage: pyfs-workspace excel apply [-h] [--verbose | --log-level {quiet,normal,verbose}] batch
Argument Value Default What it does
-h, --help show this help message and exit
<batch> Reviewed preview batch file to apply
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace excel cancel

usage: pyfs-workspace excel cancel [-h] [--verbose | --log-level {quiet,normal,verbose}] batch
Argument Value Default What it does
-h, --help show this help message and exit
<batch> Preview batch file to cancel
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace excel check

usage: pyfs-workspace excel check [-h] [--verbose | --log-level {quiet,normal,verbose}] workbook
Argument Value Default What it does
-h, --help show this help message and exit
<workbook> Saved.xlsx workbook to validate
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace fsi

usage: pyfs-workspace fsi [-h] {campbell}...
Argument Value Default What it does
-h, --help show this help message and exit

Subcommands:

  • pyfs-workspace fsi campbell: natural frequencies and Southwell fit over rotor speed

pyfs-workspace fsi campbell

usage: pyfs-workspace fsi campbell [-h] --rpm START STOP COUNT [--modes MODES] [--workspace WORKSPACE] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] fsi_id
Argument Value Default What it does
-h, --help show this help message and exit
<fsi_id> input code in inputs/fsi, without extension
--rpm RPM inclusive rotor-speed sweep in rev/min: START >= 0, STOP > START, integer COUNT >= 3 Required.
--modes MODES 6 number of lowest modes per speed (default: 6)
--workspace WORKSPACE . workspace root (default: current directory)
--overwrite replace existing post/fsi/<fsi id> products
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace calibrate

usage: pyfs-workspace calibrate [-h] [--workspace WORKSPACE] --wheel-run WHEEL_RUN --sector-run SECTOR_RUN [--rotor ROTOR_NAME] [--matrix MATRIX] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] calibration_id
Argument Value Default What it does
-h, --help show this help message and exit
<calibration_id>
--workspace WORKSPACE .
--wheel-run WHEEL_RUN
--sector-run SECTOR_RUN
--rotor ROTOR_NAME
--matrix MATRIX
--overwrite
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal

pyfs-workspace space-in-use

Prints the workspace's sizes in three groupings, in this order: by top-level folder, by simulation (sims/sim_*, compacted ones included) and by extension. Changes no file; the call is recorded in storage_management.json.

usage: pyfs-workspace space-in-use [-h] [--workspace WORKSPACE] [--top TOP]
Argument Value Default What it does
-h, --help show this help message and exit
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--top TOP 15 rows shown per grouping (default: 15)

pyfs-workspace free-space

Runs the recipe's steps in order: [[prune_step_exports]] deletes an unsteady point's per-step exports (the *iteration=<step> files) except the last step of each export (keep_last = K keeps the last K steps, delete_steps = [A, B] deletes the steps A to B and keeps the rest), and a later post refuses a product that needs a deleted step, naming it; [[compact_sims]] zips a simulation folder into sims/sim<id>.zip (post, collect and a continuation restore it automatically), [[delete_extensions]] deletes files of the named extensions under sims/ except what a later post needs (saved simulations, scripts, logs, and every file a run record names or hashes), [[post_archives]] compacts or deletes the archive/<stamp>/ folders the post wrote. Nothing outside sims/ and the post archives is touched. Every call is recorded in storage_management.json.

usage: pyfs-workspace free-space [-h] [--workspace WORKSPACE] [--apply] [--list] [--runs NAME] recipe
Argument Value Default What it does
-h, --help show this help message and exit
<recipe> the recipe id, m<id> (inputs/management/m<id>.toml)
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--apply change files; without it the command previews and changes nothing
--list after each step, print every path it would touch (preview) or touched (--apply) with its size and what happens to it
--runs NAME the manifest file to read, directly in the workspace root (default: runs.json)

pyfs-workspace delete-sims

Deletes each named simulation: its sims/sim_<id> folder (or zip), its own post products and its records in runs.json, which keeps one note row per simulation saying its id belonged to a deleted one. The full mention (id, matrix, run ids, statuses, dates, sizes and hashes, caller) is recorded in storage_management.json. The id may be reused afterwards. A product that mixes the deleted points with others needs --matrix-products: points-only leaves it, recorded stale; regenerate reruns that matrix's post without them.

usage: pyfs-workspace delete-sims [-h] --sims ID [ID...] [--workspace WORKSPACE] [--matrix-products {points-only,regenerate}] [--force] [--apply] [--archive] [--runs NAME]
Argument Value Default What it does
-h, --help show this help message and exit
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. simulation ids: --sims 2006 2007; comma forms 2006,2007 and [2006,2007] remain accepted, including mixtures of words and bracketed lists Required.
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--matrix-products one of points-only, regenerate what happens to a matrix product that also holds the deleted points
--force delete a simulation whatever the status of its records; without it a simulation with a run still SUBMITTED is refused
--apply change files; without it the command previews and changes nothing
--archive keep replaced matrix products when regenerating; default: overwrite in place
--runs NAME the manifest file to read, directly in the workspace root (default: runs.json)

pyfs-workspace sync

Levels are cumulative: runs (runs.json and run provenance: scripts/ and the datapoint logs), post (+ post/), fsm (+ the datapoints' saved simulations), all (+ everything else under sims/). Run on the main workspace. A record only in the other workspace is added; a main record still SUBMITTED takes the other's; any other difference is a conflict where main wins unless --prefer-other. A simulation still SUBMITTED there syncs its record only. A file conflict keeps main's copy unless --overwrite, which archives it first. Nothing in main is deleted and inputs/ is never touched, except a declared matrix. MATRICES: each is declared in sync-workspaces.toml by the one workspace that owns it (matrices = ["<stem>",...]); a difference is always reported as a MERGE CONFLICT and the owning workspace's copy wins. A synced simulation's inputs/ is linked into main's own geometry library, never copied. Every call is recorded in storage_management.json.

usage: pyfs-workspace sync [-h] [--workspace WORKSPACE] [--from SOURCE] [--apply] [--prefer-other] [--overwrite] [--restore] [--include-archives] [--runs NAME] {runs,post,fsm,all}
Argument Value Default What it does
-h, --help show this help message and exit
<level> one of runs, post, fsm, all what to bring
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--from SOURCE one workspace name from sync-workspaces.toml (default: every non-main one)
--apply change files; without it the command previews and changes nothing
--prefer-other on a runs.json conflict, take the other workspace's record
--overwrite on a file conflict, archive main's copy and take the other's
--restore with --apply, rebuild the records of the sims/ folders no record carries
--include-archives also bring the files under folders named archive (skipped by default)
--runs NAME the manifest file to read, directly in the workspace root (default: runs.json)

pyfs-workspace restore

usage: pyfs-workspace restore [-h] [--workspace WORKSPACE] [--stamp STAMP] [--matrix MATRIX] [--apply] {runs,storage,products,plan,additional}
Argument Value Default What it does
-h, --help show this help message and exit
<kind> one of runs, storage, products, plan, additional the file to restore
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--stamp STAMP the archive stamp to restore from
--matrix MATRIX for products and plan: the matrix whose file to restore, when several have archives; its file path or its stem, as rebuild and post read it
--apply change files; without it the command previews and changes nothing

pyfs-workspace rebuild

usage: pyfs-workspace rebuild [-h] [--workspace WORKSPACE] [--out NAME] [--all-sims] [--sims ID [ID...]] [--build-alias BUILD=ALIAS] [--matrix MATRIX] [--inputs-from FOLDER] [--apply]
Argument Value Default What it does
-h, --help show this help message and exit
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--out NAME the manifest file the rebuilt records go to, directly in the workspace root
--all-sims rebuild every simulation folder on disk, recorded or not
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. simulation ids: --sims 2006 2007; comma forms 2006,2007 and [2006,2007] remain accepted, including mixtures of words and bracketed lists
--build-alias BUILD=ALIAS [] the scheduler name of a solver build (repeatable)
--matrix MATRIX the matrix the simulations ran from
--inputs-from FOLDER another origin's inputs/ folder, laid over this workspace's for inputs that changed after the run; each record names the inputs taken from it
--apply change files; without it the command previews and changes nothing

pyfs-workspace mark-failed

A run can end CONVERGED and be found wrong later. Its records become FAILED_MARKED, which the post, the re-run and delete-sims treat as any failure, and each keeps the status it had, when and why under 'marked'; runs.json is copied to archive/ first.

usage: pyfs-workspace mark-failed [-h] --sims ID [ID...] [--reason REASON] [--points POINTS [POINTS...]] [--workspace WORKSPACE] [--apply]
Argument Value Default What it does
-h, --help show this help message and exit
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. simulation ids: --sims 2006 2007; comma forms 2006,2007 and [2006,2007] remain accepted, including mixtures of words and bracketed lists; a run id alias (2006_3) marks that point's record alone Required.
--reason REASON why, recorded as given
--points POINTS point names to mark within the selected simulations
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--apply change files; without it the command previews and changes nothing

pyfs-workspace show

usage: pyfs-workspace show [-h] [--point POINT] [--workspace WORKSPACE] [--runs RUNS] [--json | --csv] target
Argument Value Default What it does
-h, --help show this help message and exit
<target> run id, alias, or simulation id
--point POINT point name or 1-based alias index within the simulation
--workspace WORKSPACE . workspace root (default: current directory)
--runs RUNS another run manifest in the workspace root
--json print a JSON document of the rows
--csv print CSV; nested cells are JSON

pyfs-workspace log

usage: pyfs-workspace log [-h] [--post MATRIX | --storage] [--sims ID [ID...]] [--run RUN] [--stage STAGE] [--since SINCE] [--problems] [--open] [--workspace WORKSPACE] [--runs RUNS] [--json | --csv]
Argument Value Default What it does
-h, --help show this help message and exit
--post MATRIX group a matrix's saved post warnings
--storage list the recorded storage calls
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. Only these simulation ids.
--run RUN only events naming this run id or alias
--stage STAGE only this recorded stage (storage: command)
--since SINCE events since an ISO time or duration, e.g. 2h, 7d
--problems only problems and failed outcomes
--open stages started without a finish in the records; never asks a scheduler
--workspace WORKSPACE . workspace root (default: current directory)
--runs RUNS another run manifest in the workspace root
--json print a JSON document of the rows
--csv print CSV; nested cells are JSON

pyfs-workspace trace

usage: pyfs-workspace trace [-h] [--run RUN] [--workspace WORKSPACE] [--runs RUNS] [--json | --csv] [product]
Argument Value Default What it does
-h, --help show this help message and exit
<product> product path relative to the workspace or absolute
--run RUN print the provenance tree of this run id or alias
--workspace WORKSPACE . workspace root (default: current directory)
--runs RUNS another run manifest in the workspace root
--json print a JSON document of the rows
--csv print CSV; nested cells are JSON

pyfs-workspace history

Read present and archived records with continuation links and archive stamps. No log, lock, record or extracted file is written.

usage: pyfs-workspace history [-h] [--workspace WORKSPACE] [--runs NAME] [--json | --csv] target
Argument Value Default What it does
-h, --help show this help message and exit
<target> simulation id, point name, run id or alias
--workspace WORKSPACE . workspace root (default: current directory)
--runs NAME another root manifest and its archives
--json print one JSON document on stdout
--csv print the same rows as CSV, with LF line ends

pyfs-workspace diff

Compare versions, digests, solver flags, flight condition and outcome. Use run_id@<archive stamp> for an archived copy. Script changes name line numbers and candidate inputs using rebuild's comparison.

usage: pyfs-workspace diff [-h] [--workspace WORKSPACE] [--runs NAME] [--json | --csv] run_a run_b
Argument Value Default What it does
-h, --help show this help message and exit
<run_a> first run id or alias, optionally @<archive stamp>
<run_b> second run id or alias, optionally @<archive stamp>
--workspace WORKSPACE . workspace root (default: current directory)
--runs NAME another root manifest and its archives
--json print one JSON document on stdout
--csv print the same rows as CSV, with LF line ends

pyfs-workspace mark-converged

You know from your own reading that points converged where the package could not say so. Their records become CONVERGED, each keeping under 'marked' the status it had, when, your reason and the verdict; runs.json is copied to archive/ first. A point SUBMITTED, without its loads export, deleted, or marked failed is refused by name and nothing is written.

usage: pyfs-workspace mark-converged [-h] --sims ID [ID...] [--points NAME [NAME...]] --reason REASON [--workspace WORKSPACE] [--apply]
Argument Value Default What it does
-h, --help show this help message and exit
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. simulation ids: --sims 2006 2007; comma forms 2006,2007 and [2006,2007] remain accepted, including mixtures of words and bracketed lists; also as separate words (2006 2007) or a mix (2006 2007,2008); a quoted value '2006 2007' reads as two ids; to mark some of their points, use --points or a run id alias such as 2006_3 Required.
--points NAME the point names to mark; every point of the simulations without it
--reason REASON why, recorded as given Required.
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--apply change files; without it the command previews and changes nothing

pyfs-workspace search-log-batch

A SUBMITTED point of a batch whose outputs are all there but whose log is missing can recover its segment of the job's master log, found as <job stem>.job-log.txt, the scheduler's FTS<first sim>.l, or the only FTS.l* of the job's folder (a profile's native_log is read first). The segment is cut as collect cuts it; runs.json is not changed, and pyfs-matrix collect then judges the point from its log. A point with another output missing is left alone. Several candidate master logs, none, or too few points are named and nothing is written.

usage: pyfs-workspace search-log-batch [-h] [--sims ID [ID...]] [--master FILE] [--workspace WORKSPACE] [--apply]
Argument Value Default What it does
-h, --help show this help message and exit
--sims ID Use --sims ID [ID...]; commas and brackets are also accepted. simulation ids: --sims 2006 2007; comma forms 2006,2007 and [2006,2007] remain accepted, including mixtures of words and bracketed lists; every simulation without it
--master FILE the master log's name in the job's folder, instead of the search; use with --sims
--workspace WORKSPACE . the workspace root carrying runs.json (default: the current directory)
--apply write the logs; without it the command previews and changes nothing