cdm/src/main/java/ucar/ma2/StructureData.java
public Object getScalarObject(String memberName) {
    StructureMembers.Member m = members.findMember(memberName);
    if (m == null)
      throw new IllegalArgumentException("illegal member name =" + memberName);
    return getScalarObject(m);
  }
public Object getScalarObject(String memberName) {
    StructureMembers.Member m = members.findMember(memberName);
    if (m == null)
      throw new IllegalArgumentException("illegal member name =" + memberName);
    return getScalarObject(m);
  }
Get member data array of any type as an Object, eg, Float, Double, String etc.
@param memberName name of member Variable.
@return value as Float, Double, etc..