Skip to content

Commit

Permalink
try experimental min
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Sep 11, 2024
1 parent 0821e97 commit a186891
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
--job_name $JOB_NAME \
--region us-central1 \
--machine_type t2d-standard-16 \
--disk_size_gb 50 \
--num_workers 5 \
--disk_size_gb 50
--max_num_workers 100 \
--experiments=minNumWorkers=5 \
--temp_location gs://leap-persistent/norlandrhagen/dataflow_temp/temp/ \
--staging_location gs://leap-persistent/norlandrhagen/dataflow_temp/staging/
2 changes: 1 addition & 1 deletion xbeam_virtualizarr/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def run(argv=None, save_main_session=True):

combined_ds = xr.open_dataset(reference_path, engine="kerchunk", chunks=None)
# subset the reference zarr
source_dataset = combined_ds.isel(day=slice(0, 10000))[
source_dataset = combined_ds.isel(day=slice(0, 20000))[
["air_temperature"]
] # all vars
# source_chunks = dict(source_dataset.sizes) # this is total size. Hardcode for now
Expand Down

0 comments on commit a186891

Please sign in to comment.