Open zeus1999 opened 1 year ago
@zeus1999 Currently there is a simple trick to find a certain extra property in the METAR object: You can search the raw_parts
with indexOf()
:
[
'EDDF', '221420Z',
'AUTO', '20013KT',
'160V230', 'CAVOK',
'33/17', 'Q1011',
'TEMPO', 'SHRA'
].indexOf('SHRA'); // is > -1
Or do you have something more accessible in mind? Or at least an extra property for all unparsed METAR parts?
example: EDDF 221420Z AUTO 20013KT 160V230 CAVOK 33/17 Q1011 TEMPO SHRA
output:
but TEMPO SHRA isnt parsed.
is it possible to add this as a feature?