src/main/java/ucar/geoapi/NetcdfCRS.java
static CoordinateAxis complete(CoordinateAxis axis, final NetcdfDataset file, final Logger logger) {
            if (!(axis instanceof CoordinateAxis1DTime) && file != null) try {
                final Formatter formatter = (logger != null) ? new Formatter() : null;
                axis = CoordinateAxis1DTime.factory(file, axis, formatter);
                if (formatter != null) {
                    final StringBuilder buffer = (StringBuilder) formatter.out();
                    if (buffer.length() != 0) {
                        logger.logp(Level.WARNING, NetcdfCRS.class.getName(), "wrap", buffer.toString());
                    }
                }
            } catch (IOException e) {
                if (logger != null) {
                    logger.logp(Level.WARNING, NetcdfCRS.class.getName(), "wrap", e.toString(), e);
                }
            }
            return axis;
        }
/**
         * If the given axis is not an instance of {@link CoordinateAxis1DTime}, tries to build
         * a {@code CoordinateAxis1DTime} now. Otherwise returns the axis unchanged. This method
         * can be invoked before to pass the axis to the constructor, if desired.
         *
         * @param  axis    the axis to check.
         * @param  file    the originating dataset, or {@code null} if none.
         * @param  logger  an optional object where to log warnings, or {@code null} if none.
         * @return the axis as an (@link CoordinateAxis1DTime} if possible.
         */
If the given axis is not an instance of  CoordinateAxis1DTime, tries to build
a  CoordinateAxis1DTime now. Otherwise returns the axis unchanged. This method
can be invoked before to pass the axis to the constructor, if desired.

@param  axis    the axis to check.
@param  file    the originating dataset, or  null if none.
@param  logger  an optional object where to log warnings, or  null if none.
@return the axis as an (@link CoordinateAxis1DTime} if possible.
If the given axis is not an instance of CoordinateAxis1DTime tries to build a CoordinateAxis1DTime now . Otherwise returns the axis unchanged . This method can be invoked before to pass the axis to the constructor if desired . @param axis the axis to check . @param file the originating dataset or null if none . @param logger an optional object where to log warnings or null if none . @return the axis as an ( @link CoordinateAxis1DTime } if possible .
static CoordinateAxis complete(CoordinateAxis axis, final NetcdfDataset file, final Logger logger) {
            if (!(axis instanceof CoordinateAxis1DTime) && file != null) try {
                final Formatter formatter = (logger != null) ? new Formatter() : null;
                axis = CoordinateAxis1DTime.factory(file, axis, formatter);
                if (formatter != null) {
                    final StringBuilder buffer = (StringBuilder) formatter.out();
                    if (buffer.length() != 0) {
                        logger.logp(Level.WARNING, NetcdfCRS.class.getName(), "wrap", buffer.toString());
                    }
                }
            } catch (IOException e) {
                if (logger != null) {
                    logger.logp(Level.WARNING, NetcdfCRS.class.getName(), "wrap", e.toString(), e);
                }
            }
            return axis;
        }
static CoordinateAxis complete ( CoordinateAxis axis , final NetcdfDataset file , final Logger logger ) { if ( ! ( axis instanceof CoordinateAxis1DTime ) && file != null ) try { final Formatter formatter = ( logger != null ) ? new Formatter ( ) : null ; axis = CoordinateAxis1DTime . factory ( file , axis , formatter ) ; if ( formatter != null ) { final StringBuilder buffer = ( StringBuilder ) formatter . out ( ) ; if ( buffer . length ( ) != 0 ) { logger . logp ( Level . WARNING , NetcdfCRS . class . getName ( ) , "wrap" , buffer . toString ( ) ) ; } } } catch ( IOException e ) { if ( logger != null ) { logger . logp ( Level . WARNING , NetcdfCRS . class . getName ( ) , "wrap" , e . toString ( ) , e ) ; } } return axis ; }
If the given axis is not an instance of {@link CoordinateAxis1DTime}, tries to build
 a {@code CoordinateAxis1DTime} now.
If the given axis is not an instance of { @link CoordinateAxis1DTime } tries to build a { @code CoordinateAxis1DTime } now .