rda-python-dsarch 1.0.19__tar.gz → 1.0.21__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 (18) hide show
  1. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/PKG-INFO +1 -1
  2. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/pyproject.toml +1 -1
  3. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch/PgArch.py +36 -7
  4. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch/dsarch.py +32 -7
  5. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch/dsarch.usg +22 -8
  6. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/PKG-INFO +1 -1
  7. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/LICENSE +0 -0
  8. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/MANIFEST.in +0 -0
  9. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/README.md +0 -0
  10. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/setup.cfg +0 -0
  11. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch/PgMeta.py +0 -0
  12. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch/__init__.py +0 -0
  13. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  14. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  15. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  16. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  17. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  18. {rda_python_dsarch-1.0.19 → rda_python_dsarch-1.0.21}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.19
3
+ Version: 1.0.21
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 = "1.0.19"
7
+ version = "1.0.21"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -151,6 +151,7 @@ PgOPT.OPTS = { # (!= 0) - setting actions
151
151
  'ET' : [2, 'EndTime', 32],
152
152
  'EV' : [2, 'ExternalVersion', 1],
153
153
  'FD' : [2, 'FileDate', 257],
154
+ 'FF' : [2, 'FileFlag', 1, 'FP'],
154
155
  'FS' : [2, 'FileStatus', 1, 'PI'],
155
156
  'FT' : [2, 'FileTime', 33],
156
157
  'GI' : [2, 'GroupIndex', 17],
@@ -196,7 +197,7 @@ PgOPT.OPTS = { # (!= 0) - setting actions
196
197
  }
197
198
 
198
199
  PgOPT.ALIAS = {
199
- 'AF' : ['FF', 'FileFormat', 'ExternalFormat'],
200
+ 'AF' : ['FileFormat', 'ExternalFormat'],
200
201
  'AL' : ['AsynchronousLimit'],
201
202
  'AO' : ['ActOption'],
202
203
  'AH' : ['ArchiveHelp', 'ArchHelp', 'ArchHelpFile'],
@@ -332,6 +333,7 @@ PgOPT.TBLHASH['wfile'] = {
332
333
  'Q' : ['QT', "btype", 1, "bfile.type"],
333
334
  'L' : ['LC', "locflag", 1],
334
335
  'H' : ['FS', "wfile.status", 1],
336
+ 'P' : ['FF', "fileflag", 1],
335
337
  'S' : ['SZ', "wfile.data_size", 0],
336
338
  'J' : ['FD', "wfile.date_modified", 1],
337
339
  'K' : ['FT', "wfile.time_modified", 1],
@@ -354,6 +356,7 @@ PgOPT.TBLHASH['sfile'] = {
354
356
  'Q' : ['QT', "btype", 1, "bfile.type"],
355
357
  'L' : ['LC', "locflag", 1],
356
358
  'H' : ['FS', "sfile.status", 1],
359
+ 'P' : ['FF', "fileflag", 1],
357
360
  'S' : ['SZ', "sfile.data_size", 0],
358
361
  'J' : ['FD', "sfile.date_modified", 1],
359
362
  'K' : ['FT', "sfile.time_modified", 1],
@@ -383,6 +386,7 @@ PgOPT.TBLHASH['hfile'] = {
383
386
  'N' : ['DF', "data_format", 1],
384
387
  'O' : ['DO', "disp_order", -1],
385
388
  'H' : ['FS', "status", 1],
389
+ 'P' : ['FF', "fileflag", 1],
386
390
  'S' : ['SZ', "data_size", 0],
387
391
  'R' : ['SR', "source", 1],
388
392
  'I' : ['ID', "init_date", 1],
@@ -411,10 +415,10 @@ PgOPT.PGOPT['MSET'] = "SA"
411
415
  PgOPT.PGOPT['dataset'] = "SWFULQA"
412
416
  PgOPT.PGOPT['dsperiod'] = "GJKXY"
413
417
  PgOPT.PGOPT['dsgroup'] = "IGXTPQASW"
414
- PgOPT.PGOPT['wfile'] = "FTIVMNLHS"
415
- PgOPT.PGOPT['sfile'] = "FTIVMNLHS"
418
+ PgOPT.PGOPT['wfile'] = "FTIVMNLHPS"
419
+ PgOPT.PGOPT['sfile'] = "FTIVMNLHPS"
416
420
  PgOPT.PGOPT['bfile'] = "FNMTHS"
417
- PgOPT.PGOPT['hfile'] = 'FMNLTHSU'
421
+ PgOPT.PGOPT['hfile'] = 'FMNLTHPSU'
418
422
  PgOPT.PGOPT['dsvrsn'] = "VIEDSJX"
419
423
  PgOPT.PGOPT['UACTS'] = (PgOPT.OPTS['AQ'][0]|PgOPT.OPTS['SD'][0]|PgOPT.OPTS['DL'][0])
420
424
 
@@ -422,10 +426,10 @@ PgOPT.PGOPT['UACTS'] = (PgOPT.OPTS['AQ'][0]|PgOPT.OPTS['SD'][0]|PgOPT.OPTS['DL']
422
426
  PgOPT.PGOPT['dsall'] = "TSHWFULQAVCBMPIDNGJKXYIJKXY" # include 'pdall'
423
427
  PgOPT.PGOPT['pdall'] = "GJKXY"
424
428
  PgOPT.PGOPT['gpall'] = "IGXTRQAPSWMDN"
425
- PgOPT.PGOPT['wfall'] = "FTCIXVMNOBQLHSJKAED"
426
- PgOPT.PGOPT['sfall'] = "FTCIXVMNOBQLHSJKD"
429
+ PgOPT.PGOPT['wfall'] = "FTCIXVMNOBQLHPSJKAED"
430
+ PgOPT.PGOPT['sfall'] = "FTCIXVMNOBQLHPSJKD"
427
431
  PgOPT.PGOPT['bfall'] = "FNMOTHSCJKD"
428
- PgOPT.PGOPT['hfall'] = 'FTLCMNOHSRIJKUD'
432
+ PgOPT.PGOPT['hfall'] = 'FTLCMNOHPSRIJKUD'
429
433
  PgOPT.PGOPT['vrsnall'] = "VIEDSJKXYN"
430
434
 
431
435
  # PgOPT.PGOPT['ofile'] reserved for original type 'B' hpps file name
@@ -693,6 +697,7 @@ def check_enough_options(cact, acts):
693
697
  if 'EM' not in PgOPT.params: PgLOG.PGLOG['LOGMASK'] &= ~PgLOG.EMLALL # turn off email if not yet
694
698
  PgOPT.PGOPT['emerol'] |= PgLOG.EXITLG
695
699
  # set command line Batch options
700
+ set_qsub_walltime()
696
701
  PgCMD.set_batch_options(PgOPT.params, 1)
697
702
  PgCMD.init_dscheck(0, '', "dsarch", PgOPT.params['DS'], cact, PgLOG.PGLOG['CURDIR'], PgOPT.params['LN'],
698
703
  PgOPT.params['BP'], PgOPT.PGOPT['emerol'])
@@ -700,6 +705,30 @@ def check_enough_options(cact, acts):
700
705
 
701
706
  PgSIG.start_none_daemon('dsarch', PgOPT.PGOPT['CACT'], PgOPT.params['LN'], 1, PgOPT.params['WI'], 1, PgOPT.params['AL'])
702
707
 
708
+ #
709
+ # set qsub walltime if needed
710
+ #
711
+ def set_qsub_walltime():
712
+
713
+ fcnt = 0
714
+ if 'LF' in PgOPT.params:
715
+ fcnt = len(PgOPT.params['LF'])
716
+ elif 'WF' in PgOPT.params:
717
+ fcnt = len(PgOPT.params['WF'])
718
+ else:
719
+ return
720
+
721
+ if 'GX' in PgOPT.params: fcnt *= 30
722
+ hr = int(fcnt/30000)
723
+ if hr == 6: return
724
+
725
+ if hr < 2:
726
+ hr = 2
727
+ elif hr > 24:
728
+ hr = 24
729
+ PgCMD.set_one_boption('qoptions', '-l walltime={}:00:00'.format(hr), 1)
730
+ return
731
+
703
732
  #
704
733
  # build local file list for given local directory and reset file sizes
705
734
  #
@@ -518,7 +518,7 @@ def archive_web_files():
518
518
  elif pgrec:
519
519
  info = get_file_origin_info(wfile, pgrec)
520
520
  elif locflag == 'O':
521
- info = PgFile.check_object_file(ofile, bucket, 1, PgOPT.PGOPT['emerol'])
521
+ info = PgFile.check_object_file(ofile, bucket, 1, PgOPT.PGOPT['emerol'])
522
522
  wid = set_one_webfile(i, pgrec, wfile, fnames, type, info)
523
523
  if not wid:
524
524
  PgOPT.params['LF'][i] = PgOPT.params['WF'][i] = None
@@ -1673,7 +1673,7 @@ def tar_backup_savedfiles(tarfile, tinfo, ccnt, chkstat):
1673
1673
  else:
1674
1674
  tardir = "{}/{}".format(dshome, stype)
1675
1675
  savedfile = "{}/{}".format(tardir, sfile) if relative else sfile
1676
- if not op.isfile(savedfile):
1676
+ if not op.exists(savedfile):
1677
1677
  PgLOG.pglog(savedfile + ": Saved file not exists to backup", PgOPT.PGOPT['extlog'])
1678
1678
  if relative:
1679
1679
  tarcmds[i] = "tar -{}vf {} -C {} {}".format(topt, tarfile, tardir, sfile)
@@ -1761,7 +1761,7 @@ def tar_backup_webfiles(tarfile, tinfo, ccnt, chkstat):
1761
1761
  else:
1762
1762
  tardir = dshome
1763
1763
  webfile = "{}/{}".format(tardir, wfile) if relative else wfile
1764
- if not op.isfile(webfile):
1764
+ if not op.exists(webfile):
1765
1765
  PgLOG.pglog(webfile + ": Web file not exists to backup", PgOPT.PGOPT['extlog'])
1766
1766
  if relative:
1767
1767
  tarcmds[i] = "tar -{}vf {} -C {} {}".format(topt, tarfile, tardir, wfile)
@@ -2869,6 +2869,8 @@ def set_one_webfile(i, pgrec, file, flds, type, info = None, ndsid = None, sact
2869
2869
  record['status'] = 'I'
2870
2870
  if 'checksum' in record: PgLOG.pglog("md5({}-{})={}".format(dsid, file, record['checksum']), PgLOG.LOGWRN)
2871
2871
  if 'gindex' in record and record['gindex']: record['tindex'] = PgMeta.get_top_gindex(dsid, record['gindex'])
2872
+ stat = check_file_flag(file, info, record, pgrec)
2873
+ if not stat: return stat
2872
2874
  if pgrec:
2873
2875
  if pgrec['wfile'] != file: record['wfile'] = file
2874
2876
  if 'bid' in record and record['bid'] and pgrec['bid'] and record['bid'] != pgrec['bid']:
@@ -2890,8 +2892,9 @@ def set_one_webfile(i, pgrec, file, flds, type, info = None, ndsid = None, sact
2890
2892
  if 'status' not in record: record['status'] = 'P'
2891
2893
  if not info:
2892
2894
  info = PgFile.check_local_file(PgArch.get_web_path(i, file, 1, type), 1, PgOPT.PGOPT['emerol'])
2895
+ stat = check_file_flag(file, info, record)
2896
+ if not stat: return stat
2893
2897
  if info:
2894
- if not info['isfile']: return PgLOG.pglog("file: is a directory", PgOPT.PGOPT['emlerr'])
2895
2898
  record['data_size'] = info['data_size']
2896
2899
  record['date_modified'] = info['date_modified']
2897
2900
  record['time_modified'] = info['time_modified']
@@ -2912,6 +2915,22 @@ def set_one_webfile(i, pgrec, file, flds, type, info = None, ndsid = None, sact
2912
2915
 
2913
2916
  return wid
2914
2917
 
2918
+ #
2919
+ # check
2920
+ #
2921
+ def check_file_flag(file, info, record, pgrec = None):
2922
+
2923
+ if not info: return PgLOG.SUCCESS
2924
+
2925
+ fflag = 'F' if info['fileflag'] else 'P'
2926
+ if 'fileflag' in record:
2927
+ if fflag != record['fileflag']:
2928
+ return PgLOG.pglog("{}: Cannot set File Flag '{}' to '{}'".format(file, fflag, record['fileflag']), PgOPT.PGOPT['emlerr'])
2929
+ elif not (pgrec and pgrec['fileflag'] == fflag):
2930
+ record['fileflag'] = fflag
2931
+
2932
+ return PgLOG.SUCCESS
2933
+
2915
2934
  #
2916
2935
  # add or modify Help file information
2917
2936
  #
@@ -3010,6 +3029,8 @@ def set_one_helpfile(i, pgrec, file, flds, type, info = None, ndsid = None):
3010
3029
  if 'url' in record:
3011
3030
  record['locflag'] = 'R'
3012
3031
  record['date_modified'] = PgUtil.curdate()
3032
+ stat = check_file_flag(file, info, record, pgrec)
3033
+ if not stat: return stat
3013
3034
  if pgrec:
3014
3035
  if pgrec['hfile'] != file: record['hfile'] = file
3015
3036
  if not ndsid:
@@ -3030,8 +3051,9 @@ def set_one_helpfile(i, pgrec, file, flds, type, info = None, ndsid = None):
3030
3051
  if 'status' not in record: record['status'] = 'P'
3031
3052
  if not (info or 'url' in record):
3032
3053
  info = PgFile.check_local_file(PgArch.get_help_path(i, file, 1, type), 1, PgOPT.PGOPT['emerol'])
3054
+ stat = check_file_flag(file, info, record, pgrec)
3055
+ if not stat: return stat
3033
3056
  if info:
3034
- if not info['isfile']: return PgLOG.pglog("file: is a directory", PgOPT.PGOPT['emlerr'])
3035
3057
  record['data_size'] = info['data_size']
3036
3058
  record['date_modified'] = info['date_modified']
3037
3059
  record['time_modified'] = info['time_modified']
@@ -3188,6 +3210,8 @@ def set_one_savedfile(i, pgrec, file, flds, type, info = None, ndsid = None, sac
3188
3210
  record['status'] = 'I'
3189
3211
  if 'checksum' in record and record['checksum']: PgLOG.pglog("md5({}-{})={}".format(dsid, file, record['checksum']), PgLOG.LOGWRN)
3190
3212
  if 'gindex' in record and record['gindex']: record['tindex'] = PgMeta.get_top_gindex(dsid, record['gindex'])
3213
+ stat = check_file_flag(file, info, record, pgrec)
3214
+ if not stat: return stat
3191
3215
  if pgrec:
3192
3216
  if pgrec['sfile'] != file: record['sfile'] = file
3193
3217
  if not ndsid:
@@ -3213,8 +3237,9 @@ def set_one_savedfile(i, pgrec, file, flds, type, info = None, ndsid = None, sac
3213
3237
  if 'status' not in record: record['status'] = 'P'
3214
3238
  if not info:
3215
3239
  info = PgFile.check_local_file(PgArch.get_saved_path(i, file, 1, type), 1, PgOPT.PGOPT['emerol'])
3240
+ stat = check_file_flag(file, info, record, pgrec)
3241
+ if not stat: return stat
3216
3242
  if info:
3217
- if not info['isfile']: return PgLOG.pglog(file + ": is a directory", PgOPT.PGOPT['emlerr'])
3218
3243
  record['data_size'] = info['data_size']
3219
3244
  record['date_modified'] = info['date_modified']
3220
3245
  record['time_modified'] = info['time_modified']
@@ -4445,7 +4470,7 @@ def web_to_saved_files():
4445
4470
  #
4446
4471
  def get_file_origin_info(fname, pgrec):
4447
4472
 
4448
- info = {'isfile' : 1, 'data_size' : pgrec['data_size']}
4473
+ info = {'isfile' : (0 if 'fileflag' in pgrec and pgrec['fileflag'] == 'P' else 1), 'data_size' : pgrec['data_size']}
4449
4474
  info['fname'] = op.basename(fname)
4450
4475
  info['date_modified'] = pgrec['date_modified']
4451
4476
  info['time_modified'] = pgrec['time_modified']
@@ -734,6 +734,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
734
734
  [-(PO|PatternOffset) PatternStringOffset]
735
735
  [-(ST|SavedFileType) SavedFileTypes] # Primary, VersionControl, Work, oRiginal
736
736
  [-(FS|FileStatus) SavedFileStatus] # Public or Interal file
737
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
737
738
  [-(LC|Location) StorageLocationFlags] # CGD data; Glade, Object or Both
738
739
  [-(DF|DataFormat) DataFormats] # BINARY, ASCII, NetCDF and etc.
739
740
  [-(AF|ArchiveFormat) FileArchiveFormats] # tarred, Compressed and etc.
@@ -796,6 +797,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
796
797
  [-(SF|SavedFile) SavedFileNames]
797
798
  [-(ST|SavedFileType) SavedFileTypes]
798
799
  [-(FS|FileStatus) SavedFileStatus]
800
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
799
801
  [-(LC|Location) StorageLocationFlags]
800
802
  [-(GI|GroupIndex) GroupIndices]
801
803
  [-(GN|GroupName) GroupNames]
@@ -831,6 +833,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
831
833
  Q -(QT|QuasarType) Quasar backyp file types
832
834
  L -(LC|Location) Saved file storage location flag
833
835
  H -(FS|FileStatus) Saved file archiving status
836
+ P -(FF|FileFlag) File type flag, File or Path
834
837
  S -(SZ|Size) Saved file sizes
835
838
  J -(FD|FileDate) date data last modified on
836
839
  K -(FT|FileTime) time data last modified at
@@ -866,6 +869,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
866
869
  [-(WT|WebFileType) WebFileTypes] # Web Data or NCAR Data
867
870
  [-(LC|Location) StorageLocationFlags]
868
871
  [-(FS|FileStatus) WebFileStatus] # Public or interal file
872
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
869
873
  [-(DF|DataFormat) DataFormats] # BINARY, ASCII, NetCDF and etc.
870
874
  [-(AF|ArchiveFormat) FileArchiveFormats] # tarred, Compressed and etc.
871
875
  [-(DO|DisplayOrder] DisplayOrderIndices]
@@ -940,6 +944,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
940
944
  [-(WF|WebFile) WebFileNames]
941
945
  [-(WT|WebFileType) WebFileTypes]
942
946
  [-(FS|FileStatus) WebFileStatus]
947
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
943
948
  [-(LC|Location) StorageLocationFlags]
944
949
  [-(GI|GroupIndex) GroupIndices]
945
950
  [-(GN|GroupName) GroupNames]
@@ -975,6 +980,7 @@ d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51
975
980
  Q -(QT|QuasarType) Quasar backyp fie types
976
981
  L -(LC|Location) Web file storage location flag
977
982
  H -(FS|FileStatus) Web file archiving status
983
+ P -(FF|FileFlag) File type flag, File or Path
978
984
  S -(SZ|Size) Web file sizes
979
985
  J -(FD|FileDate) date data last modified on
980
986
  K -(FT|FileTime) time data last modified at
@@ -1021,10 +1027,11 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1021
1027
  [-(SR|Source) ContributionSource]
1022
1028
  [-(ON|OrderNames) OrderNameString]
1023
1029
  [-(OB|OrderBy) OrderByPattern]
1024
- [-(HT|HelpFileType) HelpFileTypes] # Document or Software
1025
- [-(FS|FileStatus) HelpFileStatus] # Public or Interal file
1030
+ [-(HT|HelpFileType) HelpFileTypes] # Document or Software
1031
+ [-(FS|FileStatus) HelpFileStatus] # Public or Interal file
1032
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
1026
1033
  [-(LC|Location) StorageLocationFlags] # Glade, Object, Both or Remote
1027
- [-(DF|DataFormat) DataFormats] # Python, PDF, and etc.
1034
+ [-(DF|DataFormat) DataFormats] # Python, PDF, and etc.
1028
1035
  [-(AF|ArchiveFormat) FileArchiveFormats] # tarred, Compressed and etc.
1029
1036
  [-(DO|DisplayOrder] DisplayOrderIndices]
1030
1037
  [-(SZ|Size) FileSizes]
@@ -1075,6 +1082,7 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1075
1082
  [-(HF|HelpFile) HelpFileNames]
1076
1083
  [-(HT|HelpFileType) HelpFileTypes] # Document or Software
1077
1084
  [-(FS|FileStatus) SavedFileStatus]
1085
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
1078
1086
  [-(LC|Location) StorageLocationFlags]
1079
1087
  [-(SR|Source) ContributionSource]
1080
1088
  [-(DE|Description) SavedFileDescriptions]
@@ -1098,6 +1106,7 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1098
1106
  O -(DO|DisplayOrder) display order indices
1099
1107
  T -(HT|HelpFileType) Help file archiving types
1100
1108
  H -(FS|FileStatus) Help file archiving status
1109
+ P -(FF|FileFlag) File type flag, File or Path
1101
1110
  L -(LC|Location) Help file storage location flag
1102
1111
  S -(SZ|Size) Help file sizes
1103
1112
  R -(SR|Source) Help file contribution source
@@ -1235,6 +1244,7 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1235
1244
  [-(PO|PatternOffset) PatternStringOffset]
1236
1245
  [-(ST|SavedFileType) SavedFileTypes]
1237
1246
  [-(FS|FileStatus) SavedFileStatus] # P-Public or I-Internal
1247
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
1238
1248
  [-(LC|Location) StorageLocationFlags]
1239
1249
  [-(DF|DataFormat) DataFormat] # BINARY, ASCII, NetCDF and etc.
1240
1250
  [-(AF|ArchiveFormat) FileArchiveFormat] # tarred, compressed and etc.
@@ -1334,16 +1344,17 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1334
1344
  dsarch [-(DS|dataset)] dsnnn.n -(AW|ArchiveWebFile) [Mode Options]
1335
1345
  [-(LF|LocalFile) LocalFileNames] # mandatory unless -LD or -LL present
1336
1346
  [-(LD|LocalDirectory) LocalDirectoryName] # directory for local file names
1337
- [-(LL|LocalFileList) LocalFileListName] # contains a list of local file names
1338
- [-(WF|WebFile) webFileNames] # default to -LF
1347
+ [-(LL|LocalFileList) LocalFileListName] # contains a list of local file names
1348
+ [-(WF|WebFile) webFileNames] # default to -LF
1339
1349
  [-(GI|GroupIndex) GroupIndices]
1340
1350
  [-(TG|TopGroupIndex) TopGroupIndices]
1341
1351
  [-(GN|GroupName) GroupNames]
1342
1352
  [-(PO|PatternOffset) PatternStringOffset]
1343
- [-(WT|WebFileType) WebFileTypes] # Data, Ncar Data
1344
- [-(FS|FileStatus) WebFileStatus] # P-Public or I-Internal
1353
+ [-(WT|WebFileType) WebFileTypes] # Data, Ncar Data
1354
+ [-(FS|FileStatus) WebFileStatus] # P-Public or I-Internal
1355
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
1345
1356
  [-(LC|Location) StorageLocationFlags]
1346
- [-(DF|DataFormat) DataFormat] # BINARY, ASCII, NetCDF and etc.
1357
+ [-(DF|DataFormat) DataFormat] # BINARY, ASCII, NetCDF and etc.
1347
1358
  [-(AF|ArchiveFormat) FileArchiveFormat] # tarred, compressed and etc.
1348
1359
  [-(DO|DisplayOrder] DisplayOrderIndices]
1349
1360
  [-(SZ|Size) FileSizes]
@@ -1449,6 +1460,7 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1449
1460
  [-(HF|HelpFile) HelpFileNames] # default to -LF
1450
1461
  [-(HT|HelpFileType) HelpFileTypes]
1451
1462
  [-(FS|FileStatus) HelpFileStatus] # P-Public or I-Internal
1463
+ [-(FF|FileFlag) FilesOrPaths] # file type flag, File or Path
1452
1464
  [-(DF|DataFormat) FileContentFormat] # PDF, Python and etc.
1453
1465
  [-(AF|ArchiveFormat) FileArchiveFormat] # tarred, compressed and etc.
1454
1466
  [-(DO|DisplayOrder] DisplayOrderIndices]
@@ -2222,6 +2234,8 @@ Information options are used to pass information, one or multiple values, into
2222
2234
 
2223
2235
  -FD or -FileDate, for date of a data file last modified on.
2224
2236
 
2237
+ -FF or -FileFlag, File type flag, F for File and P for Path.
2238
+
2225
2239
  -FS or -FileStatus, File status, a single letter status flag, P - show file
2226
2240
  to public users; and I - to show file to specialist only.
2227
2241
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.19
3
+ Version: 1.0.21
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