add netcdf4 as optional requirement