cdm/src/main/java/ucar/ma2/StructureData.java
public float convertScalarFloat(String memberName) {
    StructureMembers.Member m = members.findMember(memberName);
    if (m == null) throw new IllegalArgumentException("illegal member name =" + memberName);
    return convertScalarFloat(m);
  }
public float convertScalarFloat(String memberName) {
    StructureMembers.Member m = members.findMember(memberName);
    if (m == null) throw new IllegalArgumentException("illegal member name =" + memberName);
    return convertScalarFloat(m);
  }
Get scalar value as a float, with conversion as needed. Underlying type must be convertible to float.
@param memberName name of member Variable. Must be convertible to float.
@return scalar value as a float
@throws ForbiddenConversionException if not convertible to float.