cdm/src/main/java/ucar/unidata/geoloc/projection/AlbersEqualArea.java
public double getScale(double lat) {
    lat = Math.toRadians(lat);
    double n = Math.cos(lat);
    double d = Math.sqrt(C - 2 * n * Math.sin(lat));
    return n / d;
  }
public double getScale(double lat) {
    lat = Math.toRadians(lat);
    double n = Math.cos(lat);
    double d = Math.sqrt(C - 2 * n * Math.sin(lat));
    return n / d;
  }
Get the scale at the given lat.

@param lat lat to use
@return scale factor at that latitude