rda-python-dsarch 1.0.6__tar.gz → 1.0.7__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.
Files changed (19) hide show
  1. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/PKG-INFO +2 -2
  2. rda_python_dsarch-1.0.7/README.md +1 -0
  3. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/pyproject.toml +1 -1
  4. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/dsarch.py +4 -2
  5. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch.egg-info/PKG-INFO +2 -2
  6. rda_python_dsarch-1.0.6/README.md +0 -1
  7. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/LICENSE +0 -0
  8. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/MANIFEST.in +0 -0
  9. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/setup.cfg +0 -0
  10. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/PgArch.py +0 -0
  11. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/PgMeta.py +0 -0
  12. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/__init__.py +0 -0
  13. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/dsarch.c +0 -0
  14. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch/dsarch.usg +0 -0
  15. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  16. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  17. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  18. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  19. {rda_python_dsarch-1.0.6 → rda_python_dsarch-1.0.7}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.6
3
+ Version: 1.0.7
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
@@ -12,4 +12,4 @@ Requires-Python: >=3.7
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
 
15
- RDA python code template to create new and modify existing RDA python packages.
15
+ RDA python Package to archive and maintain RDA datasets.
@@ -0,0 +1 @@
1
+ RDA python Package to archive and maintain RDA datasets.
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "rda_python_dsarch"
10
- version = "1.0.6"
10
+ version = "1.0.7"
11
11
  authors = [
12
12
  { name="Zaihua Ji", email="zji@ucar.edu" },
13
13
  ]
@@ -5,6 +5,8 @@
5
5
  # Title: dsarch
6
6
  # Author: Zaihua Ji, zji@ucar.edu
7
7
  # Date: 09/29/2020
8
+ # 2025-01-25 transferred to package rda_python_dsarch from
9
+ # https://github.com/NCAR/rda-utility-programs.git
8
10
  # Purpose: utility program to archive data files of a given dataset onto RDA
9
11
  # server; and save information of data files into RDADB
10
12
  #
@@ -1549,8 +1551,8 @@ def archive_backup_file():
1549
1551
 
1550
1552
  info = PgFile.check_local_file(tarfile, 33) # 1+32
1551
1553
  fsize = info['data_size'] if info else 0
1552
- if fsize < tinfo['size']:
1553
- PgLOG.pglog("{}: Backup file size {} is less than total file size {}".format(tarfile, fsize, tinfo['size']), PgOPT.PGOPT['extlog'])
1554
+ # if fsize < tinfo['size']:
1555
+ # PgLOG.pglog("{}: Backup file size {} is less than total file size {}".format(tarfile, fsize, tinfo['size']), PgOPT.PGOPT['extlog'])
1554
1556
  if fsize < PgLOG.PGLOG['ONEGBS']:
1555
1557
  PgLOG.pglog("{}: Backup file size {} is less than one GB".format(tarfile, fsize), PgOPT.PGOPT['extlog'])
1556
1558
  record = {'type' : qtype, 'data_format' : tinfo['dfmt'], 'data_size' : fsize,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.6
3
+ Version: 1.0.7
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
@@ -12,4 +12,4 @@ Requires-Python: >=3.7
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
 
15
- RDA python code template to create new and modify existing RDA python packages.
15
+ RDA python Package to archive and maintain RDA datasets.
@@ -1 +0,0 @@
1
- RDA python code template to create new and modify existing RDA python packages.