v2.4.0
Contributors to this version: Ludwig Lierhammer (@ludwiglierhammer) and Jan Marius Willruth (@JanWillruth)
New features and enhancements
cdm_mapper.utils.mapping_functions: Add functiongdac_pressurein anticipation of moving conversion steps to the mapper in the future. (PR/350)mdf_reader/cdm_mapper: optionally, convert data types to strings when reading and writing data from/to disk (PR/401)mdf_reader/cdm_mapper: optionally, convert data types from strings when reading and writing data from/to disk (PR/401)
Breaking changes
-
mdf_reader: Update and rename GDAC variable names (schemas/gdac) and code tables (codes/gdac) to align with current standards. (GH/341, PR/350) -
cdm_mapper: (PR/350)- Update and rename GDAC variable names in
tables/gdac. - Fix
gdac_latitudeandgdac_longitude(utils/mapping_functions.py) not being used in observations.json
- Update and rename GDAC variable names in
-
mdf_reader/cdm_mapper: use parquet as default instead of csv when reading and writing data from/to disk (PR/401) -
cdm_mapper: do not convert data types to strings while mapping to the CDM (GH/398, PR/401) -
cdm_mapper: set default decimal_places from0to1forlocation_accuracy,report_time_accuracy,station_speedandstation_course(PR/401)
Bug fixes
cdm_mapper.mapper.map_model: write data columns todf._attrsinstead ofdf.attrsto avoid crashing class methods (GH/390, PR/391)cdm_mapper.utils.mapping_functions: Changemethod_binmapping_function.pyto work with both str and int. (PR/350)cdm_mapper.map_models: write columns directly as an attribute to result to avoid crashing further DataFrame methods (GH/394, PR/397)