Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You have written the following snippet to save a message into a binary file (GRIB or BUFR):

Code Block
languagepy
fout = open('temp.out', 'w')
codes_write(msg, fout)
fout.close()

...