Factor _encode_datetime_with_netcdf4 into a separate function
Factor _encode_datetime_with_netcdf4 into a separate function

hetland/xray,xray/xray,jhamman/xarray,drewokane/xray,jhamman/xarray,petercable/xray,kjordahl/xray,clarkfitzg/xray,kjordahl/xray,rabernat/xray,pydata/xarray,shoyer/xarray,shoyer/xarray,markelg/xray,NicWayand/xray,markelg/xray,shoyer/xray,jhamman/xarray,pydata/xarray,chunweiyuan/xarray,clarkfitzg/xray,pydata/xarray,cpaulik/xray,markelg/xray,cpaulik/xray,hetland/xray,jcmgray/xarray,rabernat/xray,jhamman/xray