TNO Intern

Commit fe5cba49 authored by Arjo Segers's avatar Arjo Segers
Browse files

Skip test collections "90" etc in inquire plot.

parent ef0516dd
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@
# 2024-03, Arjo Segers
#   Enable Agg backend to avoid errors from batch jobs.
#
# 2024-11, Arjo Segers
#   Skip test collections "90" etc in inquire plot.
#

########################################################################
###
@@ -237,6 +240,14 @@ class CSO_Inquire_Plot(utopya.UtopyaRc):
            collections = df["collection"].unique()
            collections.sort()
            
            # adhoc: skip test collections "90", "91", ..
            ii, = numpy.where( collections < "90" )
            if len(ii) > 0 :
                collections = collections[ii]
            else :
                collections = numpy.array([])
            # endif

            # streams: 'OFFL', 'RPRO', ..
            # streams = df['processing'].unique()
            # streams.sort()