Skip to content
产品中心
Metobs.DwlDbs

测风激光雷达 DBS / VAD 矩形色斑。必须写 source。反演(sec / ave)读 hws / wd / snr / zwind / ti,纵轴是 height。LOS(los)读 radial / snr / width / intensity,纵轴是 range(斜距,米)。时间字段是 dateTimedata 只认 { values: records }。单仰角圆是 Metobs.Dwl.Ppi,等高圆是 Metobs.Dwl.Cappi,定点是 Metobs.Dwl.Stare,扇区是 Metobs.Dwl.Rhi,不要用本类去画。

公共 option 见 基础配置标题网格图例提示框缩放工具栏


水平风速

水平风速色斑 · 风羽

通过绘制时间 × 高度色斑或风羽,用来看各高度上水平风速。QX/T 605—2021 规定相干多普勒测风激光雷达用于大气风场遥测。民航《相干多普勒测风激光雷达技术规范》征求意见稿把「水平风速风向」列为二次产品。产品 key 为 hws,单位 m/s。风羽另读 wd

数据

每条记录带 dateTimeheight(米)和本产品用的 hws。画羽还要等长的 wd。都必须是 number[]999 按缺测处理。source'sec''ave'

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00', // 观测时间。本图作横轴
    height: [60, 120, 180 /* … */], // 离地高度(米)。本图作纵轴
    // 本产品着色或羽的杆长读这一列(m/s)
    hws: [5.25, 4.94, 5.31 /* … */],
    wd: [304.55, 314.22, 325.77 /* … */], // 风向(度)。羽的朝向
}

打开 overlay.barb 时只画羽、不铺色斑(true{ show, symbol: 'barb' | 'arrow' })。pick:打开风羽时只命中羽(value 是风速,extra.dir 是风向)。

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'hws',
    source: 'sec',
    overlay: { barb: true },
    title: {
        show: true,
        text: '水平风速(m/s)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '高度(m)'
    },
    data: {
        values: records
    }
})

不写 source 会得到空图。色斑按像素双线性取样,缺测透明。默认打开绘图区边框。不写 legend.pieces 时,库带下面这套色标。

色标

档 (m/s)048121620242730
rgb(0,236,236)rgb(0,149,249)rgb(4,82,175)rgb(0,216,0)rgb(42,135,4)rgb(255,255,0)rgb(255,171,0)rgb(249,113,177)rgb(253,0,0)

要改色、改档去 图例


水平风向

水平风向示例

通过绘制时间 × 高度色斑,用来看各高度上水平风向。民航征求意见稿二次产品含「水平风速风向」。产品 key 为 wd,单位 °,气象来向,0=北。按 0~360 最短角取样,避免跨 0° 拉出整圈色。

数据

每条记录带 dateTimeheight(米)和本产品用的 wd。都必须是 number[]999 按缺测处理。source'sec''ave'

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    height: [60, 120, 180 /* … */],
    // 本产品着色读这一列(°)
    wd: [304.55, 314.22, 325.77 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'wd',
    source: 'sec',
    title: {
        show: true,
        text: '水平风向(°)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '高度(m)'
    },
    data: {
        values: records
    }
})

色标

档 (°)04590135180225270315360
#e53935#fb8c00#fdd835#43a047#00897b#1e88e5#3949ab#8e24aa#e53935

要改色、改档去 图例


信噪比

信噪比反演 · LOS

通过绘制时间 × 高度或斜距色斑,用来看回波信号比噪声强多少。民航征求意见稿把 SNR(原始数据亦称载噪比)列为原始数据。产品 key 为 snr,单位 dB。反演用 source: 'sec' / 'ave',纵轴是 height;LOS 用 source: 'los',纵轴是 range。与云雷达、风廓线雷达同物理量,色标独立。

数据

反演记录带 dateTimeheightsnr。LOS 记录带 dateTimerangesnr。都必须是 number[]999 按缺测处理。

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    height: [60, 120, 180 /* … */],
    // 本产品着色读这一列(dB)
    snr: [32, 28, 24 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'snr',
    source: 'sec',
    title: {
        show: true,
        text: '信噪比(dB)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '高度(m)'
    },
    data: {
        values: records
    }
})

LOS 把 source 改成 'los',纵轴名称改成斜距。

色标

档 (dB)0510152025303540
rgb(0,80,0)rgb(0,160,0)rgb(80,200,0)rgb(180,220,0)rgb(255,220,0)rgb(255,140,0)rgb(255,60,0)rgb(220,0,0)rgb(160,0,40)

要改色、改档去 图例


垂直速度

垂直速度示例

通过绘制时间 × 高度色斑,用来看各高度上气流沿垂直方向的快慢。民航征求意见稿二次产品含「垂直速度」。产品 key 为 zwind,单位 m/s。

数据

每条记录带 dateTimeheight(米)和本产品用的 zwind。都必须是 number[]999 按缺测处理。source'sec''ave'

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    height: [60, 120, 180 /* … */],
    // 本产品着色读这一列(m/s)
    zwind: [0.06, 0.17, 0.18 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'zwind',
    source: 'sec',
    title: {
        show: true,
        text: '垂直速度(m/s)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '高度(m)'
    },
    data: {
        values: records
    }
})

色标

档 (m/s)−1−0.5−0.200.20.51
#1565c0#42a5f5#bbdefb#f5f5f5#ffcdd2#ef5350#c62828

要改色、改档去 图例


湍流强度

湍流强度示例

通过绘制时间 × 高度色斑,用来看各高度上风速脉动相对平均风有多强。民航征求意见稿二次产品含「湍流」。产品 key 为 ti。记录里已是 ti[],无量纲。

数据

每条记录带 dateTimeheight(米)和本产品用的 ti。都必须是 number[]999 按缺测处理。source'sec''ave'

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    height: [60, 120, 180 /* … */],
    // 本产品着色读这一列
    ti: [0.12, 0.2, 0.15 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'ti',
    source: 'sec',
    title: {
        show: true,
        text: '湍流强度'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '高度(m)'
    },
    data: {
        values: records
    }
})

色标

00.10.20.30.40.50.6
rgb(0,0,80)rgb(0,60,180)rgb(0,160,200)rgb(80,200,80)rgb(255,220,0)rgb(255,100,0)rgb(140,0,0)

要改色、改档去 图例


径向速度

径向速度示例

通过绘制时间 × 斜距色斑,用来看粒子沿着激光波束方向走得有多快。民航征求意见稿把径向速度列为原始数据(附录 A .RADV)。产品 key 为 radial,单位 m/s。source 必须是 'los'。LOS 没有水平风,不能叠羽。

数据

每条记录带 dateTimerange(斜距,米)和本产品用的 radial。都必须是 number[]999 按缺测处理。波束由传入记录的 azimuth / pitch 决定。

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    azimuth: 270,
    pitch: 75,
    range: [60, 90, 120 /* … */], // 斜距(米)。本图作纵轴
    // 本产品着色读这一列(m/s)
    radial: [2.4, -0.8, 1.1 /* … */],
}

不要和反演记录混用。

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'radial',
    source: 'los',
    title: {
        show: true,
        text: '径向速度(m/s)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '斜距(m)'
    },
    data: {
        values: records
    }
})

色标

档 (m/s)−14−10−6−30361014
rgb(80,0,140)rgb(40,0,200)rgb(0,100,255)rgb(160,220,255)rgb(255,255,255)rgb(255,220,120)rgb(255,140,0)rgb(230,40,0)rgb(140,0,40)

要改色、改档去 图例


谱宽

谱宽示例

通过绘制时间 × 斜距色斑,用来看同一距离库内径向速度快慢差了多少。民航征求意见稿把谱宽列为原始数据。产品 key 为 width,单位 m/s。source 必须是 'los'

数据

每条记录带 dateTimerange(斜距,米)和本产品用的 width。都必须是 number[]999 按缺测处理。

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    azimuth: 270,
    pitch: 75,
    range: [60, 90, 120 /* … */],
    // 本产品着色读这一列(m/s)
    width: [0.8, 1.1, 1.4 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'width',
    source: 'los',
    title: {
        show: true,
        text: '谱宽(m/s)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '斜距(m)'
    },
    data: {
        values: records
    }
})

色标

档 (m/s)00.511.522.533.54
rgb(20,20,80)rgb(0,80,200)rgb(0,180,200)rgb(40,200,80)rgb(220,220,0)rgb(255,160,0)rgb(240,80,0)rgb(200,0,40)rgb(120,0,40)

要改色、改档去 图例


谱强

谱强示例

通过绘制时间 × 斜距色斑,用来看各距离库回波谱的强弱。民航征求意见稿把谱强列为原始数据。产品 key 为 intensity,单位 dB。source 必须是 'los'

数据

每条记录带 dateTimerange(斜距,米)和本产品用的 intensity。都必须是 number[]999 按缺测处理。

js
{
    stationCode: '10K',
    stationName: '示例站',
    dateTime: '2022-03-29 10:00:00',
    azimuth: 270,
    pitch: 75,
    range: [60, 90, 120 /* … */],
    // 本产品着色读这一列(dB)
    intensity: [30, 22, 16 /* … */],
}

调用

ts
import { Metobs } from '@dingnl/metobs-chart'

const chart = Metobs.Dwl.Dbs.init(el)
chart.setOption({
    product: 'intensity',
    source: 'los',
    title: {
        show: true,
        text: '谱强(dB)'
    },
    xAxis: {
        show: true,
        name: '时间'
    },
    yAxis: {
        show: true,
        name: '斜距(m)'
    },
    data: {
        values: records
    }
})

色标

档 (dB)0510152025303540
rgb(20,0,60)rgb(60,0,160)rgb(0,60,200)rgb(0,160,200)rgb(40,200,80)rgb(220,220,0)rgb(255,140,0)rgb(230,40,0)rgb(140,0,40)

要改色、改档去 图例