Comments (2)
Should be fixed with PR #15
from grib.
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)
- export float data to json HOT 2
- Reduce ends up with invalid grid HOT 1
- godoc
- Fix data3 parsing HOT 2
- Clean up bitreader HOT 1
- Template number not supported: 41 error HOT 3
- Corrupt message "runtime error: index out of range" HOT 9
- Push release tag HOT 1
- Eror while parsing data3 HOT 7
- Crash while reading file HOT 4
- Unexpected grid0 message length HOT 2
- Section 5 JPEG2000 support HOT 1
- when support grib1? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grib.