public int horizontalSubframes(){
  double value=Math.abs((se_lon - nw_lon) / subframeLonInterval);
  int lower=(int)value;
  int upper=lower + 1;
  if (upper - value < .000001) {
    return upper;
  }
 else   return lower;
}

public int horizontalSubframes ( ) { double value = Math . abs ( ( se_lon - nw_lon ) / subframeLonInterval ) ; int lower = ( int ) value ; int upper = lower + 1 ; if ( upper - value < .000001 ) { return upper ; } else return lower ; }
the number of subframes horizontally within this coverage box . note : empirically noticed that # of subframes sometimes underreported because these cast to an int . rounding would sometimes overreport , however . observed that a tolerance of . 000001 would define when to round up . this appeared to be causing gaps at zone boundaries , since a coverage box could think it doesn ' t have a certain subframe , when it actually does .
