Skip to content
Snippets Groups Projects
Commit f3505027 authored by Etor Lucio Eceiza's avatar Etor Lucio Eceiza
Browse files

fix: correct asses dimension mapping in _map_chunks()

parent 136944d0
No related branches found
No related tags found
1 merge request!15add functionality to allow prioritizing horizontal chunking over temporal dimension
Pipeline #100494 passed
......@@ -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]
elif "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]
elif "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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment