@Override
  public boolean isGlobalLon() {
    if (!isLatLon) return false;
    if (!(horizXaxis instanceof CoordinateAxis1D)) return false;
    CoordinateAxis1D lon = (CoordinateAxis1D) horizXaxis;
    double first = lon.getCoordEdge(0);
    double last = lon.getCoordEdge((int) lon.getSize());
    double min = Math.min(first, last);
    double max =  Math.max(first, last);
    return (max - min) >= 360;
  }
@Override
  public boolean isGlobalLon() {
    if (!isLatLon) return false;
    if (!(horizXaxis instanceof CoordinateAxis1D)) return false;
    CoordinateAxis1D lon = (CoordinateAxis1D) horizXaxis;
    double first = lon.getCoordEdge(0);
    double last = lon.getCoordEdge((int) lon.getSize());
    double min = Math.min(first, last);
    double max =  Math.max(first, last);
    return (max - min) >= 360;
  }
@ Override public boolean isGlobalLon ( ) { if ( ! isLatLon ) return false ; if ( ! ( horizXaxis instanceof CoordinateAxis1D ) ) return false ; CoordinateAxis1D lon = ( CoordinateAxis1D ) horizXaxis ; double first = lon . getCoordEdge ( 0 ) ; double last = lon . getCoordEdge ( ( int ) lon . getSize ( ) ) ; double min = Math . min ( first , last ) ; double max = Math . max ( first , last ) ; return ( max - min ) >= 360 ; }
Is this a global coverage over longitude ?
@return true if isLatLon and longitude wraps
Is this a global coverage over longitude ?