mirror of https://github.com/ecmwf/eccodes.git
ECC-452: codes_bufr_copy_data missing in Pythonic interface
This commit is contained in:
parent
41e8e5b06d
commit
851ef3ff86
|
@ -77,6 +77,9 @@ class BufrMessage(CodesMessage):
|
|||
super(self.__class__, self).__setitem__(key, value)
|
||||
eccodes.codes_set(self.codes_id, "pack", True)
|
||||
|
||||
def copy_data(self, destMsg):
|
||||
"""Copy data values from this message to another message"""
|
||||
return eccodes.codes_bufr_copy_data(self.codes_id, destMsg.codes_id)
|
||||
|
||||
class BufrFile(CodesFile):
|
||||
|
||||
|
|
Loading…
Reference in New Issue