This program will take a stratified random sample of the inputted csv file. The inputted file contains data displaying the various audio samples collected from different Audiomoth Devices. The outputted csv file will have 24 successful clips from each Audiomoth device, each clip representing a different hour of the day. To be considered successful, the clips had to be one minute in length. See the Stratified Random Sampling Assignment pdf for more details.
To run this program, simply download the sampler.py and Peru_2019_AudioMoth_Data_Full.csv files. Then run the python script to get a csv file with the stratified random sample.