-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
126 lines (106 loc) · 4.08 KB
/
config.example.toml
File metadata and controls
126 lines (106 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Copy to config.toml and edit
update_interval_minutes = 30
output_dir = "out"
# Location: either set auto_location=true, or provide lat/lon
auto_location = true
[network]
# If you are behind a corporate proxy, set these.
# Example: "http://proxy.mycorp.com:8080"
https_proxy = ""
http_proxy = ""
timeout_s = 300
[region]
# local: use a bbox around (lat, lon)
# country: use the whole country bbox (good for "鍥藉浜戝浘")
mode = "local" # local | country | globe
# Optional override when mode="country". Format: [lat_min, lon_min, lat_max, lon_max]
# country_bbox_latlon = [18.0, 73.0, 54.0, 135.0]
# Optional override for resolver when mode="country".
# country_name = "China"
# globe mode: render an earth ball centered on your country or location.
# Requires Pillow.
globe_center = "country" # country | location
globe_render_width = 1920
globe_render_height = 1080
# Background for outside-the-globe area
globe_background_style = "gradient" # solid | gradient
globe_background_rgb = [0, 0, 0] # inner (near center)
globe_background_rgb2 = [0, 0, 0] # outer (near corners)
globe_background_stars = false
# Keep only recent outputs (by day folder name). With keep_days=1, only today's images remain.
[retention]
keep_days = 1
# 24-hour animated wallpaper ("loop" command)
# play_interval_s: how many seconds each hourly frame is shown as wallpaper.
# play_interval_s: seconds each frame is shown during the slideshow.
# frame_interval_min: download a fresh frame every N minutes (clock-aligned, must divide 60).
[slideshow]
play_interval_s = 1
frame_interval_min = 15
[location]
name = "Shanghai"
lat = 31.2304
lon = 121.4737
[area]
half_width_km = 250
half_height_km = 140
[image]
width = 3440
height = 1440
format = "jpg" # jpg or png
quality = 92
[satellite]
provider = "fy4" # gibs | himawari | goes | slider | fy4
layers = [
"VIIRS_SNPP_CorrectedReflectance_TrueColor",
"MODIS_Terra_CorrectedReflectance_TrueColor",
]
max_days_back = 10
# SLIDER (RAMMB/CIRA) tiled imagery
# - GK2A + korea: Korea-centered regional cloud imagery
# - GK2A + full_disk: Asia-friendly full-disk view (earth disk)
slider_satellite = "gk2a" # himawari | gk2a
slider_sector = "full_disk" # full_disk | korea
slider_product = "geocolor" # geocolor | natural_color | band_13 ...
slider_max_level = 3 # 0..4 (higher = more detail + bandwidth)
# FY-4 (NSMC) full-disk JPEG — China-centered (~104.7°E)
# FY4A + mtcc: multi-channel true-colour composite (~2200x2200, ~800 KB, fast)
# FY4B + gclr: AGRI geo-colour (~11000x12000, ~11 MB, high-res)
fy4_satellite = "fy4b" # fy4a | fy4b
fy4_product = "gclr" # mtcc (FY4A) | gclr (FY4B)
# Himawari direct full-disk (infrared cloud image works day+night)
himawari_product = "FULL_24h"
himawari_band = "B13"
# Resolution level: 1d=550, 2d=1100, 4d=2200, 8d=4400 (tiles stitched)
himawari_level_d = 8
himawari_max_lookback_minutes = 240
# Layout:
# - fill: crop to fill the wallpaper (may cut off space around the disk)
# - fit: keep the whole earth disk visible, letterbox with a space background
himawari_layout = "fit"
# In fit mode, shrink/enlarge the full-disk earth without cropping.
# 1.0 = as large as possible; 0.75 = shrink by 25%.
full_disk_scale = 0.75
# Himawari true color (daytime only):
# - Product: D531106
# - No band segment in URL, so set himawari_band = "" (or "none")
# himawari_product = "D531106"
# himawari_band = ""
# # For true-color full-disk, "fit" usually looks more like an earth panorama
# himawari_layout = "fit"
# GOES (NOAA) full-disk true-color (earth disc):
# This is often reachable even when Himawari tiles are blocked.
goes_satellite = "GOES18" # GOES18 (west) or GOES16 (east)
goes_product = "GEOCOLOR" # true-color composite
goes_size = 1808 # 678|1808|5424|10848 (bigger = more bandwidth)
[wallpaper]
style = "fill" # fill | fit | stretch | center | span
[overlay]
enabled = true
text_template = "{layer} {date} ({lat:.2f},{lon:.2f})"
position = "bottom-right" # bottom-right | bottom-left | top-right | top-left
margin_px = 24
font_size_px = 28
fill_rgba = [255, 255, 255, 220]
stroke_rgba = [0, 0, 0, 180]
stroke_width_px = 3