Skip to content

Commit

Permalink
Merge pull request #21 from cedadev/dev
Browse files Browse the repository at this point in the history
Validate Bug Fix
  • Loading branch information
dwest77a authored Apr 12, 2024
2 parents ef99098 + 251174f commit cec7bf7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pipeline/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,11 @@ def validate_timestep(args, xobj, kobj, step: int, nfiles: int, logger, concat_d
print()
nr = 0
for xv in xvars:
nr += validate_data(xobj, kobj, xv, step, logger, bypass=args.bypass, nfiles=nfiles)
nrv = validate_data(xobj, kobj, xv, step, logger, bypass=args.bypass, nfiles=nfiles)
if nrv:
nr += nrv/10
logger.info(f'{xv} : Passed Data test')
logger.info(f'Number of retries due to Unreachable Chunk issues: {nr} ({len(xvars)} vars tried)')
logger.info(f'Percentage of Unreachable Chunk requests made relative to maximum: PUCRM={nr/len(xvars)} ({len(xvars)} vars tried)')

def run_successful(args, logger): # Ingest into class structure
"""Move kerchunk-1a.json file to complete directory with proper name"""
Expand Down

0 comments on commit cec7bf7

Please sign in to comment.