Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 6, 2023
1 parent 377133b commit 575bec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pangeo_forge_recipes/dynamic_target_chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def _maybe_parse_bytes(target_chunk_size: Union[str, int]) -> int:
else:
return target_chunk_size


def dynamic_target_chunks_from_schema(
schema: XarraySchema,
target_chunk_size: Union[int, str],
Expand Down Expand Up @@ -77,7 +78,7 @@ def dynamic_target_chunks_from_schema(
target_chunk_size*(1+size_tolerance)]
default_ratio : int, optional
Default value to use for dimensions on the dataset not specified in
target_chunks_aspect_ratio, by default -1, meaning that the ommited dimension will
target_chunks_aspect_ratio, by default -1, meaning that the ommited dimension will
not be chunked.
allow_extra_dims : bool, optional
Allow to pass dimensions not present in the dataset to be passed in
Expand Down

0 comments on commit 575bec2

Please sign in to comment.