tr= getParam( 'timerange', '2012-09-26', 'timerange to load' ) subsamp= getParam( 'subsamp', '0', 'the factor to subsample by', [ '0', '4', '16', '256' ] ) if ( subsamp=='0' ): pass # xyz= getDataSet('vap+cdf:http://emfisis.physics.uiowa.edu/Flight/RBSP-A/Quick-Look/$Y/$m/$d/rbsp-a_magnetometer_uvw_emfisis-Quick-Look_$Y$m$d_v$(v,sep).cdf?timerange=%s&Mag' % tr,monitor ) else: pass # xyz= getDataSet('vap+cdf:http://emfisis.physics.uiowa.edu/Flight/RBSP-A/Quick-Look/$Y/$m/$d/rbsp-a_magnetometer_uvw_emfisis-Quick-Look_$Y$m$d_v$(v,sep).cdf?timerange=%s&Mag[::%s]' % (tr,subsamp),monitor ) typ= getParam( 'typ', 'fce', 'the parameter to use', [ 'bmag', 'fce', 'fci' ] )