/// <summary> /// Add Water Mass Ship data set. /// </summary> /// <param name="ensemble">Ensemble to add the dataset.</param> /// <param name="numBeams">Number of beam sin the dataset.</param> public static void AddWaterMassShip(ref DataSet.Ensemble ensemble, int numBeams = DataSet.Ensemble.DEFAULT_NUM_BEAMS_BEAM) { ensemble.AddShipWaterMassData(DataSet.Ensemble.DATATYPE_FLOAT, DataSet.ShipWaterMassDataSet.NUM_DATA_ELEMENTS, // Num elements (Bins) DataSet.Ensemble.DEFAULT_NUM_BEAMS_BEAM, // Num Beams DataSet.Ensemble.DEFAULT_IMAG, // Image DataSet.Ensemble.DEFAULT_NAME_LENGTH, // Name length DataSet.Ensemble.WaterMassShipID, // Name (Dataset ID) 0.0f, // Water Mass Transverse Velocity in m/s. 0.0f, // Water Mass Longitundial Velocity in m/s. 0.0f, // Water Mass Normals Velocity in m/s. 0.0f); // Depth layer of the Water Mass measurement in meters. }