rda-python-dsarch 3.0.14__tar.gz → 3.0.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rda_python_dsarch-3.0.14/src/rda_python_dsarch.egg-info → rda_python_dsarch-3.0.15}/PKG-INFO +1 -1
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/pyproject.toml +1 -1
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/dsarch.py +3 -5
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/pg_meta.py +3 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15/src/rda_python_dsarch.egg-info}/PKG-INFO +1 -1
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/LICENSE +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/MANIFEST.in +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/README.md +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/setup.cfg +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/PgArch.py +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/PgMeta.py +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/__init__.py +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/ds_arch.py +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/dsarch.usg +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch/pg_arch.py +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
- {rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/tests/test_dsarch.py +0 -0
|
@@ -534,7 +534,7 @@ class DsArch(PgArch, PgMeta):
|
|
|
534
534
|
if self.PGSIG['BPROC'] < 2:
|
|
535
535
|
if not fnames: fnames = self.get_field_keys(tname, None, "G") # get setting fields if not yet
|
|
536
536
|
info = None
|
|
537
|
-
if
|
|
537
|
+
if afile: # also when already in place, so a directory gets its real total size
|
|
538
538
|
info = self.check_local_file(afile, 1, self.PGOPT['emerol']|self.PFSIZE)
|
|
539
539
|
elif oarch:
|
|
540
540
|
info = self.check_object_file(ofile, bucket, 1, self.PGOPT['emerol'])
|
|
@@ -926,10 +926,8 @@ class DsArch(PgArch, PgMeta):
|
|
|
926
926
|
bgcnt += 1
|
|
927
927
|
if self.PGSIG['BPROC'] < 2:
|
|
928
928
|
if not fnames: fnames = self.get_field_keys(tname, None, "G") # get setting fields if not yet
|
|
929
|
-
info =
|
|
930
|
-
if
|
|
931
|
-
info = self.check_local_file(afile, 1, self.PGOPT['emerol']|self.PFSIZE)
|
|
932
|
-
elif pgrec:
|
|
929
|
+
info = self.check_local_file(afile, 1, self.PGOPT['emerol']|self.PFSIZE) # also when already in place
|
|
930
|
+
if not info and pgrec:
|
|
933
931
|
info = self.get_file_origin_info(sfile, pgrec)
|
|
934
932
|
sid = self.set_one_savedfile(i, pgrec, sfile, fnames, type, info)
|
|
935
933
|
if not sid:
|
|
@@ -639,6 +639,9 @@ class PgMeta(PgCMD, PgSplit):
|
|
|
639
639
|
d = self.metadata_dataset_id(dsid)
|
|
640
640
|
if d not in self.META[c]: self.META[c][d] = []
|
|
641
641
|
f = fmt.lower()
|
|
642
|
+
if f == "zarr": # gatherxml has no reader for Zarr stores
|
|
643
|
+
self.pglog("{}-{}: Skip 'gatherxml' for Data Format '{}'".format(dsid, file, fmt), self.LOGWRN)
|
|
644
|
+
return 0
|
|
642
645
|
if f == "netcdf": f = "cf" + f
|
|
643
646
|
if not lfile: lfile = op.basename(file)
|
|
644
647
|
self.META[c][d].append([file, f, lfile, mfile])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_dsarch-3.0.14 → rda_python_dsarch-3.0.15}/src/rda_python_dsarch.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|