interpret_sbs_variable.py#
- seabirdscientific.interpret_sbs_variable.interpret_sbs_variable(sbs_var)#
SBE variable name conversion to matlab friendly strings.
Converts the strings that define SBE variables to strings that exclude special characters. Gives units for each variable and defines whether it is a number or a text string.
All variables imported from SBEDataProcessing_7.26.4.pdf. There may be additional variables added in future versions of Sea-Bird Data processing modules that are not included here.
- Parameters:
sbs_var – Name of the dataset
- Returns:
The name with special characters removed, the data format, and the units. kvar_name: converted, matlab code readable variable name. kvar_format: defines whether variable is a float or a string. kvar_units: variable units. Empty string if undefined.