ECC-452: codes_bufr_copy_data missing in Pythonic interface

This commit is contained in:
Shahram Najm 2017-04-24 13:51:18 +01:00
parent 41e8e5b06d
commit 851ef3ff86
1 changed files with 3 additions and 0 deletions

View File

@ -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):