View source: R/SeaSondeRCS_FOR.R
seasonder_setFORParameter | R Documentation |
This function updates a single First Order Region (FOR) parameter in the SeaSondeRCS object.
It creates a single-parameter list and passes it to seasonder_setFOR_parameters()
.
seasonder_setFORParameter(seasonder_cs_object, FOR_parameter, value)
seasonder_cs_object |
A SeaSondeRCS object containing FOR-related metadata. |
FOR_parameter |
A character string specifying the name of the parameter to set. |
value |
The value to assign to the specified FOR parameter. |
The updated SeaSondeRCS object with the new parameter value.
# Set sample file paths
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
# Read the antenna pattern file to create a SeaSondeRAPM object
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
# Create a SeaSondeRCS object from a spectral file
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
cs_obj <- seasonder_setFORParameter(cs_obj, "nsm", 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.