The CARbon DAta MOdel FraMework. Computer software that retrieves terrestrial carbon (C) cycle variables by combining C cycle observations with a mass balance model.
GNU General Public License v3.0
2
stars
0
forks
source link
[Example Issue] Write CARDAMOM output in GRIB2 format #1
It would be good if we could save CARDAMOM output in GRIB2 format, as well as the standard output. I'm proposing to modify the foobar_outputification() function in the foobar.baz module. But would it break the netcdf_foo() function?
Here is the code I'm talking about:
def foobar_ouputification():
with open("Output.grib", "wb") as gb:
gb.writelines(datastuff)
# etc...
(Only for illustrative purposes)
Example discussion of issue:
It would be good if we could save CARDAMOM output in GRIB2 format, as well as the standard output. I'm proposing to modify the
foobar_outputification()
function in thefoobar.baz
module. But would it break thenetcdf_foo()
function?Here is the code I'm talking about:
Any thoughts?