rda-python-icoads 1.0.4__tar.gz → 1.0.5__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.

Potentially problematic release.


This version of rda-python-icoads might be problematic. Click here for more details.

Files changed (18) hide show
  1. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/PKG-INFO +1 -1
  2. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/pyproject.toml +1 -1
  3. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads/imma1_subset.py +8 -3
  4. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/PKG-INFO +1 -1
  5. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/LICENSE +0 -0
  6. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/MANIFEST.in +0 -0
  7. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/README.md +0 -0
  8. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/setup.cfg +0 -0
  9. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads/PgIMMA.py +0 -0
  10. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads/README_R3.0_Subset.html +0 -0
  11. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads/__init__.py +0 -0
  12. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads/rdimma1_csv.f +0 -0
  13. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/SOURCES.txt +0 -0
  14. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/dependency_links.txt +0 -0
  15. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/entry_points.txt +0 -0
  16. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/requires.txt +0 -0
  17. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/top_level.txt +0 -0
  18. {rda_python_icoads-1.0.4 → rda_python_icoads-1.0.5}/tests/test_icoads.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rda_python_icoads
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: RDA python package to manage RDA ICOADS datasets
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-icoads
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "rda_python_icoads"
9
- version = "1.0.4"
9
+ version = "1.0.5"
10
10
  authors = [
11
11
  { name="Zaihua Ji", email="zji@ucar.edu" },
12
12
  ]
@@ -410,10 +410,10 @@ def process_subset_request(ridx, rdir, rstr):
410
410
  if ptcnt > 0:
411
411
  set_var_info()
412
412
  PgFile.change_local_directory(rdir, PgLOG.LOGWRN)
413
- build_final_files(ridx, rstr)
413
+ fcnt = build_final_files(ridx, rstr)
414
414
  else:
415
- tcnt = get_table_info(PVALS['dates'])
416
- for i in range(tcnt):
415
+ fcnt = get_table_info(PVALS['dates'])
416
+ for i in range(fcnt):
417
417
  bdate = PVALS['bdate'][i]
418
418
  edate = PVALS['edate'][i]
419
419
  tidx = PVALS['tidx'][i]
@@ -425,6 +425,9 @@ def process_subset_request(ridx, rdir, rstr):
425
425
  fname = "ICOADS_R3.0_Rqst{}_{}-{}.csv".format(ridx, bdate.replace('-', ''), edate.replace('-', ''))
426
426
  PgSubset.add_request_file(ridx, fname, pgrec, PgLOG.LGEREX)
427
427
 
428
+ record = {'fcount' : fcnt}
429
+ PgDBI.pgupdt('dsrqst', record, "rindex = {}".format(ridx))
430
+
428
431
  #
429
432
  # process a validated subset request file
430
433
  #
@@ -644,6 +647,8 @@ def build_final_files(ridx, rstr):
644
647
  PgFile.local_copy_local(fname, PVALS['codedir'] + fname, PgLOG.LGEREX)
645
648
  PgSubset.add_request_file(ridx, fname, pgrec, PgLOG.LGEREX)
646
649
 
650
+ return fcnt
651
+
647
652
  #
648
653
  # process reqest info, create command file and the input file list
649
654
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rda_python_icoads
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: RDA python package to manage RDA ICOADS datasets
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-icoads