I have found a helper script useful so let's give it to PISM users.