...
When trying to write out a GRIB or BUFR message to a file using codes_write, an error is generated .(an exception is thrown)
Solution
You have written the following snippet to save a message into a binary file (GRIB or BUFR):
Code Block | ||
---|---|---|
| ||
fout = open('temp.out', 'w') codes_write(msg, fout) fout.close() |
...