Skip to content

refactor: random cleanups from the opt_cylcle_I-branch#494

Merged
romanc merged 3 commits into
NOAA-GFDL:developfrom
romanc:romanc/stenil-cleanup
Jul 1, 2026
Merged

refactor: random cleanups from the opt_cylcle_I-branch#494
romanc merged 3 commits into
NOAA-GFDL:developfrom
romanc:romanc/stenil-cleanup

Conversation

@romanc

@romanc romanc commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR combines

  • disambiguate dace import in stencil module
  • push lazy-import of matplotlib
  • and some minor clenaups

which are all technically unrelated to the opt_cycle_I-branch but in there nevertheless. This PR is part of building back the "opt_cycle_I"-branch, i.e. trying to get #465 into a smaller changeset.

How has this been tested?

Assumed to be covered in one way or another by current tests. At least, it worked on the opt_cycle_I-branch when running integrated in GEOS.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas: N/A
  • I have made corresponding changes to the documentation (e.g. add new modules to docs/docstrings/)
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules: N/A
  • New check tests, if applicable, are included: N/A

romanc and others added 3 commits July 1, 2026 15:03
Because we have a "dace/" directory in `ndsl/dsl`, the previous import
could be resolved as a local import. If that happened (depending on
import order), then the DaCe's `Config` object would not be found there.
Resolved by importing `Config` from `dace.config`, which is unambiguous
to resolve.

In addition, this PR adds light cleanup when selecting origin/domain
form dims.
@romanc romanc requested a review from twicki July 1, 2026 13:11
@romanc romanc changed the title Romanc/stenil cleanup refactor: random cleanups from the opt_cylcle_I-branch Jul 1, 2026
@romanc romanc enabled auto-merge July 1, 2026 13:45

@twicki twicki left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These all make sense, thanks for extracting

@romanc romanc added this pull request to the merge queue Jul 1, 2026
Merged via the queue into NOAA-GFDL:develop with commit 0337f00 Jul 1, 2026
9 checks passed
@romanc romanc deleted the romanc/stenil-cleanup branch July 1, 2026 17:20
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.

3 participants