Integrate variable along one or more axes var - geodat.nc.Variable axis - a list of integer that select the dimension to be integrated along