Skip to content

fix local zarr#650

Merged
lazarusA merged 1 commit into
mainfrom
la/fix_local_zarr
May 29, 2026
Merged

fix local zarr#650
lazarusA merged 1 commit into
mainfrom
la/fix_local_zarr

Conversation

@lazarusA
Copy link
Copy Markdown
Member

while adding functionality for local servers I had a name clash (added a bug) local: vs local, where local is a global state use when uploading local netCDF or Zarr stores. For now this fixes the issue of opening in those cases. We should have more descriptive names in the future.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the early return condition in the LandingHome component's useEffect hook to check if initStore starts with 'local:' instead of 'local'. However, this change introduces a bug where local NetCDF files will no longer trigger the early return, resulting in their metadata being overwritten by the previously active Zarr store. It is recommended to update the condition to check for 'local', 'local:', and whether useNC is active.

Comment thread src/components/LandingHome.tsx
@lazarusA lazarusA merged commit 949845b into main May 29, 2026
6 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.

1 participant