ECMWF logo Support Portal

  • Home
  • About
  • Forecasts
  • Computing
  • Learning
  • Publications
  • Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
Intranet
  • Help
    • Online Help
    • Keyboard Shortcuts
    • Feed Builder
    • What’s new
    • Available Gadgets
    • About Confluence
  • Log in
Hit enter to search
User Documentation

    Content

  • Pages
  • Blog

    Space Tools

  • Settings
  • Content Tools
143041547
UDOC
3
    • Attachments (0)
    • Page History
    • Resolved comments
    • Page Information
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
    • Hide Inline Comments
  1. Pages
  2. User Documentation
  3. ECMWF software packages - FAQs
  4. ecCodes Frequently Asked Questions - FAQs
  5. ecCodes General - Frequently Asked Questions - FAQS
Skip to end of banner
  • Jira links
Go to start of banner

Python: Can I catch a specific exception - ecCodes FAQ

  • Created by Unknown User (usa), last modified by Shahram Najm on Jul 31, 2023

Yes.
See the full list of Python exception classes here.
Note: Client code that currently handles exceptions does not need to be changed because these exceptions are subclassed from the current CodesInternalError.



Related articles

  • Page:
    grib_to_netcdf: skips Control Forecast when I convert Ensemble Forecast data - ecCodes GRIB FAQ
  • Page:
    grib_to_netcdf: Why do I get the error "Wrong number of fields... Try using the -T option" - ecCodes GRIB FAQ
  • Page:
    Why do I get a bitmap even though none of my values are missing - ecCodes GRIB FAQ
  • Page:
    What is the GRIB bitmap - ecCodes GRIB FAQ
  • Page:
    What happens when I set the packingType to grid_jpeg on a GRIB1 message - ecCodes GRIB FAQ


  • eccodes-faqs
  • kb-information-article
  • python
  • exception
  • owned-single-by-masn

© European Centre for Medium-Range Weather Forecasts

© ECMWF

  • Twitter
  • Facebook
  • LinkedIn
  • Flickr
  • YouTube

Useful footer links and privacy

  • Accessibility
  • Privacy
  • Terms of use
  • Contact
null