Skip to content

Shortened SOFAST output path lengths#326

Merged
jehsharp merged 5 commits into
sandialabs:developfrom
rcbrost:sofast_diagnostics
Feb 4, 2026
Merged

Shortened SOFAST output path lengths#326
jehsharp merged 5 commits into
sandialabs:developfrom
rcbrost:sofast_diagnostics

Conversation

@rcbrost
Copy link
Copy Markdown
Collaborator

@rcbrost rcbrost commented Feb 4, 2026

Purpose

Shortened SOFAST file paths to facilitate OpenCSP data distribution and ctemp use.

Summary of changes

The goal is to support efficient new user initial development using the ctemp directory. Implementing the data set for release revealed that the current file naming convention produced overall path lengths that would not unzip in the ctemp directory.

In response, I trimmed the paths by both topological simplification and also reducing the length of both directory and file names.

This in turn required some minor changes to the figure management utility, and also replacement of the expected figures, since both their names and contents changed, causing pytests to fail.

After these updates, the distribution to ctemp proceeds smoothly, and both pytest and manual exercise succeeded.

The required data set will be submitted for approval to release to OpenCSP_Data.

Implementation notes

Pytest and manual exercise of the example_process_single_facet script on the six different example SOFAST run configurations.

Submission checklist

  • Target branch is develop, not main
  • Existing tests are updated or new tests were added
  • opencsp/test/test_DocStringsExist.py are verified to include this change or have been updated accordingly
  • .rst file(s) under doc/ are verified to include this change or have been updated accordingly

@rcbrost rcbrost requested a review from jehsharp February 4, 2026 22:06
@rcbrost rcbrost added the documentation Improvements or additions to documentation label Feb 4, 2026
@jehsharp jehsharp self-assigned this Feb 4, 2026
Copy link
Copy Markdown
Collaborator

@jehsharp jehsharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, I will get it merged in!

@jehsharp jehsharp merged commit 1d4d001 into sandialabs:develop Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants