Comments (9)
It appears to be a problem in rgdal or in some other library. Maybe you could contact the rgdal maintainer directly. See the contact details here: http://cran.r-project.org/web/packages/rgdal/index.html.
from fmi.
Hi!
I do not know if you were able to solve this already, but I am facing exactly the same problem. GDAL is somehow broken, when it comes to handling grib2 -format files. Try getting your data in grib1 -format, and you might have better luck. I am running up-to-date Fedora 21 and 20, and grib2 fails in both of them. At least in Fedora 20, grib1 format is better supported.
[computer]$ gdalinfo input/ennuste.grib | head
Driver: GRIB/GRIdded Binary (.grb)
Files: input/ennuste.grib
Size is 187, 155
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
DATUM["unknown",
SPHEROID["Sphere",6367470,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]
Origin = (19.046997311827955,70.176016233766234)
[computer]$ gdalinfo input/ennuste.grib2
Segmentation fault (core dumped)
from fmi.
@esaostring what is your GDAL version? Have you tried the latest?
from fmi.
@statguy my GDAL versions, resulting core dump:
First, Fedora 20, up-to-date, causing core dump:
Second: OpenSuSE 13.1, (maybe) not up-to-date (I'm afraid to update it due to GDAL problems), working
Third: CentOS7, up-to-date, causing core dump:
[Fedora 20]$ gdalinfo --version
GDAL 1.10.1, released 2013/08/26
[Fedora 20]$ gdalinfo input/ennuste.grib2
Segmentation fault (core dumped)
[OpenSuSE 13.1]> gdalinfo --version
GDAL 1.10.1, released 2013/08/26
[OpenSuSE 13.1]> gdalinfo input/ennuste.grib2
Driver: GRIB/GRIdded Binary (.grb)
Files: input/ennuste.grib2
Size is 187, 155
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
[...]
[CentOS7]$ gdalinfo --version
GDAL 1.11.1, released 2014/09/24
[CentOS7]$ gdalinfo input/ennuste.grib2
Segmentation fault
There is also a Fedora 21 installation (up to date), with gdal version 1.11.2, and that core dumps also.
By latest you mean 2.0 something, or that latest update found in distributions 1.11.2?
I would not totally blame gdal, but some related libraries perhaps, since OpenSuSE (works) and Fedora 20 (fails) have the same gdal version number.
from fmi.
Are you familiar with the Linux debugging tools, or want to read some tutorial? You may try to find where it segfaults. Anyway, as you seem to have the latest 1.*, you may also report the problem to GDAL maintainer.
from fmi.
Yes, somewhat familiar. I might proceed with the bug report early next week. Thanks.
from fmi.
Ok thank you. Please keep us updated :)
from fmi.
Bug reported.
from fmi.
Problem seemed to be Fedora-specific and potentially fixed now, closing this issue.
from fmi.
Related Issues (20)
- Travis CI configuration broken
- Make R CMD check pass HOT 6
- Develop tests for the package
- Is there a need for more conventional API for the package? HOT 6
- Implement method for lightning strikes HOT 1
- Caching doesn't seem to work HOT 1
- Weather stations HOT 18
- Contributors HOT 1
- getDailyWeather fails with error when result is empty HOT 4
- Field ParameterValue has a 4 UTF-8 characters whereas a maximum of 3 is allowed HOT 11
- Clean up and consolidate vignettes
- Error "undefined columns selected" HOT 2
- Update README
- Error in CPL_read_ogr() HOT 4
- Re-write fmi
- Submit to CRAN HOT 11
- Package fmi is not up to date? HOT 32
- Autogenerated content HOT 7
- get_weather_data() in the old blog post doesn't work HOT 4
- Check if rgdal supports streaming data directly from FMI HOT 5
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 fmi.