GRIB_TO_NETCDF(1)

🌸 NAME 🌸

grib_to_netcdf β€” manual page for grib_to_netcdf πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, buckle up, because this page is a lil bit of a nesting doll situation πŸͺ† β€” the whole thing lives inside its own DESCRIPTION, so let's just walk through it together, k?

✨ NAME ✨

grib_to_netcdf

πŸ’… DESCRIPTION πŸ’…

Convert GRIB file(s) to netCDF format. πŸŽ€

⚠️ lowkey important vibe check: the GRIB geometry should be a regular lat/lon grid or a regular Gaussian grid β€” like, the key "typeOfGrid" should be "regular_ll" or "regular_gg". Anything else and it's not gonna slay, fr fr. 😭

πŸŽ€ USAGE πŸŽ€

grib_to_netcdf [options] -o output_file grib_file grib_file ...

πŸ‘‘ OPTIONS πŸ‘‘

the full menu, no skips, no crumbs left behind πŸ’…

  • -I key1,key2,... β€” Ignore keys. Default is method,type,stream,refdate,hdate.
  • -S key1,key2,... β€” Split according to keys. Default is param,expver.
  • -R date β€” Reference date in the format YYYYMMDD. Default value is 19000101.
  • -D NC_DATATYPE β€” Type of data. Possible values are NC_BYTE, NC_SHORT, NC_INT, NC_FLOAT, NC_DOUBLE. Default is NC_SHORT.
  • -T β€” Don't use time of validity.
  • -f β€” Force. Force the execution not to fail on error. 🫢 (it's giving "do it anyway bestie")
  • -o output_file β€” The name of the netCDF output file.
  • -V β€” Print version.
  • -M β€” Multi-field support off. Turn off support for multiple fields in a single GRIB message.
  • -k kind β€” Specifies the kind of file to be created. Possible values are:
    1. 1 -> netCDF classic file format
    2. 2 -> netCDF 64 bit classic file format (Default)
    3. 3 -> netCDF-4 file format
    4. 4 -> netCDF-4 classic model file format
  • -d level β€” Deflate data (compression level). Only for netCDF-4 output format. Possible values [0,9]. Default None. Chunking strategy based on GRIB message.
  • -s β€” Shuffle data before deflation compression. ✨
  • -u dimension β€” Set dimension to be an unlimited dimension.
  • -h β€” Display this help text and exit.

🌈 SEE ALSO 🌈

Full documentation and examples at: <https://confluence.ecmwf.int/display/ECC/grib_to_netcdf>


and that's the whole thing, no cap 🧚

~ cute sign-off corner ~ this icon was brought to you by grib_to_netcdf, dated October 2026, straight out of the GRIB_TO_NETCDF(1) of the manual. go convert some grids and serve looks πŸ’œπŸŒΈ

πŸ“¦ where this page comes from