sakitam-fdd / wind-layer

:flags: :rocket: wind-layer | a openlayers && maptalks && amap && bmap && leaflet && mapbox-gl && maplibre-gl extension like windy.com for weather visualization

Home Page:https://sakitam-fdd.github.io/wind-layer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mapbox显示气温图,地图渲染的颜色与色标对应不上

voole opened this issue · comments

commented

在地图上0度以下的颜色与色标不对应,红色标记区域的温度应该是0度以下的
image
通过工具显示grib数据如下图所示:
image
使用的原始数据文件为:
gfs.t12z.pgrb2.0p25.f000.zip

@voole try 1.1.0-alpha.0

commented

@voole try 1.1.0-alpha.0

大佬你好,我也在用mapbox-wind,ScalarFill API做单通道灰色图做气象彩色图, 在1.0.0版本中,在某些情况下出现了色标对不上的情况,看了你上面的回答,我使用了1.1.1的版本,色彩渲染效果可以符合预期,但是性能巨卡。。在1.0.0没有这个问题

commented

同样代码、数据 灰度图在不同版本下的渲染彩色结果
1.0.0 效果
image

1.1.1 效果
image