4 ms·
I wrote a simple shell script[0] to scrape and output the latest image. It uses the tiles from their online satellite map[1], and can output images in incremen
by Syrup-tan 11y ago
I wrote a simple shell script[0] to scrape and output the latest image.
It uses the tiles from their online satellite map[1], and can output images in increments of 1x1, 2x2, 4x4, 16x16 tiles (each tile being 550px by 550px). Here is an example with 2x2 [2]
If you have any suggestions or bugfixes, feel free to fork or comment.
EDIT: Also works for a single tile[3], also clarity.
[0] https://gist.github.com/Syrup-tan/1833ba1671c7017f0d59 https://gist.github.com/Syrup-tan/1833ba1671c7017f0d59
[1] http://himawari8.nict.go.jp/ http://himawari8.nict.go.jp/
[2] https://denpa.moe/~syrup/himawari8.png https://denpa.moe/~syrup/himawari8.png
[3] https://denpa.moe/~syrup/himawari8-single.png https://denpa.moe/~syrup/himawari8-single.png
- slagfart 11y agoIs anyone busily tapping away at a Windows port of this? I'm enthusiastic, but it would take me all day/week
- patrickmclaren 11y agoJust give it a shot, you could translate it line for line into Ruby, and use ImageMagick or something. Don't sell yourself short, it won't take as long as you think!
- icebraining 11y agoYou could probably run it in a cygwin shell (after installing curl and ImageMagick).
- SiVal 11y agoI wish there were a pair of these satellites separated by a couple thousand miles/km, so we could view these images with next-gen, hi-rez VR goggles and see the surface and cloud topography with enhanced depth.
- vlasev 11y agoLet's do a sanity check on this. Cloud height is at about 60,000 feet maximum (in the tropics http://www.srh.noaa.gov/jetstream/clouds/height_max.htm http://www.srh.noaa.gov/jetstream/clouds/height_max.htm). Let's be generous and say this is 20 km maximum height. Earth's diameter is 12742 km. The clouds are about 0.15 % of this size, relatively speaking. The full images are about 11k by 11k, so we can say that 1 px is roughly 1 km. This means that the clouds will be on the scale of 20 pixels, roughly. You know what, this might actually work.
- shpx 11y agoI've always wondered if https://xkcd.com/941/ https://xkcd.com/941/ actually works and if anyone has done it yet
- zoneo 11y agothe max tile value is actually 20x20 (i.e http://himawari8.nict.go.jp/img/D531106/20d/550/2015/07/10/205000_19_10.png http://himawari8.nict.go.jp/img/D531106/20d/550/2015/07/10/2...) making it the 11000x11000 res.