cdm_reader_mapper.DataBundle.map_model

cdm_reader_mapper.DataBundle.map_model#

DataBundle.map_model(imodel=None, inplace=False, **kwargs)[source]#

Map data to the Common Data Model.

Parameters:
  • imodel (str, optional) – Name of the MFD/CDM data model.

  • inplace (bool) – If True overwrite data in DataBundle else return a copy of DataBundle with data as CDM tables. Default: False

Return type:

DataBundle | None

Returns:

DataBundle or None – DataBundle containing data mapped to the CDM or None if inplace=True.

Examples

>>> cdm_tables = db.map_model()

Note

For more information see map_model()