cdm_reader_mapper.DataBundle.write

cdm_reader_mapper.DataBundle.write#

DataBundle.write(dtypes=None, parse_dates=None, encoding=None, mode=None, **kwargs)[source]#

Write data on disk.

Parameters:
  • dtypes (dict, optional) – Data types of data.

  • parse_dates (list, optional) – Information how to parse dates on data

  • encoding (str, optional) – The encoding of the input file. Overrides the value in the imodel schema file.

  • mode (str, optional) – Data mode (“data” or “tables”) Default: “data”

Return type:

None

Examples

>>> db.write()

See also

write_data

Write MDF data and validation mask to disk.

write_tables

Write CDM tables to disk.

read

Read original marine-meteorological data as well as MDF data or CDM tables from disk.

read_data

Read MDF data and validation mask from disk.

read_mdf

Read original marine-meteorological data from disk.

read_tables

Read CDM tables from disk.

Note

If mode is “data” write data using write_data(). If mode is “tables” write data using write_tables().