Skip to content

Commit

Permalink
updated chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Nov 19, 2024
1 parent 0462ddb commit eb9bd01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configs/config_local_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
BUCKET_PREFIX = f"gs://leap-scratch/{user}/{repo_name}"
print(f"{BUCKET_PREFIX=}")

c.Bake.prune = False
c.Bake.prune = True
c.Bake.bakery_class = "pangeo_forge_runner.bakery.local.LocalDirectBakery"
c.TargetStorage.fsspec_class = "gcsfs.GCSFileSystem"
c.InputCacheStorage.fsspec_class = "gcsfs.GCSFileSystem"
Expand Down
10 changes: 5 additions & 5 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
# Can we inject this in the same way as the root?
# Maybe its better to find another way and avoid injections entirely...
combine_dims=pattern_a.combine_dim_keys,
target_chunks={"time": 300},
target_chunks={'time':200, 'latitude':200, 'longitude':720},
)
| InjectAttrs()
| ConsolidateDimensionCoordinates()
| ConsolidateMetadata()
| CopyRclone(
target=catalog_store_urls["chirps-global-daily"].replace(
"https://nyu1.osn.mghpcc.org/", ""
)
) # FIXME
)
"https://nyu1.osn.mghpcc.org/", ""))
)

0 comments on commit eb9bd01

Please sign in to comment.