rda-python-icoads 1.0.3__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.
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/PKG-INFO +1 -1
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/pyproject.toml +1 -1
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/README_R3.0_Subset.html +1 -1
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/imma1_subset.py +10 -5
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/PKG-INFO +1 -1
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/LICENSE +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/MANIFEST.in +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/README.md +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/setup.cfg +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/PgIMMA.py +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/__init__.py +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/rdimma1_csv.f +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/SOURCES.txt +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/dependency_links.txt +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/entry_points.txt +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/requires.txt +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/top_level.txt +0 -0
- {rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/tests/test_icoads.py +0 -0
{rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads/README_R3.0_Subset.html
RENAMED
|
@@ -87,7 +87,7 @@ column of data provided.
|
|
|
87
87
|
</ul>
|
|
88
88
|
|
|
89
89
|
<hr>
|
|
90
|
-
<h3>Your data request details for user name, temporal range, spatial domain
|
|
90
|
+
<h3>Your data request details for user name, temporal range, and spatial domain:</h3>
|
|
91
91
|
|
|
92
92
|
<ul>
|
|
93
93
|
<li>User Name: __USER__</li>
|
|
@@ -403,17 +403,17 @@ def process_subset_request(ridx, rdir, rstr):
|
|
|
403
403
|
if ptcnt > 0:
|
|
404
404
|
fname = PVALS['rdimma1']
|
|
405
405
|
cnd = "rindex = {} AND wfile = '{}' AND status = 'O'".format(ridx, fname)
|
|
406
|
-
if
|
|
406
|
+
if PgDBI.pgget("wfrqst", "", cnd): return
|
|
407
407
|
|
|
408
408
|
get_subset_info(rstr)
|
|
409
409
|
|
|
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
|
-
|
|
416
|
-
for i in range(
|
|
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]
|
|
@@ -422,9 +422,12 @@ def process_subset_request(ridx, rdir, rstr):
|
|
|
422
422
|
pgrec['disp_order'] = i+1
|
|
423
423
|
pgrec['command'] = pgcmd + " -f -FI"
|
|
424
424
|
pgrec['cmd_detail'] = "dates={} {}&tidx={}".format(bdate, edate, tidx)
|
|
425
|
-
fname = "ICOADS_R3.0_Rqst{}_{}-{}.csv".format(ridx, bdate, edate)
|
|
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
|
#
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_icoads-1.0.3 → rda_python_icoads-1.0.5}/src/rda_python_icoads.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|