def _warn_iers(ierserr):
 msg = u'{0} Assuming UT1-UTC=0 for coordinate transformations.'
 warnings.warn(msg.format(ierserr.args[0]), AstropyWarning)

def _warn_iers ( ierserr ) : msg = u'{0} Assuming UT1-UTC=0 for coordinate transformations.' warnings . warn ( msg . format ( ierserr . args [ 0 ] ) , AstropyWarning )
generate a warning for an iersrangeerror parameters ierserr : an ~astropy .