How to display snow? #22
Replies: 2 comments 1 reply
-
|
@thessnake03 The color scheme and snow settings are set in your config file for each radar window. Look for something like this in your config: radar1 = {
'center': radar_location, # the center of your radar block
'zoom': 7, # this is a maps zoom factor, bigger = smaller area
'basemap': map_base, # Mapbox style for standard map or custom map with land and water only
'overlay': map_overlay, # Mapbox style for labels, roads, and borders only
'color': 6, # rainviewer radar color scheme:
# https://www.rainviewer.com/api/color-schemes.html
'smooth': 1, # rainviewer radar smoothing
'snow': 1, # rainviewer radar show snow as different color
'markers': ( # google maps markers can be overlaid
{
'visible': 1, # 0 = hide marker, 1 = show marker
'location': radar_location,
'color': 'red',
'size': 'small',
'image': 'teardrop-dot', # optional image from the markers folder
}, # dangling comma is on purpose.
)
}It also depends on what RainViewer wants to provide. See https://www.rainviewer.com/api/color-schemes.html for the color scheme codes and how they will be affected by changes in the coming year. |
Beta Was this translation helpful? Give feedback.
-
|
Changing color from 6 to 2 did the trick. Thanks! I noticed this on line 1706 & 1707 I figure that sets a default if nothing is in the config file. Changing that from 6 to 2 caused the program to not load. I'm a bit out of my depth in troubleshooting that one. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How do you get the radar to show snow?
Mine shows the same color as light rain, green/dark green. Ideally I'd like it to be purple, or something else to differentiate snow from rain, or even sleet.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions