remove the getIndices generic function definition to avoid masking the one defined in ncdfFlow