mirror of https://github.com/ecmwf/eccodes.git
ECC-1136: rename key to restricted
This commit is contained in:
parent
0979bef7c4
commit
c8374590e5
|
@ -51,7 +51,7 @@ meta rectimeDay bits(rectime,0,6) : dump,long_type,no_copy;
|
||||||
meta rectimeHour bits(rectime,6,5) : dump,long_type,no_copy;
|
meta rectimeHour bits(rectime,6,5) : dump,long_type,no_copy;
|
||||||
meta rectimeMinute bits(rectime,11,6) : dump,long_type,no_copy;
|
meta rectimeMinute bits(rectime,11,6) : dump,long_type,no_copy;
|
||||||
meta rectimeSecond bits(rectime,17,6) : dump,long_type,no_copy;
|
meta rectimeSecond bits(rectime,17,6) : dump,long_type,no_copy;
|
||||||
meta restrict bits(rectime,23,1) : long_type,no_copy; # ECC-1136
|
meta restricted bits(rectime,23,1) : dump,long_type,no_copy; # ECC-1136
|
||||||
|
|
||||||
meta recDateTime julian_date(rdbtimeYear,rdbtimeMonth,rectimeDay,rectimeHour,rectimeMinute,rectimeSecond) : no_copy;
|
meta recDateTime julian_date(rdbtimeYear,rdbtimeMonth,rectimeDay,rectimeHour,rectimeMinute,rectimeSecond) : no_copy;
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,7 @@ class TestBufrMessage(unittest.TestCase):
|
||||||
msg = BufrMessage(bufr_file)
|
msg = BufrMessage(bufr_file)
|
||||||
msg.unpack()
|
msg.unpack()
|
||||||
msg_keys = list(msg.keys())
|
msg_keys = list(msg.keys())
|
||||||
self.assertEqual(len(msg_keys), 201)
|
self.assertEqual(len(msg_keys), 202)
|
||||||
for key in KNOWN_BUFR_KEYS:
|
for key in KNOWN_BUFR_KEYS:
|
||||||
assert key in msg_keys
|
assert key in msg_keys
|
||||||
# Size of message in bytes
|
# Size of message in bytes
|
||||||
|
|
|
@ -63,6 +63,7 @@ rectimeDay
|
||||||
rectimeHour
|
rectimeHour
|
||||||
rectimeMinute
|
rectimeMinute
|
||||||
rectimeSecond
|
rectimeSecond
|
||||||
|
restricted
|
||||||
correction1
|
correction1
|
||||||
correction1Part
|
correction1Part
|
||||||
correction2
|
correction2
|
||||||
|
|
Loading…
Reference in New Issue