Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rechunk-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ch1187
rechunk-data
Commits
f3505027
Commit
f3505027
authored
1 month ago
by
Etor Lucio Eceiza
Browse files
Options
Downloads
Patches
Plain Diff
fix: correct asses dimension mapping in _map_chunks()
parent
136944d0
No related branches found
No related tags found
1 merge request
!15
add functionality to allow prioritizing horizontal chunking over temporal dimension
Pipeline
#100494
passed
1 month ago
Stage: test
Stage: report
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rechunk_data/_rechunk.py
+2
-2
2 additions, 2 deletions
src/rechunk_data/_rechunk.py
with
2 additions
and
2 deletions
src/rechunk_data/_rechunk.py
+
2
−
2
View file @
f3505027
...
...
@@ -199,9 +199,9 @@ def _map_chunks(
for
dim
,
index
in
dim_mapping
.
items
():
if
"
time
"
in
dim
.
lower
():
updated_chunks
[
index
]
=
chunk_tuple
[
0
]
el
if
"
y
"
in
dim
.
lower
()
or
"
lat
"
in
dim
.
lower
():
if
"
y
"
in
dim
.
lower
()
or
"
lat
"
in
dim
.
lower
():
updated_chunks
[
index
]
=
chunk_tuple
[
1
]
el
if
"
x
"
in
dim
.
lower
()
or
"
lon
"
in
dim
.
lower
():
if
"
x
"
in
dim
.
lower
()
or
"
lon
"
in
dim
.
lower
():
updated_chunks
[
index
]
=
chunk_tuple
[
2
]
return
updated_chunks
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment