message_ix_models.model.transport.operator.write_sdmx_data

message_ix_models.model.transport.operator.write_sdmx_data(qty: AnyQuantity, structure_message: sdmx.message.StructureMessage, scenario: ScenarioInfo, path: Path, *, df_urn: str) None[source]

Write two files for qty.

  1. path/dataflow_id.csv —an SDMX-CSV DataMessage with the values from qty.

  2. path/dataflow_id.xml —an SDMX-ML DataMessage with the values from qty.

…where dataflow_id is the ID of a dataflow referred to by df_urn.

The structure_message is updated with the relevant structures.