This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello, and thanks for reaching out. First, can you let us know what went wrong with cfgrib+eccodes? We're curious and might be able to help you with that. Can you let us know more about your workflow? Will you be processing a lot of data or doing this repeatedly? Depending on your needs, you might check out the Unidata's NetCDF-Java library, which can read GRIB files into a Common Data Model and provide capability to write that to NetCDF. Download: https://www.unidata.ucar.edu/downloads/netcdf-java/ Documentation: https://docs.unidata.ucar.edu/netcdf-java/current/userguide/index.html I hope this points you in the right direction! Don't hesitate to follow up with more information. Thanks. All the best, Drew > I am getting data from NAVGEM that only comes in Grib format (I think version > 2). > > Can you recommend a package to convert to netcdf. > > I have read grib data before using pygrib. So I can look into that. > > also, I tried using cfgrib and eccodes from ECMWF but that failed. > Ticket Details =================== Ticket ID: ZSY-213990 Department: Support Python Priority: Low Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.