Code Monkey home page Code Monkey logo

Comments (2)

alexamici avatar alexamici commented on August 15, 2024 1

One of the messages in the GRIB file appears to be corrupted:

$ grib_ls ECMWF_DET_MCONTROL2_2018072912_009_GB
ECMWF_DET_MCONTROL2_2018072912_009_GB
edition      centre       typeOfLevel  level        dataDate     stepRange    shortName    packingType  gridType     
1            ecmf         surface      0            20180729     9            2t           grid_simple  regular_ll  
		*** unreadable message ***
1            ecmf         surface      0            20180729     9            sd           grid_simple  regular_ll  
1            ecmf         surface      0            20180729     9            ssrd         grid_simple  regular_ll  
3 of 4 grib messages in ECMWF_DET_MCONTROL2_2018072912_009_GB

3 of 4 total grib messages in 1 files

We are more strict about errors than other tools. I leave the issue open as we may want to give users an option to be less strict.

from cfgrib.

alexamici avatar alexamici commented on August 15, 2024

I added a errors keyword to open_dataset that controls what to do in case that a Message is corrupted, but ecCodes still doesn't crash. The default is to ignore the error and skip the message. Old behaviour remain with errors='strict'.

from cfgrib.

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.