cdm_reader_mapper.read#
- cdm_reader_mapper.read(source, mode='mdf', **kwargs)[source]#
Read either original marine-meteorological data or MDF data or CDM tables from disk.
- Parameters:
source (
str) – Source of the input data.mode (
str,{mdf, data, tables}, default:mdf) –Read data mode:
“mdf” to read original marine-meteorological data from disk and convert them to MDF data
“data” to read MDF data from disk
“tables” to read CDM tables from disk. Map MDF data to CDM tables with
DataBundle.map_model().
- Return type:
- Returns:
See also
read_mdfRead original marine-meteorological data from disk.
read_dataRead MDF data and validation mask from disk.
read_tablesRead CDM tables from disk.
writeWrite either MDF data or CDM tables on disk.
write_dataWrite MDF data and validation mask to disk.
write_tablesWrite CDM tables to disk.
Note
kwargs are the keyword arguments for the specific mode reader.