Code to handle collections of NetCDF files