Giter Club home page Giter Club logo

Comments (9)

statguy avatar statguy commented on August 19, 2024

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.

esaostring avatar esaostring commented on August 19, 2024

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.

statguy avatar statguy commented on August 19, 2024

@esaostring what is your GDAL version? Have you tried the latest?

from fmi.

esaostring avatar esaostring commented on August 19, 2024

@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.

statguy avatar statguy commented on August 19, 2024

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.

esaostring avatar esaostring commented on August 19, 2024

Yes, somewhat familiar. I might proceed with the bug report early next week. Thanks.

from fmi.

statguy avatar statguy commented on August 19, 2024

Ok thank you. Please keep us updated :)

from fmi.

esaostring avatar esaostring commented on August 19, 2024

Bug reported.

from fmi.

jlehtoma avatar jlehtoma commented on August 19, 2024

Problem seemed to be Fedora-specific and potentially fixed now, closing this issue.

from fmi.

Related Issues (20)

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.