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.
path/dataflow_id.csv
—an SDMX-CSVDataMessage
with the values from qty.path/dataflow_id.xml
—an SDMX-MLDataMessage
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.