fix for netcdf, allow for entire directories in test cases