Skip to content

Is the conversion to strings in cdm_mapper.map_model required? #361

@ludwiglierhammer

Description

@ludwiglierhammer

Current State

At the end of cdm_mapper.map_model, all data types are converted to strings.

  • strings stay strings
  • integers are converted to strings
  • floats are converted to strings with a specific amount of decimal places
  • datetimes are converted to strings with a specific format

https://github.com/glamod/cdm_reader_mapper/blob/main/cdm_reader_mapper/cdm_mapper/utils/conversions.py

Questions

  • I think we do this conversion since the current output format is csv, isn't it?
  • Is this required for CDM-OBS model?

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions