Beispiel #1
0
 def _get_pos_ice(self,var,bmap):
     indx = self._get_index('mask')
     return get_data(btest(bmap,ipos=5),indx=indx)		
Beispiel #2
0
 def _get_ice(self,var,bmap):
     indx = self._get_index('mask')
     return get_data(btest(bmap,ipos=1),indx=indx)
Beispiel #3
0
 def _get_bad(self,var,bmap):
     indx = self._get_index('mask')
     return get_data(btest(bmap,ipos=4),indx=indx)
Beispiel #4
0
 def _get_uses_mw(self,var,bmap):
     indx = self._get_index('mask')
     return get_data(btest(bmap,ipos=3),indx=indx)
Beispiel #5
0
 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
Beispiel #6
0
 def _get_mingmt(self,var,bmap):
     mingmt = get_data(bmap,indx=0)
     mingmt *= self._get_scale(var)
     return mingmt
Beispiel #7
0
 def _get_uses_mw(self, var, bmap):
     indx = self._get_index('mask')
     return get_data(btest(bmap, ipos=3), indx=indx)