rda-python-dsarch 2.0.9__py3-none-any.whl → 2.0.12__py3-none-any.whl
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/dsarch.usg +29 -24
- {rda_python_dsarch-2.0.9.dist-info → rda_python_dsarch-2.0.12.dist-info}/METADATA +3 -1
- rda_python_dsarch-2.0.12.dist-info/RECORD +14 -0
- rda_python_dsarch-2.0.9.dist-info/RECORD +0 -14
- {rda_python_dsarch-2.0.9.dist-info → rda_python_dsarch-2.0.12.dist-info}/WHEEL +0 -0
- {rda_python_dsarch-2.0.9.dist-info → rda_python_dsarch-2.0.12.dist-info}/entry_points.txt +0 -0
- {rda_python_dsarch-2.0.9.dist-info → rda_python_dsarch-2.0.12.dist-info}/licenses/LICENSE +0 -0
- {rda_python_dsarch-2.0.9.dist-info → rda_python_dsarch-2.0.12.dist-info}/top_level.txt +0 -0
rda_python_dsarch/dsarch.usg
CHANGED
|
@@ -72,8 +72,8 @@ disk for internal use or NCAR user access is not version-controlled and remains
|
|
|
72
72
|
the responsibility of the dataset owner.
|
|
73
73
|
|
|
74
74
|
This document first covers general 'dsarch' usage, then describes each Action
|
|
75
|
-
option in detail, followed by Mode and Info options.
|
|
76
|
-
throughout each section.
|
|
75
|
+
option in detail, followed by Mode and Information (Info for short) options.
|
|
76
|
+
Examples are provided throughout each section.
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
2 GENERAL DSARCH USAGE
|
|
@@ -84,9 +84,10 @@ throughout each section.
|
|
|
84
84
|
|
|
85
85
|
Brackets [] indicate optional elements. A pipe '|' within parentheses, as in
|
|
86
86
|
(A|B), means either A or B may be used. Options fall into three categories:
|
|
87
|
-
Action options
|
|
88
|
-
Mode options
|
|
89
|
-
Info options
|
|
87
|
+
Action options - specify what task to execute
|
|
88
|
+
Mode options - modify how an action behaves
|
|
89
|
+
Info options - supply values to the action
|
|
90
|
+
|
|
90
91
|
Options may be given in short or long form (e.g., -DS or -Dataset). Some
|
|
91
92
|
options have alias names; for example, -UseRDADB is an alias for -UD
|
|
92
93
|
(-UseDSARCH). Option names are case-insensitive,
|
|
@@ -111,10 +112,12 @@ is contained within that file.
|
|
|
111
112
|
Info options used with GET actions serve as query filters. Four special
|
|
112
113
|
characters enable more precise filtering — they must be quoted or escaped
|
|
113
114
|
on the command line to prevent shell interpretation:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
'!' - exclude matches; must appear immediately after the option name
|
|
116
|
+
(may need escaping as '\!' in some shells due to history expansion)
|
|
117
|
+
'<' - less-than comparison on the following value
|
|
118
|
+
'>' - greater-than comparison on the following value
|
|
119
|
+
'<>' - range between two values
|
|
120
|
+
|
|
118
121
|
Combining '!' and '<' as "'!' '<' OptionValue" expresses a 'greater than or
|
|
119
122
|
equal to OptionValue' condition.
|
|
120
123
|
|
|
@@ -1579,9 +1582,9 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
|
|
|
1579
1582
|
Saved/Web/Help/Quasar file records for a dataset in one step. Equivalent to
|
|
1580
1583
|
running -SD, -SG, -SS, -SW, -SH, and -SQ together.
|
|
1581
1584
|
|
|
1582
|
-
dsarch
|
|
1583
|
-
[-(LN|LoginName) LoginAccountName]
|
|
1585
|
+
dsarch [-(DS|Dataset)] dNNNNNN -(SA|SetAll) [Mode Options]
|
|
1584
1586
|
-(IF|InputFile) Input Files
|
|
1587
|
+
[-(LN|LoginName) LoginAccountName]
|
|
1585
1588
|
[-(DB|Debug) DebugModeInfo]
|
|
1586
1589
|
|
|
1587
1590
|
All Mode options applicable to the individual Set actions may be used with
|
|
@@ -1760,13 +1763,13 @@ take no values — simply include the flag to activate the behavior.
|
|
|
1760
1763
|
'GZ', 'compress' for 'Z', 'zip' for 'ZIP', 'bzip' for 'BZ2'. Files already
|
|
1761
1764
|
in the target format are skipped. Files compressed in a different format are
|
|
1762
1765
|
decompressed first (using the tool matched by extension: '.gz', '.Z', '.zip',
|
|
1763
|
-
or '.bz2') before
|
|
1766
|
+
or '.bz2') before being recompressed into the target format.
|
|
1764
1767
|
|
|
1765
1768
|
|
|
1766
1769
|
5 INFORMATION OPTIONS
|
|
1767
1770
|
|
|
1768
|
-
Information (Info) options pass data values into 'dsarch'.
|
|
1769
|
-
forms:
|
|
1771
|
+
Information (Info for short) options pass data values into 'dsarch'.
|
|
1772
|
+
They come in two forms:
|
|
1770
1773
|
Single-Value Info Options - accept exactly one value per invocation
|
|
1771
1774
|
Multi-Value Info Options - accept one or more values per invocation
|
|
1772
1775
|
|
|
@@ -1827,7 +1830,8 @@ forms:
|
|
|
1827
1830
|
ascending; lowercase means descending. When file records are modified via
|
|
1828
1831
|
-AS, -AW, -SS, -SW, -DL, or -MV, files in affected groups are reordered too.
|
|
1829
1832
|
|
|
1830
|
-
|
|
1833
|
+
For example, to reorder an existing file list without other changes,
|
|
1834
|
+
use -SW with -ON:
|
|
1831
1835
|
|
|
1832
1836
|
dsarch dNNNNNN -SW -ON OrderNameString [-GI GroupIndices]
|
|
1833
1837
|
|
|
@@ -1850,6 +1854,7 @@ forms:
|
|
|
1850
1854
|
'I' - enabled for internal users only
|
|
1851
1855
|
'P' - enabled and file lists are published publicly
|
|
1852
1856
|
'W' - file list publication only
|
|
1857
|
+
|
|
1853
1858
|
Any value except 'N' must be set before 'dsarch' can write to GDEXDB.
|
|
1854
1859
|
|
|
1855
1860
|
-VS or -ValidSize, the minimum acceptable file size (in bytes) for
|
|
@@ -1874,8 +1879,9 @@ forms:
|
|
|
1874
1879
|
'Z' - compressed
|
|
1875
1880
|
'GZ' - gzipped
|
|
1876
1881
|
'BZ2' - bzip2-compressed
|
|
1882
|
+
|
|
1877
1883
|
Combine values in processing order, e.g., 'C1.TAR.GZ' = COS ASCII blocked,
|
|
1878
|
-
then tarred, then gzipped. Maximum total length is
|
|
1884
|
+
then tarred, then gzipped. Maximum total length is 20 characters.
|
|
1879
1885
|
|
|
1880
1886
|
-BD or -BeginDate, the earliest date covered by the data, for a group,
|
|
1881
1887
|
the whole dataset, or a version control record.
|
|
@@ -1893,7 +1899,7 @@ forms:
|
|
|
1893
1899
|
or more host names may follow -BP to target or exclude specific hosts
|
|
1894
1900
|
(e.g., '-d PBS' to use PBS batch hosts). An optional retry limit (1-99)
|
|
1895
1901
|
can also be specified, e.g., '-d 5'; defaults to 2. Archive actions
|
|
1896
|
-
(-AS, -AW, -AH, -AQ) retry automatically after storage system
|
|
1902
|
+
(-AS, -AW, -AH, -AQ) retry automatically after storage system outage.
|
|
1897
1903
|
|
|
1898
1904
|
-BS or -BackupStatus, the current Quasar backup state for a file:
|
|
1899
1905
|
'A' - archived to Quasar (complete)
|
|
@@ -1947,7 +1953,7 @@ forms:
|
|
|
1947
1953
|
-FF or -FileFlag, specifies whether an entry represents a regular file
|
|
1948
1954
|
('F') or a directory path ('P').
|
|
1949
1955
|
|
|
1950
|
-
-FS or -FileStatus, the access level of a file
|
|
1956
|
+
-FS or -FileStatus, the access level of a file, 'P' (public, visible to
|
|
1951
1957
|
all users) or 'I' (internal, visible to specialists only).
|
|
1952
1958
|
|
|
1953
1959
|
-FT or -FileTime, the time of day a data file was last modified.
|
|
@@ -1970,14 +1976,14 @@ forms:
|
|
|
1970
1976
|
-GP or -GroupPattern, wildcard patterns that 'dsarch' uses to automatically
|
|
1971
1977
|
assign files to the right group during archiving. Stored per group via -SG.
|
|
1972
1978
|
|
|
1973
|
-
-GT or -GroupType (Alias: -GroupDataType), the access level for a group
|
|
1979
|
+
-GT or -GroupType (Alias: -GroupDataType), the access level for a group,
|
|
1974
1980
|
'P' (public) or 'I' (internal). Changing from P to I recursively marks
|
|
1975
1981
|
all nested subgroups and their Web files as internal.
|
|
1976
1982
|
|
|
1977
1983
|
-HF or -HelpFile, the destination names for Help files on the GDEX Server.
|
|
1978
1984
|
Defaults to the local file names from -LF unless overridden explicitly.
|
|
1979
1985
|
|
|
1980
|
-
-HT or -HelpFileType (Alias: -HelpType), the category of a Help file
|
|
1986
|
+
-HT or -HelpFileType (Alias: -HelpType), the category of a Help file,
|
|
1981
1987
|
'D' (Document) or 'S' (Software). One value applies to all files in the
|
|
1982
1988
|
batch.
|
|
1983
1989
|
|
|
@@ -2011,15 +2017,12 @@ forms:
|
|
|
2011
2017
|
128 characters.
|
|
2012
2018
|
|
|
2013
2019
|
Set a pair:
|
|
2014
|
-
|
|
2015
2020
|
dsarch d540000 SD -KV 'test=>test it'
|
|
2016
2021
|
|
|
2017
2022
|
View a specific key:
|
|
2018
|
-
|
|
2019
2023
|
dsarch d540000 GD -KV test
|
|
2020
2024
|
|
|
2021
2025
|
View all pairs:
|
|
2022
|
-
|
|
2023
2026
|
dsarch d540000 GD -KV all
|
|
2024
2027
|
|
|
2025
2028
|
-LC or -Location (Alias: -LocationFlag), where the file resides:
|
|
@@ -2028,6 +2031,7 @@ forms:
|
|
|
2028
2031
|
'O' - Object Store
|
|
2029
2032
|
'B' - both Glade and Object Store
|
|
2030
2033
|
'R' - remote URL (Help files only)
|
|
2034
|
+
|
|
2031
2035
|
At the dataset level (as the online access location), only 'G' or 'O'
|
|
2032
2036
|
are valid.
|
|
2033
2037
|
|
|
@@ -2103,6 +2107,7 @@ forms:
|
|
|
2103
2107
|
'W' - Work (working/intermediate file)
|
|
2104
2108
|
'S' - Scratch (temporary file)
|
|
2105
2109
|
'V' - Version-controlled (locked under DOI)
|
|
2110
|
+
|
|
2106
2111
|
One value applies to all files in the batch.
|
|
2107
2112
|
|
|
2108
2113
|
-SZ or -Size, the file size in bytes. Measured automatically from local
|
|
@@ -2140,7 +2145,7 @@ forms:
|
|
|
2140
2145
|
with one subdirectory per subgroup level, mirroring the physical layout.
|
|
2141
2146
|
|
|
2142
2147
|
-WT or -WebFileType (Alias: -WebType|-WebArchiveType), the accessibility of
|
|
2143
|
-
a Web file
|
|
2148
|
+
a Web file, 'D' (public data) or 'N' (NCAR internal data only). One value
|
|
2144
2149
|
applies to all files in the batch.
|
|
2145
2150
|
|
|
2146
2151
|
-WU or -WebURL (Alias: -URL|-WebAddress), the full URL of a Help file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsarch
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.12
|
|
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
|
|
@@ -16,3 +16,5 @@ Requires-Dist: rda_python_setuid
|
|
|
16
16
|
Dynamic: license-file
|
|
17
17
|
|
|
18
18
|
RDA python Package to archive and maintain RDA datasets.
|
|
19
|
+
|
|
20
|
+
The user guide for this utility tool can be viewed at: [User guide](https://gdex-docs-dsarch.readthedocs.io).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
rda_python_dsarch/PgArch.py,sha256=d1Y87MT49tgQygLAffNff9Qs4c12KXspYyDG8liSnpQ,59452
|
|
2
|
+
rda_python_dsarch/PgMeta.py,sha256=FV4GytgnJK00FUlyM6iHqpNd7-XTVHO1j5tZtcLTWgY,26845
|
|
3
|
+
rda_python_dsarch/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
+
rda_python_dsarch/ds_arch.py,sha256=6bR0y6_rhIXyvbuYd-oZfL1YcaHhWBkojjzYz1yCrVg,233810
|
|
5
|
+
rda_python_dsarch/dsarch.py,sha256=pN6x-T8X306rMZXGChI_5RuqhCsTAHw7MIIs791hqLo,255188
|
|
6
|
+
rda_python_dsarch/dsarch.usg,sha256=tk1IhzUpsTHMYvUq8Z3T73SaIKwcMoL9z3w8Pmwpi3Y,104025
|
|
7
|
+
rda_python_dsarch/pg_arch.py,sha256=d5Aowm30GMhC0K_53RdXrKfZ_RSlkM2AbX_NlikVrg8,81016
|
|
8
|
+
rda_python_dsarch/pg_meta.py,sha256=FFEkphGAT--66zvMNDPfiFG4nZQpXed_yVGMARdZb-o,46981
|
|
9
|
+
rda_python_dsarch-2.0.12.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
10
|
+
rda_python_dsarch-2.0.12.dist-info/METADATA,sha256=arfmW2yLnrGz1tmHKF3qaU8FjMtOqyT6cSMRlsI0W80,782
|
|
11
|
+
rda_python_dsarch-2.0.12.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
+
rda_python_dsarch-2.0.12.dist-info/entry_points.txt,sha256=GR7ShgBv8qixS2l4ufAu-jw3N09pbo9zRewwPHqaOxo,60
|
|
13
|
+
rda_python_dsarch-2.0.12.dist-info/top_level.txt,sha256=-vwcMgUXbBdHscvAKB3De9zKac3m_s_FaKIdApP1FGY,18
|
|
14
|
+
rda_python_dsarch-2.0.12.dist-info/RECORD,,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
rda_python_dsarch/PgArch.py,sha256=d1Y87MT49tgQygLAffNff9Qs4c12KXspYyDG8liSnpQ,59452
|
|
2
|
-
rda_python_dsarch/PgMeta.py,sha256=FV4GytgnJK00FUlyM6iHqpNd7-XTVHO1j5tZtcLTWgY,26845
|
|
3
|
-
rda_python_dsarch/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
-
rda_python_dsarch/ds_arch.py,sha256=6bR0y6_rhIXyvbuYd-oZfL1YcaHhWBkojjzYz1yCrVg,233810
|
|
5
|
-
rda_python_dsarch/dsarch.py,sha256=pN6x-T8X306rMZXGChI_5RuqhCsTAHw7MIIs791hqLo,255188
|
|
6
|
-
rda_python_dsarch/dsarch.usg,sha256=LG7O5rxfPWK2Y13GId9-Czm03pPimeGoD8Rw7mtI-B8,103892
|
|
7
|
-
rda_python_dsarch/pg_arch.py,sha256=d5Aowm30GMhC0K_53RdXrKfZ_RSlkM2AbX_NlikVrg8,81016
|
|
8
|
-
rda_python_dsarch/pg_meta.py,sha256=FFEkphGAT--66zvMNDPfiFG4nZQpXed_yVGMARdZb-o,46981
|
|
9
|
-
rda_python_dsarch-2.0.9.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
10
|
-
rda_python_dsarch-2.0.9.dist-info/METADATA,sha256=oGLMyCh1QCRWxN0wV_j7mEMGdiOG_uZb-VFf6oYHD2k,670
|
|
11
|
-
rda_python_dsarch-2.0.9.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
-
rda_python_dsarch-2.0.9.dist-info/entry_points.txt,sha256=GR7ShgBv8qixS2l4ufAu-jw3N09pbo9zRewwPHqaOxo,60
|
|
13
|
-
rda_python_dsarch-2.0.9.dist-info/top_level.txt,sha256=-vwcMgUXbBdHscvAKB3De9zKac3m_s_FaKIdApP1FGY,18
|
|
14
|
-
rda_python_dsarch-2.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|