Skip to content

最新的NOAA的数据源提供的路径为/00/atmos,以及window环境下执行grib2json路径配置 #22

Description

@123164867376464646

NOAA 路径

var stamp = moment(targetMoment).format('YYYYMMDD') + roundHours(moment(targetMoment).hour(), 6);
var years = moment(targetMoment).format('YYYYMMDD')
var hour = roundHours(moment(targetMoment).hour(), 6);
image

window环境使用bin/的grib2json工具路径配置:

app.js:
child = exec('converter\bin\grib2json --data --output json-data\' + stamp + '.json --names --compact grib-data\' + stamp + '.f000',
image

经过上述改动后可以直接成功获取数据并解析存储成grib2json数据

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions