cdm/src/main/java/ucar/nc2/ft/fmrc/GridDatasetInv.java
private TimeCoord getTimeCoordinate(CoordinateAxis1DTime axis) {
    // check for same axis
    for (TimeCoord tc : times) {
      if (tc.getAxisName().equals(axis.getFullName()))
        return tc;
    }

    // check for same offsets
    TimeCoord want = new TimeCoord(runDate, axis);
    for (TimeCoord tc : times) {
      if ((tc.equalsData(want)))
        return tc;
    }

    // its a new one
    times.add(want);
    return want;
  }
private TimeCoord getTimeCoordinate(CoordinateAxis1DTime axis) {
    // check for same axis
    for (TimeCoord tc : times) {
      if (tc.getAxisName().equals(axis.getFullName()))
        return tc;
    }

    // check for same offsets
    TimeCoord want = new TimeCoord(runDate, axis);
    for (TimeCoord tc : times) {
      if ((tc.equalsData(want)))
        return tc;
    }

    // its a new one
    times.add(want);
    return want;
  }
private TimeCoord getTimeCoordinate ( CoordinateAxis1DTime axis ) { // check for same axis
 for ( TimeCoord tc : times ) { if ( tc . getAxisName ( ) . equals ( axis . getFullName ( ) ) ) return tc ; } // check for same offsets
 TimeCoord want = new TimeCoord ( runDate , axis ) ; for ( TimeCoord tc : times ) { if ( ( tc . equalsData ( want ) ) ) return tc ; } // its a new one
 times . add ( want ) ; return want ; }
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////