Repository navigation
Fix/state continent level - #169
Merged
Merged
Conversation
Export continent_level as layout.continent-level and restore it on import. Read the extended layout keys with defaults so older state files reset grid spacing, map center and coastlines to the UI defaults instead of keeping the current session values, and files missing some keys no longer raise KeyError.
Export the remaining user-adjustable colormap fields (ticks, preset category, out-of-range cut, NaN color, independent bands, diverging mode with epsilon and abs_max). On import, apply epsilon/abs_max after the diverging watcher has settled, since entering diverging mode recomputes abs_max from the data and would discard the saved value. Also align the animation step with the restored index of the active track (changing the track resets the step to 0), and turn cursor probing off when importing a state since it is a transient interaction mode.
Start the app headless on a generated simulation file matching the bundled ne30pg2 connectivity, then check that an exported state re-imports unchanged (coastlines, colormap incl. diverging parameters), that probing is turned off and the animation step follows the restored index, and that legacy or partial layout sections fall back to defaults. Run the suite in CI under xvfb and document how to run it locally.
codespell only reads .codespellrc, which already lists these words in ignore-words-list.
ViewManager stored asyncio.get_event_loop() at construction, which is deprecated outside a running loop (DeprecationWarning on 3.12-3.13, no implicit loop on 3.14). It also implicitly provided the loop that widgets later schedule startup tasks on. Create and register the loop once at the start of EAMApp, and resolve the running loop when the delayed render is scheduled on size updates.
The install docs create environments with Python 3.14 while quickview-env.yml pins 3.13. Build the CI environment from the same file with the Python version taken from a matrix.
import_state only schedules _import_state and returns None, so awaiting it raised a TypeError at startup (the state was still loaded by the scheduled task).
Add a Command-line options section to the install guide (data, connectivity and state pre-loading, file browser start directory, web server port/host, perf timings), point the Chrysalis start-directory tip to --workdir, and describe the quickview-chunk rechunking tool.
… options Describe the name filter, Reset and Cancel buttons, the state menu entries and the Save QuickView State file dialog, and the Import state file button for state files stored on the server. Align button labels with the UI.
Describe the jupyter extra and the E3SM QuickView launcher tile, and point Tip 3 of the JupyterHub page to the launching page where the commands it refers to are listed.
The selected-only and unselected-only lists used Vuetify's plain
substring filter, so pattern (text*, *text) and exact ("text") searches
only worked when the full list was shown.
Add the Capture viewport as png and Background Colors buttons, mention the grid line and coastline options of Map Projection, and use the State Import/Export name shown in the toolbar tooltip.
…screenshot The page relied on a v2.9.4 screenshot that missed the pan/zoom shortcuts and the Background Colors button.
Add Resources to the top navigation, rename the dev sidebar group to Development with a Where Things Are entry, give both pages a title, and point the toolbar icon hint to components/tools.py.
jourdain
commented
Nov 23, 2026
| v3.enable_lab() | ||
|
|
||
|
|
||
| def ensure_event_loop(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.