filterDimensions: Filter dimensions, limiting to arbitrary lon/lat/Z/time
Description
We frequently want to filter CMIP5 data according to some predetermined
criteria: only high-latitude cells, for example, or certain years, months,
Zs, etc. This function provides convenient one-stop service
for such filtering.