if 'IGRF_COEFFS' in _os.environ.keys():
    stderr.write("resetting environment variable IGRF_COEFFS in python "
                 + "script\n")
    reset_warn = True