rda-python-dsarch 2.0.15__tar.gz → 2.0.16__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 (21) hide show
  1. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/PKG-INFO +1 -1
  2. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/pyproject.toml +1 -1
  3. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/dsarch.py +1 -1
  4. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/dsarch.usg +8 -2
  5. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/pg_arch.py +1 -0
  6. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/PKG-INFO +1 -1
  7. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/LICENSE +0 -0
  8. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/MANIFEST.in +0 -0
  9. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/README.md +0 -0
  10. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/setup.cfg +0 -0
  11. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/PgArch.py +0 -0
  12. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/PgMeta.py +0 -0
  13. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/__init__.py +0 -0
  14. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/ds_arch.py +0 -0
  15. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch/pg_meta.py +0 -0
  16. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  17. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  18. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  19. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  20. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  21. {rda_python_dsarch-2.0.15 → rda_python_dsarch-2.0.16}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.15
3
+ Version: 2.0.16
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_dsarch"
7
- version = "2.0.15"
7
+ version = "2.0.16"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -2645,7 +2645,7 @@ class DsArch(PgArch, PgMeta):
2645
2645
  if 'RO' in self.params and 'DO' in self.params:
2646
2646
  self.params['DO'][i] = self.get_next_disp_order(dsid, gindex)
2647
2647
  record = self.build_record(flds, pgrec, tname, i)
2648
- if pgrec and (pgrec['status'] == 'D' or self.PGOPT['ACTS']&self.OPTS['AW'][0]):
2648
+ if pgrec and (pgrec['status'] == 'D' or 'WS' in self.params or self.PGOPT['ACTS']&self.OPTS['AW'][0]):
2649
2649
  record['uid'] = self.PGOPT['UID']
2650
2650
  if not (info and info['date_modified']):
2651
2651
  info = self.check_local_file(self.get_web_path(i, file, 1, type),
@@ -866,6 +866,8 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
866
866
  processing, used with -GX (-GatherXML)
867
867
  -(SC|SetChecksum) - computes MD5 checksums for files on the GDEX
868
868
  Server and saves them to GDEXDB
869
+ -(WS|WithFileSize) - gathers file size information for Web files on the GDEX
870
+ Server and saves them to GDEXDB
869
871
 
870
872
  Web file names must be provided via -WF (-WebFile) unless -ON
871
873
  (-OrderNames) is used to reorder files. The number of values supplied
@@ -1878,6 +1880,10 @@ behavior.
1878
1880
  (-GetDataset), the counts are calculated on the fly and included
1879
1881
  in the output.
1880
1882
 
1883
+ -WS or -WithFileSize, rechecks Web file sizes and timestamps for
1884
+ provided web files with -WF (-WebFile), and updates them into GDEXDB
1885
+ This Mode option works with action -SW (SetWebFile) only.
1886
+
1881
1887
  -XC or -CrossCopy, used with -AW or -AS to fill gaps in storage:
1882
1888
  copies files from Glade disk to bOreas (or vice versa) wherever
1883
1889
  copies are missing.
@@ -2010,7 +2016,7 @@ They come in two forms:
2010
2016
  A multi-value Info option accepts a list of one or more values.
2011
2017
  Supplying zero values causes an error.
2012
2018
 
2013
- -AF or -ArchiveFormat (Alias: -FF|-FileFormat|-ExternalFormat),
2019
+ -AF or -ArchiveFormat (Alias: -FF|-FileFormat),
2014
2020
  describes how a data file has been packaged or compressed.
2015
2021
  Recognized values:
2016
2022
  'BI' - binary (COS) blocked
@@ -2071,7 +2077,7 @@ They come in two forms:
2071
2077
  containing spaces on the command line. With version control
2072
2078
  actions (-SV), this becomes the version note.
2073
2079
 
2074
- -DF or -DataFormat (Alias: -TF|-ContentFormat|-InternalFormat),
2080
+ -DF or -DataFormat (Alias: -TF|-ContentFormat),
2075
2081
  the scientific format of the data content (e.g., NetCDF, IMMA,
2076
2082
  BINARY). A dataset-level default can be set via -SD and is applied
2077
2083
  automatically when no format is specified at archive time.
@@ -126,6 +126,7 @@ class PgArch(PgOPT, PgCMD, PgSplit):
126
126
  'WC' : [0, 'WithChecksum', 0],
127
127
  'WM' : [0, 'WithMetadata', 3],
128
128
  'WN' : [0, 'WithFileNumber',3],
129
+ 'WS' : [0, 'WithFileSize', 3],
129
130
  'XC' : [0, 'CrossCopy', 1],
130
131
  'XM' : [0, 'CrossMove', 1],
131
132
  'ZD' : [0, 'ZipData', 3],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.15
3
+ Version: 2.0.16
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