Skip to content

Commit

Permalink
added dimension name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Anu-Ra-g committed Jul 29, 2024
1 parent 62287fb commit 439f4dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kerchunk/grib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ def extract_dataset_chunk_index(
# Must be able to get a single coordinate value for each chunk to index it.
raise ValueError(
"Can not extract chunk index for %s with non singleton chunk dimensions"
% ddim_nane
)
# Drop the dim where each chunk covers the whole dimension - no indexing needed!

Expand Down

0 comments on commit 439f4dc

Please sign in to comment.