Added encoding options for netCDF4 variables

This now allows for variable specific compression.