cdm/src/main/java/ucar/ma2/ArrayStructure.java
public float getScalarFloat(int recnum, StructureMembers.Member m) {
    if (m.getDataType() != DataType.FLOAT)
      throw new IllegalArgumentException("Type is " + m.getDataType() + ", must be float");
    Array data = m.getDataArray();
    return data.getFloat(recnum * m.getSize()); // gets first one in the array
  }
public float getScalarFloat(int recnum, StructureMembers.Member m) {
    if (m.getDataType() != DataType.FLOAT)
      throw new IllegalArgumentException("Type is " + m.getDataType() + ", must be float");
    Array data = m.getDataArray();
    return data.getFloat(recnum * m.getSize()); // gets first one in the array
  }
public float getScalarFloat ( int recnum , StructureMembers . Member m ) { if ( m . getDataType ( ) != DataType . FLOAT ) throw new IllegalArgumentException ( "Type is " + m . getDataType ( ) + ", must be float" ) ; Array data = m . getDataArray ( ) ; return data . getFloat ( recnum * m . getSize ( ) ) ; // gets first one in the array
 }
Get scalar member data of type float.

@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();
@param m      get data from this StructureMembers.Member. Must be of type float.
@return scalar double value
Get scalar member data of type float .