Matching products¶
GRIB1¶
Syntax: product:GRIB1,origin,table,product
Any of origin, table, product can be omitted; if omitted, any value will
match.
Examples¶
Given product GRIB1(98, 0, 12):
product:GRIB1matchesproduct:GRIB1,98matchesproduct:GRIB1,98,,12matchesproduct:GRIB2does not matchproduct:GRIB1,200does not matchproduct:GRIB1,98,0,11does not match
GRIB2¶
Syntax: product:GRIB2,centre,discipline,category,number,tablesVersion,localTablesVersion
Any of centre, discipline, category, number, tablesVersion, or
localTablesVersion can be omitted. If omitted, any value will match.
Examples¶
Given product GRIB2(98, 0, 1, 2):
product:GRIB2matchesproduct:GRIB2,98matchesproduct:GRIB2,98,,,2matchesproduct:GRIB1does not matchproduct:GRIB2,200does not matchproduct:GRIB2,98,1,,2does not match
BUFR¶
Syntax: product:BUFR,category,subcategory,subcategory_local:rep_memo
Any of category, subcategory, subcategory_local or rep_memo can be
omitted; if omitted, any value will match.
category: data category (BUFR or CREX Table A)subcategory: data subcategory (see Common Code table C-13)subcategory_local: data subcategory local (defined by ADP centres)
Examples¶
Given product BUFR(0, 255, 1, t=synop):
product:BUFRmatchesproduct:BUFR,0,,1matchesproduct:BUFR,0,,1:t=synopmatchesproduct:BUFR:t=synopmatchesproduct:GRIB1does not matchproduct:BUFR:t=tempdoes not match
ODIMH5¶
Syntax: product:ODIMH5,<OBJ value>,<PROD value>
OdimH5 product, identified by object and product values.
object and product values can be omitted.
Examples¶
Given product ODIMH5(PVOL,SCAN):
product:ODIMH5matchesproduct:ODIMH5,PVOLmatchesproduct:ODIMH5,,SCANmatchesproduct:GRIB1does not matchproduct:BUFR:t=tempdoes not match
VM2¶
Syntax: product:VM2,id:key1=value1,key2=value2,...
The keys (key1=value1, …) are loaded at runtime from a meteo-vm2 attribute
table.
Examples¶
Assume that product with id 23 has the following attributes:
{bcode="B22043",tr=254,p1=0,p2=0,lt1=1}
Given product VM2(23):
product:VM2matchesproduct:VM2,23matchesproduct:VM2,23:bcode=B22043matchesproduct:GRIB1does not matchproduct:BUFR:t=tempdoes not matchproduct:VM2,12does not matchproduct:VM2,23:foo=bardoes not matchproduct:VM2:foo=bardoes not match