src/main/java/ucar/geoapi/ProjectionProvider.java
private NetcdfParameter<?>[] parameters() {
        final NetcdfParameter<?>[] param = new NetcdfParameter<?>[parameters.length];
        if (!hasStandardParallels) {
            // Simple common cases: no parameter value arrays.
            for (int i=0; i<param.length; i++) {
                param[i] = parameter(parameters[i]);
            }
        } else {
            final Parameter std = new Parameter(CF.STANDARD_PARALLEL, new double[2]);
            for (int i=0; i<param.length; i++) {
                final AliasList aliases = parameters[i];
                param[i] = aliases.isIndexedParameter() ?
                        new IndexedParameter(std, aliases) : parameter(aliases);
            }
        }
        return param;
    }
/**
     * Creates all netCDF parameters known to this provider. This method is used for
     * the implementation of both {@link #descriptors()} and {@link #createValue()},
     * because the netCDF parameter implements both the value and descriptor GeoAPI
     * interfaces.
     */
Creates all netCDF parameters known to this provider. This method is used for
the implementation of both  #descriptors() and  #createValue(),
because the netCDF parameter implements both the value and descriptor GeoAPI
interfaces.
Creates all netCDF parameters known to this provider . This method is used for the implementation of both #descriptors () and #createValue () because the netCDF parameter implements both the value and descriptor GeoAPI interfaces .
private NetcdfParameter<?>[] parameters() {
        final NetcdfParameter<?>[] param = new NetcdfParameter<?>[parameters.length];
        if (!hasStandardParallels) {
            for (int i=0; i<param.length; i++) {
                param[i] = parameter(parameters[i]);
            }
        } else {
            final Parameter std = new Parameter(CF.STANDARD_PARALLEL, new double[2]);
            for (int i=0; i<param.length; i++) {
                final AliasList aliases = parameters[i];
                param[i] = aliases.isIndexedParameter() ?
                        new IndexedParameter(std, aliases) : parameter(aliases);
            }
        }
        return param;
    }
private NetcdfParameter < ? > [ ] parameters ( ) { final NetcdfParameter < ? > [ ] param = new NetcdfParameter < ? > [ parameters . length ] ; if ( ! hasStandardParallels ) { for ( int i = 0 ; i < param . length ; i ++ ) { param [ i ] = parameter ( parameters [ i ] ) ; } } else { final Parameter std = new Parameter ( CF . STANDARD_PARALLEL , new double [ 2 ] ) ; for ( int i = 0 ; i < param . length ; i ++ ) { final AliasList aliases = parameters [ i ] ; param [ i ] = aliases . isIndexedParameter ( ) ? new IndexedParameter ( std , aliases ) : parameter ( aliases ) ; } } return param ; }
Creates all netCDF parameters known to this provider.
Creates all netCDF parameters known to this provider .
// Simple common cases: no parameter value arrays.