-
Notifications
You must be signed in to change notification settings - Fork 11
Baseline timings
Test data for this script can be found in the main repo @ baselineDataDir.zip
baselinetimings.py file provides a simple runtime unittest for the major components of the GTG. Namely,
(1) reading the infrared satellite files into an array for analysis (iomethods.read_data)
(2) finding the cloud elements from these cloud elements (mccSearch.find_cloud_elements) i.e. creating the graph. Approaches for timing either using (a) infrared to find the cloud element and simultaneously find corresponding areas in precipitation data the same time, or (b) only use infrared data to find the cloud elements (then separately find the corresponding areas in precip data are available.
(3) finding cloud clusters (mccSearch.find_cloud_clusters) i.e. pruning the graph
(4) finding the MCC features (mccSearch.find_MCC)
The timings from these components is shown on the standard output. A file is also created for the outputs within the main_directory of the outputs.
##Usage
Update the user inputs between lines ~31 -35 to indicate the correct paths to the data, and the dates to process.
An example of the stdout is shown below in Figure 1.