Tag: coding

  • Automatic weather alerts with Apple Shortcuts

    Automatic weather alerts with Apple Shortcuts

    As an astronomer who enjoys coding, I had a go at using Apple Shortcuts to make my phone automatically check the weather one hour before sunset and notify me if the sky is forecast to be clear that night. Here’s how I did it. Create a personalised automation Open the Shortcuts app, and tap the…

  • Useful Python plotting tips

    Useful Python plotting tips

    I use Python as part of my PhD work almost every day. On most of those days, I use plotting functions to visualise my data and results – either as a “quick and dirty” check that my code is behaving as I expect, or to create publication-standard figures.