Logo

Contents:

  • 1. Basic usage
  • 2. Simple Customization
  • 3. Advanced Customization
  • 4. The Standard Model
  • 5. Dust Coagulation
  • 6. Dust Evolution
  • 7. Gas Evolution
  • Library: dustpylib
  • Test: Analytical Coagulation Kernels
  • Test: Gas Evolution
  • Example: Ice Lines
  • Example: Planetary Gaps
  • Example: Planetesimal Formation
  • Appendix A: Citation
  • Appendix B: List of Publications
  • Appendix C: Contributing/Bugs/Features
  • Appendix D: DustPy Discussions
  • Appendix E: Changelog
  • Module Reference
    • dustpy Package
    • dustpy.constants Package
    • dustpy.plot Package
    • dustpy.std Package
    • dustpy.std.dust Module
    • dustpy.std.gas Module
    • dustpy.std.grid Module
    • dustpy.std.sim Module
    • dustpy.std.star Module
    • dustpy.utils Package
      • Functions
        • read_data
        • print_version_warning
      • Classes
dustpy
  • Module Reference
  • print_version_warning
  • View page source

print_version_warning

dustpy.utils.print_version_warning(timeout=0.5)[source]

Functions prints a warning to screen if a newer version of DustPy is available.

Parameters:

timeout (float, optional, default : 0.5) – Timeout in seconds after which test will be aborted

Notes

If no internet connection is available the test will be aborted after timeout. This also happens if an internet connection is available but the ping is greater than timeout.

Previous Next

© Copyright 2020-2023, Sebastian Stammler & Tilman Birnstiel.

Built with Sphinx using a theme provided by Read the Docs.