Gravar-mail: Testing conditions and estimating parameters in extreme value theory: Application to environmental data