Class ConcatenateIndexFiles
First argument on command line to call this action is "concatenateIndexFiles"
NOTE: This code was last tested on 2016 October 10. Both tests passed.
Inheritance
ConcatenateIndexFiles
Assembly: AnalysisPrograms.dll
Syntax
public static class ConcatenateIndexFiles
Fields
|
Improve this Doc
View Source
CommandName
Declaration
public const string CommandName = "ConcatenateIndexFiles"
Field Value
Methods
|
Improve this Doc
View Source
Declaration
public static void AddTidalInfo(Image<Rgb24> image, SunAndMoon.SunMoonTides[] tidalInfo, DateTimeOffset dto)
Parameters
|
Improve this Doc
View Source
ConcatenateAcousticEventFiles(DirectoryInfo[], String, DirectoryInfo, String)
Declaration
public static void ConcatenateAcousticEventFiles(DirectoryInfo[] dataDirs, string pattern, DirectoryInfo outputDirectory, string opFileStem)
Parameters
|
Improve this Doc
View Source
This method is designed only to read in Spectrogram ribbons for Georgia marine recordings.
Used to prepare images for Aaron Rice.
Declaration
public static void ConcatenateRibbonImages(DirectoryInfo[] dataDirs, string pattern, DirectoryInfo outputDirectory, string opFileStem, string title, SunAndMoon.SunMoonTides[] tidalInfo = null)
Parameters
|
Improve this Doc
View Source
ConvertEventsToSummaryIndices(List<String>)
Declaration
public static double[] ConvertEventsToSummaryIndices(List<string> events)
Parameters
Returns
|
Improve this Doc
View Source
Execute(ConcatenateIndexFiles.Arguments)
Concatenation is designed only for the output from a "Towsey.Acoustic" analysis.
Declaration
public static void Execute(ConcatenateIndexFiles.Arguments arguments)
Parameters
|
Improve this Doc
View Source
TESTMETHOD_ConcatenateIndexFilesTest1()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016.
This tests concatenation when ConcatenateEverythingYouCanLayYourHandsOn = true
This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest1()
|
Improve this Doc
View Source
TESTMETHOD_ConcatenateIndexFilesTest2()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016.
TEST 2: Do test of CONCATENATE A 24 hour BLOCK of DATA
That is, ConcatenateEverythingYouCanLayYourHandsOn = false
This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest2()
|
Improve this Doc
View Source
TESTMETHOD_ConcatenateIndexFilesTest3()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016.
TEST 3: Do test of CONCATENATE A 24 hour BLOCK of DATA
That is, ConcatenateEverythingYouCanLayYourHandsOn = false
HOWEVER, NOTE that the start and end dates are set = null.
In this situation the default behaviour is to concatenate the earliest to the last dates found in 24 hour blocks.
This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest3()
|
Improve this Doc
View Source
TESTMETHOD_ConcatenateIndexFilesTest4()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016.
This tests concatenation when ConcatenateEverythingYouCanLayYourHandsOn = true
It works with a reduced data set that will be used for UNIT TESTING, 13th April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest4()
|
Improve this Doc
View Source
WriteSpectralIndexFiles(DirectoryInfo, String, String, Dictionary<String, Double[,]>)
Declaration
public static List<FileInfo> WriteSpectralIndexFiles(DirectoryInfo destination, string fileNameBase, string identifier, Dictionary<string, double[, ]> results)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static void WriteSummaryIndexFile(DirectoryInfo destination, string baseName, string identifier, IEnumerable<SummaryIndexValues> summaryIndices)
Parameters