You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst improving some docstrings in #183 I noticed that there were two cases where duplicate integer values were provided as codes in the _code0 dictionary, namely duplication on 200 and 201 with:
where for all other keys in that dictionary, and indeed in the similar dict _code1, the values are unique numbers. Possibly this wasn't noticed before due to the ordering of the key-value pairs, which are ordered with the values strictly increasing except for the former pair of bounds-related cases which were out-of-place.
@davidhassell is this an issue or is there a reason for the duplication? Thanks.
The text was updated successfully, but these errors were encountered:
sadielbartholomew
changed the title
Duplicate field-initialisation message codes in NetCDFRead
Duplicate initialisation message codes in NetCDFReadMay 18, 2022
Whilst improving some docstrings in #183 I noticed that there were two cases where duplicate integer values were provided as codes in the
_code0
dictionary, namely duplication on200
and201
with:cfdm/cfdm/read_write/netcdf/netcdfread.py
Lines 35 to 36 in a9816e0
and
cfdm/cfdm/read_write/netcdf/netcdfread.py
Lines 53 to 54 in a9816e0
where for all other keys in that dictionary, and indeed in the similar dict
_code1
, the values are unique numbers. Possibly this wasn't noticed before due to the ordering of the key-value pairs, which are ordered with the values strictly increasing except for the former pair of bounds-related cases which were out-of-place.@davidhassell is this an issue or is there a reason for the duplication? Thanks.
The text was updated successfully, but these errors were encountered: