def handle_dataType(self, element):  # noqa
        # name="dataTypes"
        #   <xsd:union memberTypes="xsd:token">
        #     <xsd:simpleType>
        #       <xsd:restriction base="xsd:token">
        #         <xsd:enumeration value="Grid"/>
        #         <xsd:enumeration value="Image"/>
        #         <xsd:enumeration value="Point"/>
        #         <xsd:enumeration value="Radial"/>
        #         <xsd:enumeration value="Station"/>
        #         <xsd:enumeration value="Swath"/>
        #         <xsd:enumeration value="Trajectory"/>
        #       </xsd:restriction>
        #     </xsd:simpleType>
        #   </xsd:union>
        type_name = "dataType"
        valid = self._valid[type_name]
        # case insensitive

        val = element.text
        if valid not in val.lower():
            log.warning("Value %s not valid for type %s: must be %s",
                        val, type_name, valid)
        return {type_name: val}
dataset/ETHPy150Open Unidata/siphon/siphon/metadata.py/_SimpleTypes.handle_dataType/swapped operands of `not in`