import cloudcatalog
dataset_id = 'BAR_3E_L2_MAGN'
start = '2015-08-21T08:07:48.000Z'
stop = '2015-08-22T18:41:52.000Z'
fr=cloudcatalog.CloudCatalog('s3://gov-nasa-hdrl-data1/')
filelist = fr.request_cloud_catalog(dataset_id, start_date=start, stop_date=stop)
#example usage:
fr.stream_uri(filelist, lambda s3_uri, start, stop, filesize: MYCODE(s3_uri, start, stop, filesize))