JuliaDataCubes / JuliaDataCubes/YAXArrayBase.jl

backendfrompath should error if the regex is not found

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
3
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Currently when we have a backend driver loaded and want to use another one that is not loaded we will use the first backend that is in the backendlist.
This is a confusing behaviour for users, because they would expect to get an .nc file but got an zarr folder instead.

@dr-ko

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the backendfrompath entry point and inspect how it searches the backendlist when the requested regex does not match. Done means a missing match raises an error instead of selecting the first loaded backend; no specific test or file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.