1 from JPSSD
import retrieve_af_data
4 print 'usage: ./get_data.sh lonmin lonmax latmin latmax timemin timemax'
6 print './get_data.sh -132.86966 -102.0868788 44.002495 66.281204 2012-09-11T00:00:00Z 2012-09-12T00:00:00Z'
9 for s
in sys
.argv
[1:5]:
12 time
= (sys
.argv
[5],sys
.argv
[6])
13 print 'bounding box is %s' % bbox
14 print 'time interval is %s %s' % time
15 retrieve_af_data(bbox
,time
)
16 print 'Retrieved data written to Matlab file out.mat'