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.
> Full Name: C?cile Duq > Email Address: address@hidden > Organization: IPSIS > Package Version: > Operating System: > Hardware: > Description of problem: > > Is there a sample code for writing a grib2 file ? > > I managed to read one using the netcdf 4.2 api, but I don't know how to > write one. > > Hi, The short answer is that while we support reading grib files into the CDM, we don't support writing grib out. There is a little information here, if this might be helpful: http://www.unidata.ucar.edu/software/netcdf-java/formats/GribTables.html Regards, Lansing Madry Unidata Boulder, Colorado Ticket Details =================== Ticket ID: ATB-142303 Department: Support netCDF Java Priority: Normal Status: Open