Esempio n. 1
0
 def __ne__(self, lhs):
     from _functions import pncbo
     return pncbo(op='!=',
                  ifile1=self,
                  ifile2=lhs,
                  verbose=False,
                  coordkeys=self._operator_exclude_vars)
Esempio n. 2
0
 def __floordiv__(self, lhs):
     from _functions import pncbo
     return pncbo(op='//',
                  ifile1=self,
                  ifile2=lhs,
                  verbose=0,
                  coordkeys=self._operator_exclude_vars)
Esempio n. 3
0
 def __eq__(self, lhs):
     if isinstance(lhs, (NetCDFFile, PseudoNetCDFFile)):
         from _functions import pncbo
         return pncbo(op=' == ',
                      ifile1=self,
                      ifile2=lhs,
                      verbose=False,
                      coordkeys=self._operator_exclude_vars)
     else:
         return lhs.__eq__(self)
Esempio n. 4
0
 def __ne__(self, lhs):
     from _functions import pncbo
     return pncbo(op = '!=', ifile1 = self, ifile2 = lhs, verbose = False, coordkeys = self._operator_exclude_vars)
Esempio n. 5
0
 def __eq__(self, lhs):
     if isinstance(lhs, (NetCDFFile, PseudoNetCDFFile)):
         from _functions import pncbo
         return pncbo(op = ' == ', ifile1 = self, ifile2 = lhs, verbose = False, coordkeys = self._operator_exclude_vars)
     else:
         return lhs.__eq__(self)