Skip to content

rte_configure_and_exit Skip LUT Creation#683

Merged
pgbrodrick merged 3 commits into
isofit:devfrom
jammont:issues/681
Jun 30, 2025
Merged

rte_configure_and_exit Skip LUT Creation#683
pgbrodrick merged 3 commits into
isofit:devfrom
jammont:issues/681

Conversation

@jammont

@jammont jammont commented May 7, 2025

Copy link
Copy Markdown
Collaborator

Does as the title suggests, just skips creating the LUT file when engine_config.rte_configure_and_exit is set. Tad invasive of an implementation due to the need to still allow the entirety of runSimulations to execute depending on where engines may write configuration files (ie. pre, make, or postSim functions), so we have to if self.engine_config.rte_configure_and_exit multiple times to skip certain lines. Not sure if there's a more graceful solution.

Needs some further testing

Closes #681

@jammont jammont requested a review from pgbrodrick May 7, 2025 21:19
Comment thread isofit/radiative_transfer/radiative_transfer_engine.py
@pgbrodrick

Copy link
Copy Markdown
Collaborator

Thanks James! This looks great...I don't actually think there's another exit call after the RTE build (unless I missed it)...do you think it would be reasonable to add one where I marked above, after the json's are built? That way we don't try and do the inversions (which won't succeed)...

@pgbrodrick pgbrodrick merged commit 2b6681c into isofit:dev Jun 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rte_configure_and_exit - no lut needed

2 participants