ECC-482 added some julian dates in BUFR headers

This commit is contained in:
Enrico Fucile 2017-05-23 16:44:05 +01:00
parent d1b48fdecf
commit 64abc3786d
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ meta localMinute bits(keyData,27,6) : long_type,no_copy;
meta localSecond bits(keyData,33,6) : long_type,no_copy;
meta spare bits(keyData,39,1) : no_copy; # 40 bits = 5 bytes
meta localJulianDate julian_date(localYear,localMonth,localDay,localHour,localMinute,localSecond) : no_copy;
# isSatellite and other stuff moved to section 3
ascii[8] keyMore : hidden;
@ -40,6 +41,8 @@ meta rectimeHour bits(rectime,6,5) : 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 rectimeJulianDate julian_date(rdbtimeYear,rdbtimeMonth,rectimeDay,rectimeHour,rectimeMinute,rectimeSecond) : no_copy;
byte[1] corr1Data;
meta correction1 bits(corr1Data,0,6) : dump,long_type,no_copy;
meta correction1Part bits(corr1Data,6,1) : dump,long_type,no_copy;

View File

@ -40,6 +40,8 @@ unsigned[1] typicalSecond : dump;
meta ls.typicalDate sprintf("%.4d%.2d%.2d",typicalYear,typicalMonth,typicalDay) : dump,no_copy,read_only;
meta ls.typicalTime sprintf("%.2d%.2d%.2d",typicalHour,typicalMinute,typicalSecond) :dump,no_copy,read_only;
meta typicalJulianDate julian_date(typicalYear,typicalMonth,typicalDay,typicalHour,typicalMinute,typicalSecond) ;
alias ls.masterTablesVersionNumber=masterTablesVersionNumber;
alias ls.localTablesVersionNumber=localTablesVersionNumber;