Displaying differences for changeset
 
display as  

calculate303dAssessment.py

@@ -5689,9 +5689,6 @@
             if displaySummary[key]["Summary Stat."] == "NA-min":
                 displaySummary[key]["Summary Stat."] = "NA"
                 displaySummary[key]["Status"] = "Too few samples to assess because ambient standard applies"
-            if displaySummary[key]["Summary Stat."] == "NA-max":
-                displaySummary[key]["Summary Stat."] = "NA"
-                displaySummary[key]["Status"] = "Too many samples to assess because ambient standard applies"
 
             # RePreserve paraArray(Pctcount) #trims blanks off bottom of array
             pctanswer = 0
@@ -12993,7 +12990,13 @@
         if SampleSize < 5:
             return "NA-min"
         if SampleSize > 100:
-            return "NA-max"
+            row = ambientTable[len(ambientTable) - 1]
+            if TargetStat == 0.5:
+                return row[1]
+            elif TargetStat == 0.85:
+                return row[2]
+            elif TargetStat == 0.95:
+                return row[3]
         return None
 
     def RationaleControl(self, displaySummary, flagSummary):