Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Sep 11, 2024
1 parent 4710e23 commit b12f0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbeam_virtualizarr/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def run(argv=None, save_main_session=True):

combined_ds = xr.open_dataset(reference_path, engine="kerchunk", chunks={})
# subset the reference zarr
source_dataset = combined_ds.isel(day=slice(0, 2000))[
source_dataset = combined_ds.isel(day=slice(0, 5000))[
["air_temperature"]
] # all vars
# source_chunks = dict(source_dataset.sizes) # this is total size. Hardcode for now
source_chunks = {"day": 61, "lat": 98, "lon": 231}
target_chunks = {"day": 16, "lat": 585, "lon": 1386} # ~ full map 100MB chunks

itemsize =8
itemsize = 8

with beam.Pipeline(options=pipeline_options) as p:
(
Expand Down

0 comments on commit b12f0fa

Please sign in to comment.