/*getViewFilesHistorical: function(viewName, params, cb){
_.assertLength(arguments, 3)
_.assertDefined(params)

var s = schema[viewName];
if(s === undefined) _.errout('unknown view: ' + viewName)

var viewCode = s.code;

log('getting snapshots: ' + JSON.stringify(params))
var getMsg = {typeCode: viewCode, params: newViewSequencer.paramsStr(params), isHistorical: true}
_.assert(getMsg.params != 'null')
var pathPrefix = serverStateUid + '/' + viewCode + '/'

var key = computeSnapParamsKey(params)
var url = pathPrefix + '-1/-1/' + key
cc.getSnapshots(getMsg, _.once(makeGetSnapshotsCallback(serverStateUid, s, viewCode, params, pathPrefix, cb)));
}, returns the paths for the snapshots for the view
function(viewName, params, cb){
			_.assertLength(arguments, 3)
			_.assertDefined(params)
			
			var s = schema[viewName];
			if(s === undefined) _.errout('unknown view: ' + viewName)
			
			var viewCode = s.code;
			
			//log('getting snapshots: ' + JSON.stringify(params))
			var getMsg = {typeCode: viewCode, params: pu.paramsStr(params, s.viewSchema.params)}
			_.assert(getMsg.params != 'null')
			var pathPrefix = serverStateUid + '/' + viewCode + '/'
			cc.getSnapshots(getMsg, _.once(makeGetSnapshotsCallback(serverStateUid, s, viewCode, params, pathPrefix, cb)));
		}