Initialize Attributes for a SeaSondeRAPM Object
Source:R/SeaSondeRAPM.R
seasonder_initializeAttributesSeaSondeRAPM.RdThis function initializes attributes for a SeaSondeRAPM object, including metadata and properties.
Details
The function initializes the following attributes:
quality_matrix: A 3 x b complex matrix for quality data, where b is the number of bearings.BEAR: A numeric vector for bearings (degrees CCW from the site bearing).Type: Character string for antenna pattern type.Creator: Object creator name. Default is an empty character vector.SiteName: Site name (not the same as SiteCode). Default is an empty character vector.SiteOrigin: Numeric vector with two elements representing the Station GPS location. Default isc(0,0).FileName: Default is an empty character vector.CreateTimeStamp: APM file creation time. Default is current system date and time.ProcessingSteps: Processing steps applied to this object. Default is an empty character vector.AmplitudeFactors: Numeric vector with two elements for the amplitude factors. Default isc(0,0).AntennaBearing: Site bearing (CW degrees from true north). Default is an empty numeric vector.StationCode: 4-character station code. Default is an empty character vector.BearingResolution: In degrees. Default is an empty numeric vector.Smoothing: Numeric vector indicating smoothing applied to the antenna pattern. Default is an empty numeric vector.CommentLine: Metadata lines in the data file not matching any other attribute. Default is an empty character vector.FileID: File's UUID. Default is an empty character vector.PhaseCorrections: Numeric vector with two elements for phase corrections. Default isc(0,0).
Examples
# Initialize attributes for a dummy calibration matrix
attrs <- seasonder_initializeAttributesSeaSondeRAPM(matrix(1:6, nrow = 3))