Changeset 28


Ignore:
Timestamp:
24/07/12 09:18:09 (7 years ago)
Author:
mjuckes
Message:

groups annotated

Location:
FCC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • FCC/examples_bad_test.log

    r23 r28  
    11Starting run_qc script, version  0.50 
    22Scanning: ./examples_bad/ 
    3 Directory: ./examples_bad/ [7] 
     3Directory: ./examples_bad/ [8] 
    44CQC.101.001.004 FAIL !(File name component not in vocabulary): /pr_SAM-44_HadGEM-ES2_historical_r1i1pq_RCM_3-1_day_199001-199112.nc: Not in vocab GCMModelName 
    55CQC.101.001.005 FAIL !(File name component does not match regex): /pr_SAM-44_HadGEM-ES2_historical_r1i1pq_RCM_3-1_day_199001-199112.nc: Failed regex-match test: r1i1pq [CMIP5Ensemble] 
     
    1313CQC.101.001.007 FAIL !(File name component does not match regex list with constraints): /tas_SAM-44_HadGEM-ES2_historical_r1i1p1_RCM_3-1_day_199001-199112.nc: Failed constrained regex tests 199001-199112 
    1414CQC.101.001.002 [ERROR] FAIL !(File name matches DRS syntax): /x.nc: ['x'] 
     15Directory: ./examples_bad/.svn [6] 
     16Directory: ./examples_bad/.svn/prop-base [0] 
     17Directory: ./examples_bad/.svn/props [0] 
     18Directory: ./examples_bad/.svn/text-base [7] 
     19Directory: ./examples_bad/.svn/tmp [3] 
     20Directory: ./examples_bad/.svn/tmp/prop-base [0] 
     21Directory: ./examples_bad/.svn/tmp/props [0] 
     22Directory: ./examples_bad/.svn/tmp/text-base [0] 
    1523Parsing 4 "ads" datasets 
    1624ads::pr.SAM-44.HadGEM-ES2.historical.r1i1pq.RCM.3-1.day: test(s) failed 
  • FCC/examples_bad_test.log_bck

    r23 r28  
    11Starting run_qc script, version  0.50 
    22Scanning: ./examples_bad/ 
    3 Directory: ./examples_bad/ [7] 
     3Directory: ./examples_bad/ [8] 
    44CQC.101.001.004 FAIL !(File name component not in vocabulary): /pr_SAM-44_HadGEM-ES2_historical_r1i1pq_RCM_3-1_day_199001-199112.nc: Not in vocab GCMModelName 
    55CQC.101.001.005 FAIL !(File name component does not match regex): /pr_SAM-44_HadGEM-ES2_historical_r1i1pq_RCM_3-1_day_199001-199112.nc: Failed regex-match test: r1i1pq [CMIP5Ensemble] 
     
    1313CQC.101.001.007 FAIL !(File name component does not match regex list with constraints): /tas_SAM-44_HadGEM-ES2_historical_r1i1p1_RCM_3-1_day_199001-199112.nc: Failed constrained regex tests 199001-199112 
    1414CQC.101.001.002 [ERROR] FAIL !(File name matches DRS syntax): /x.nc: ['x'] 
     15Directory: ./examples_bad/.svn [6] 
     16Directory: ./examples_bad/.svn/prop-base [0] 
     17Directory: ./examples_bad/.svn/props [0] 
     18Directory: ./examples_bad/.svn/text-base [7] 
     19Directory: ./examples_bad/.svn/tmp [3] 
     20Directory: ./examples_bad/.svn/tmp/prop-base [0] 
     21Directory: ./examples_bad/.svn/tmp/props [0] 
     22Directory: ./examples_bad/.svn/tmp/text-base [0] 
     23Parsing 4 "ads" datasets 
     24ads::pr.SAM-44.HadGEM-ES2.historical.r1i1pq.RCM.3-1.day: test(s) failed 
     25CQC.102.002.006 FAIL !(Consistency checks): pr_SAM-44_MOHC-HadGEM2-ES_historical_r1i1p103_RCM_3-1_day_19670401-19701231.nc: File name component startyear occurs only once 
     26ads::pr.SAM-44.MOHC-HadGEM2-ES.historical.r1i1p103.RCM.3-1.day: test(s) failed 
     27ads::tas.SAM-44.HadGEM-ES2.historical.r1i1p1.RCM.3-1.day: test(s) failed 
     28ads::x: test(s) failed 
     29Parsed 7 NetCDF files 
     30CQC.101.001.002: File name matches DRS syntax: 1 
     31CQC.101.001.004: File name component not in vocabulary: 4 
     32CQC.101.001.005: File name component does not match regex: 2 
     33CQC.101.001.007: File name component does not match regex list with constraints: 4 
     34CQC.102.002.006: Consistency checks: 1 
     35SCRIPT COMPLETED:: TEST(S) FAILED 
  • FCC/qc_utils.py

    r22 r28  
    1010  def __init__( self, qcc, log, baseDir, logPasses=True ): 
    1111    self.datasets = {} 
     12    self.groups = {} 
    1213    self.baseDir = baseDir 
    1314    self.logPasses = logPasses 
     
    1718    for k in qcc.datasets.keys(): 
    1819      self.datasets[k] = {} 
     20    for g in qcc.groups: 
     21      self.groups[g[0]] = { 'pat':g[1]} 
    1922    self.msg = {} 
    2023    self.msgk = {} 
  • FCC/run_qc.py

    r22 r28  
    109109handler._log( 'CQC.200.003.001', 'ALL', str( pi.nclevs ), ok=len( pi.nclevs )<= 1 ) 
    110110 
     111## 
     112## roles of groups and datasets currently overlap -- this needs to be cleared up. 
    111113dsp = qc_utils.dataSetParser(qccp,log,handler) 
    112114dskeys = handler.datasets.keys() 
    113115dskeys.sort() 
     116gkeys = handler.groups.keys() 
     117gkeys.sort() 
    114118 
    115119nofail = True 
Note: See TracChangeset for help on using the changeset viewer.