reads the version as a number, if there are a different builds, those are added in the 3rd and 4th digit of the number; i.e. 1.3702 for 1.37 Build 2

vsm.version(filename, verbose = FALSE)

Arguments

filename

name of the file to check (include path)

verbose

output app name

Value

version of VSM file

Examples

filename = vsm.getSampleFiles()
q = sapply(filename, vsm.version)
names(q)=basename(names(q))
q
#> 20170620_BITHERMAL_SF_VSM_SF170517SI2_MVSH_3K.DAT 
#>                                            1.3702 
#>                                     empty_vsm.dat 
#>                                            1.3600 
#>                                       sample1.dat 
#>                                            1.5667 
#>                                       sample2.DAT 
#>                                            1.5600 
#>                                       sample3.DAT 
#>                                            1.0914 
#>                                       sample4.dat 
#>                                            1.2401 
#>                                       sample5.dat 
#>                                            1.3600 
#>                                       sample6.dat 
#>                                            1.3702