Another purpose of the drive to record amphibians is to act as an early warning against the appearance of ranavirus and fungal infection chytridiomycosis which have decimated numbers across the world .