Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
added dependency (semantic-version) for inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Mar 6, 2024
1 parent 5f45075 commit b6a0699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
21 changes: 2 additions & 19 deletions ecml_tools/commands/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,26 +153,9 @@ def copy_group(self, source, target, transfers, block_size, _copy, progress, rec
for name in sorted(source.keys()):
if isinstance(source[name], zarr.hierarchy.Group):
group = target[name] if name in target else target.create_group(name)
self.copy_group(
source[name],
group,
transfers,
block_size,
_copy,
progress,
rechunking,
)
self.copy_group(source[name], group, transfers, block_size, _copy, progress, rechunking)
else:
self.copy_array(
name,
source,
target,
transfers,
block_size,
_copy,
progress,
rechunking,
)
self.copy_array(name, source, target, transfers, block_size, _copy, progress, rechunking)

def copy(self, source, target, transfers, block_size, progress, rechunking):
import zarr
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def read(fname):
"climetlab", # "earthkit-data"
"earthkit-meteo",
"pyproj",
"semantic-version",
]


Expand Down

0 comments on commit b6a0699

Please sign in to comment.