src/main/java/ucar/geoapi/ProjectionProvider.java
private static NetcdfParameter<?> parameter(final AliasList alias) {
        final String name = alias.name;
        final double defaultValue;
        switch (name) {
            case "north_hemisphere": {
                return NetcdfParameter.create(name, alias, "true");
            }
            case CF.EARTH_RADIUS: {
                defaultValue = ucar.unidata.geoloc.ProjectionImpl.EARTH_RADIUS;
                break;
            }
            default: {
                defaultValue = 0;
                break;
            }
        }
        return NetcdfParameter.create(name, alias, defaultValue);
    }
/**
     * Creates a parameter for the given netCDF name.
     * A default value is inferred from the netCDF name.
     */
Creates a parameter for the given netCDF name.
A default value is inferred from the netCDF name.
Creates a parameter for the given netCDF name . A default value is inferred from the netCDF name .
private static NetcdfParameter<?> parameter(final AliasList alias) {
        final String name = alias.name;
        final double defaultValue;
        switch (name) {
            case "north_hemisphere": {
                return NetcdfParameter.create(name, alias, "true");
            }
            case CF.EARTH_RADIUS: {
                defaultValue = ucar.unidata.geoloc.ProjectionImpl.EARTH_RADIUS;
                break;
            }
            default: {
                defaultValue = 0;
                break;
            }
        }
        return NetcdfParameter.create(name, alias, defaultValue);
    }
private static NetcdfParameter < ? > parameter ( final AliasList alias ) { final String name = alias . name ; final double defaultValue ; switch ( name ) { case "north_hemisphere" : { return NetcdfParameter . create ( name , alias , "true" ) ; } case CF . EARTH_RADIUS : { defaultValue = ucar . unidata . geoloc . ProjectionImpl . EARTH_RADIUS ; break ; } default : { defaultValue = 0 ; break ; } } return NetcdfParameter . create ( name , alias , defaultValue ) ; }
Creates a parameter for the given netCDF name.
Creates a parameter for the given netCDF name .