Git Product home page Git Product logo

Comments (2)

landru29 avatar landru29 commented on May 31, 2024 1

Should be fixed with PR #15

from grib.

nilsmagnus avatar nilsmagnus commented on May 31, 2024

Seems to be happening consistenly with 0-hour offset forecasts,


insert http---www.ftp.ncep.noaa.gov-data-nccf-com-gfs-prod-gfs.2017122206-gfs.t06z.pgrb2.1p00.f000
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/nilsmagnus/grib/griblib.ParseData3(0x848a20, 0xc427e08000, 0x232c, 0xc42004d080, 0x5, 0xc42dd48478, 0x700002331)
        /home/larsgard/go/src/github.com/nilsmagnus/grib/griblib/data.go:215 +0x10fd
github.com/nilsmagnus/grib/griblib.ReadSection7(0x848a20, 0xc427e08000, 0x232c, 0x40000000, 0x6258d19a01010004, 0x6c8ffffffff, 0x100000300, 0x6a00000001, 0x10208, 0x0, ...)
        /home/larsgard/go/src/github.com/nilsmagnus/grib/griblib/sections.go:341 +0x4d
github.com/nilsmagnus/grib/griblib.readMessage(0x848a20, 0xc427e08000, 0x202000047524942, 0x23fb, 0x202000047524942, 0x23fb, 0x1010200000007, 0x6160c07e1, 0x100, 0x0, ...)
        /home/larsgard/go/src/github.com/nilsmagnus/grib/griblib/sections.go:117 +0x537
github.com/nilsmagnus/grib/griblib.ReadMessage(0x849720, 0xc42000e040, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/larsgard/go/src/github.com/nilsmagnus/grib/griblib/sections.go:86 +0x2d9
github.com/nilsmagnus/grib/griblib.ReadMessages(0x849720, 0xc42000e040, 0x0, 0x0, 0x0, 0x1f96, 0x7fff41b11dca)
        /home/larsgard/go/src/github.com/nilsmagnus/grib/griblib/sections.go:51 +0xa9
main.main()
        /home/larsgard/go/src/github.com/nilsmagnus/grib2influx/main.go:47 +0x17a
done

from grib.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.