GithubHelp home page GithubHelp logo

nooblag / bomthegov Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 2.1 MB

Fetch rain radar or satellite images from BOM and make timelapse videos.

License: Other

Shell 96.59% Awk 3.41%
australia himawari-8 meterology rain-radar satellite-imagery timelapse-videos weather

bomthegov's Introduction

bomthegov is a tool that can fetch satellite images, or rain or wind radar images, from the Australien [sic] Bureau of Meteorology (BOM) public archive, and build simple timelapse videos from the collected data.

It currently relies on wget to fetch the images from the public BOM FTP server, imagemagick and ffmpeg to make timelapse videos, and dialog to display pretty menus.

For the moment, it's also particular to Debian-based Operating Systems, prefers GNU awk, and probably a somewhat recent version of bash.

It's tested but unstable, and of course, a hacky hobby project, so use as beerware.


How to use this thing

Install

Make sure you have the required software on your system:

sudo apt install git gawk wget curl imagemagick ffmpeg dialog

Clone this repo and go into it:

git clone https://github.com/nooblag/bomthegov.git
cd bomthegov

Usage

bash bomthegov

will display a help screen to get you started.


More in-depth documentation can be explored inside the program, by running:

bash bomthegov help

or by browsing the 'docs' folder.


Quick Examples

List available satellites:

bash bomthegov satellite list

Print the list of available satellites as searchable text:

bash bomthegov satellite search

Fetch 2km resolution infrared/visual true-colour satellite images of Australia in equirectangular projection from the past 24 hours:

bash bomthegov satellite ide00406

Fetch the same as above, but narrow the query of images to only inside 10 minutes past 8pm UTC:

bash bomthegov satellite ide00406 20:1?

Make a timelapse video from that collected image set:

bash bomthegov timelapse ide00406

bomthegov's People

Contributors

nooblag avatar

Stargazers

 avatar  avatar

Watchers

 avatar

bomthegov's Issues

todo: Improve prettification for data displays

Perhaps use a tree like view?

For example, in radar list, something like:

Location      View/Description                       Res     DelT
-----------------------------------------------------------------
Wollongong (Appin) NSW
└─Rain Rate
  └─IDR031    Broad-scale 512km x 512km Composite    N/A     1.2
  └─IDR032    Mid-scale 256km x 256km Composite      N/A     1.2
  └─IDR033    Local-scale 155km x 155km Composite    N/A     1.2
  └─IDR034    Local-scale 64km x 64km Composite      N/A     1.2
└─Rainfields
  └─IDR03A    Rainfall per 6 minutes                 N/A     1.2
  └─IDR03B    Rainfall per hour                      N/A     1.2
  └─IDR03C    Rainfall since 9am                     N/A     1.2
  └─IDR03D    Rainfall in 24 hours                   N/A     1.2
└─Wind direction
  └─IDR03I    Doppler wind velocity                  N/A     1.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.