level type and level value are connected. So convert functions should be combined together.
Current functions:
reki.format.grib.common
reki.format.grib.cfgrib._util
_fill_level_type: add typeOfLevel to filter_by_keys
_fill_level_value: add level to filter_by_keys
reki.format.grib.eccodes
_level
_fix_level: convert pl, ml and sfc, and return level_type and level_dim's name
_util
_check_level_type:
_check_level_value: calculate pl's level, deal with first_level and second_level in dict.
level type and level value are connected. So convert functions should be combined together.
Current functions:
reki.format.grib.commonfix_level_typereki.format.grib.cfgrib._util_fill_level_type: addtypeOfLeveltofilter_by_keys_fill_level_value: addleveltofilter_by_keysreki.format.grib.eccodes_level_fix_level: convertpl,mlandsfc, and return level_type and level_dim's name_util_check_level_type:_check_level_value: calculatepl's level, deal withfirst_levelandsecond_levelin dict.