Skip to content

himawari8-capturer is a tool that can get picture of the earth by the himawari 8

License

Notifications You must be signed in to change notification settings

fissssssh/himawari8-capturer

Repository files navigation

himawari8-capturer

himawari8-capturer is a tool that can get picture of the earth taken by the himawari 8

Install

How to get source code ?

You have 2 ways to get source code

  1. Clone the repository
    $ git clone https://github.com/fissssssh/himawari8-capturer.git
  2. Download the source code

How to build ?

$ cd himawari8-capturer
$ go build -o build/himawari8-capturer cmd/cli/main.go

Usage

$ ./himawari-capturer [-q quality] [-t unix_millisecond_timestamp] [-l shorelines_color] [-p proxy_url]
Option Access values Remark
-q 1: 550*550
2: 1100*1100
3: 2200*2200
4: 4400*4400
5: 8800*8800
6: 11000*11000
Resolution of image
-t Unix millisecond timestamp Time of image
-l 0: Ignore
1: Red
2: Green
3: Yellow
Color of shorelines
-p HTTP proxy url HTTP Proxy

Example

$ ./build/himawari8-capturer -t 1634359675264
2021/10/16 23:01:19 Get 1-1 tile image from https://himawari8.nict.go.jp/img/D531106/2d/550/2021/10/16/044000_1_1.png...
2021/10/16 23:01:19 Get 0-1 tile image from https://himawari8.nict.go.jp/img/D531106/2d/550/2021/10/16/044000_0_1.png...
2021/10/16 23:01:19 Get 0-0 tile image from https://himawari8.nict.go.jp/img/D531106/2d/550/2021/10/16/044000_0_0.png...
2021/10/16 23:01:19 Get 1-0 tile image from https://himawari8.nict.go.jp/img/D531106/2d/550/2021/10/16/044000_1_0.png...
2021/10/16 23:01:23 Get 0-1 tile image done!
2021/10/16 23:01:23 Get 1-0 tile image done!
2021/10/16 23:01:23 Get 1-1 tile image done!
2021/10/16 23:01:23 Get 0-0 tile image done!
2021/10/16 23:01:23 Tile images were composed!
2021/10/16 23:01:23 Saving image to himawari8_20211016T044000Z.png
2021/10/16 23:01:24 All done!

himawari8_20211016T044000Z.png

About

himawari8-capturer is a tool that can get picture of the earth by the himawari 8

Resources

License

Stars

Watchers

Forks

Packages

No packages published