diff --git a/definitions/bufr/rdb_key.def b/definitions/bufr/rdb_key.def index 1827e064e..915fa96f5 100644 --- a/definitions/bufr/rdb_key.def +++ b/definitions/bufr/rdb_key.def @@ -11,6 +11,13 @@ meta localMinute bits(keyData,27,6) : dump,long_type,no_copy; meta localSecond bits(keyData,33,6) : dump,long_type,no_copy; meta spare bits(keyData,39,1) : no_copy; # 40 bits = 5 bytes +alias mars.localYear=localYear; +alias mars.localMonth=localMonth; +alias mars.localDay=localDay; +alias mars.localHour=localHour; +alias mars.localMinute=localMinute; +alias mars.localSecond=localSecond; + meta localDateTime julian_date(localYear,localMonth,localDay,localHour,localMinute,localSecond) : no_copy; # isSatellite and other stuff moved to section 3 @@ -73,6 +80,9 @@ if (oldSubtype < 255 ) { alias ls.rdbType=rdbType; alias ls.rdbSubtype=rdbSubtype; +alias mars.rdbType=rdbType; +alias mars.rdbSubtype=rdbSubtype; + #Data assimilation loop for purpose of Continous DA unsigned[1] daLoop; diff --git a/definitions/bufr/section.3.def b/definitions/bufr/section.3.def index daff31435..1bfeeecea 100644 --- a/definitions/bufr/section.3.def +++ b/definitions/bufr/section.3.def @@ -65,14 +65,19 @@ if (section2Present && bufrHeaderCentre==98 && section2Length==52) { oldSubtype==31) { meta ls.localNumberOfObservations bits(keySat,0,16) : dump,long_type,no_copy; meta ls.satelliteID bits(keySat,16,16) : dump,long_type,no_copy; + alias mars.satelliteID=satelliteID; } else { meta ls.localNumberOfObservations bits(keySat,0,8) : dump,long_type,no_copy; meta ls.satelliteID bits(keySat,8,16) : dump,long_type,no_copy; + alias mars.satelliteID=satelliteID; } } else { meta ls.localLatitude bits(keyData,72,25,-9000000,100000) : dump,no_copy; meta ls.localLongitude bits(keyData,40,26,-18000000,100000) : dump,no_copy; alias ls.ident=keyMore : dump,string_type,no_copy; + + alias mars.localLatitude=localLatitude; + alias mars.localLongitude=localLongitude; } }