def _get_pos_ice(self,var,bmap): indx = self._get_index('mask') return get_data(btest(bmap,ipos=5),indx=indx)
def _get_ice(self,var,bmap): indx = self._get_index('mask') return get_data(btest(bmap,ipos=1),indx=indx)
def _get_bad(self,var,bmap): indx = self._get_index('mask') return get_data(btest(bmap,ipos=4),indx=indx)
def _get_uses_mw(self,var,bmap): indx = self._get_index('mask') return get_data(btest(bmap,ipos=3),indx=indx)
def _get_scatflag(self,var,bmap): indx = self._get_index('rain') scatflag = get_data(ibits(bmap,ipos=0,ilen=1),indx=indx) bad = is_bad(get_data(bmap,indx=0)) scatflag[bad] = self.missing return scatflag
def _get_mingmt(self,var,bmap): mingmt = get_data(bmap,indx=0) mingmt *= self._get_scale(var) return mingmt
def _get_uses_mw(self, var, bmap): indx = self._get_index('mask') return get_data(btest(bmap, ipos=3), indx=indx)