Comments (2)
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.
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)
- open_datasets fails to open GRIB messages of same parameter with different forecastTime values, silently skipping them HOT 4
- have cfgrib exit on skipping variable HOT 2
- xarray_to_grib.expand_dims too aggressively tries to expand dimensions that are already represented? HOT 4
- Inconsistency between "grib_errors" and "errors" as argument name HOT 1
- Restrictions on reusing an index file are too restrictive HOT 6
- Add to ECMWF downstream ci
- Split cf2cdm out of cfgrib and move it to its own repo HOT 4
- Unable to read the correct time series from NCEP .grib2 HOT 1
- nws noaa grib files open_file but fail to convert OnDiskArray to numpy array (cfgrib >= 0.9.10.2) HOT 4
- Reading National Blend of Models (NBM) Data with cfgrib HOT 6
- broken link in example grib file in github Readme "Usage" section HOT 1
- Offset Longitude Values in FNL GRIB1 files.
- Wrong latitude and longitude HOT 2
- Value error on CfMessage `step` key HOT 3
- Unable to read "step" with ecCodes 2.34.0 HOT 1
- Select dataset/group while opening grib file with xarray
- Request a new release HOT 3
- Cannot find eccodes when using cfgrib HOT 6
- cfgrib and pyinstaller HOT 2
- cfgrib loses all sub-hourly data with newer eccodes version HOT 3
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 cfgrib.