Added error message for using dtype=str when format!='NETCDF4'