Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

METAR with missing visibility #861

Closed
nabeelio opened this issue Oct 10, 2020 · 1 comment · Fixed by #862
Closed

METAR with missing visibility #861

nabeelio opened this issue Oct 10, 2020 · 1 comment · Fixed by #862
Labels
Milestone

Comments

@nabeelio
Copy link
Owner

nabeelio commented Oct 10, 2020

CAVOK but isn't getting parsed properly

<response xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2"
          xsi:noNamespaceSchemaLocation="http://www.aviationweather.gov/static/adds/schema/metar1_2.xsd">
    <request_index>109074758</request_index>
    <data_source name="metars"/>
    <request type="retrieve"/>
    <errors/>
    <warnings/>
    <time_taken_ms>7</time_taken_ms>
    <data num_results="1">
        <METAR>
            <raw_text>LFRS 101630Z AUTO 32007KT 280V340 CAVOK 15/05 Q1027 TEMPO SCT035TCU</raw_text>
            <station_id>LFRS</station_id>
            <observation_time>2020-10-10T16:30:00Z</observation_time>
            <latitude>47.17</latitude>
            <longitude>-1.6</longitude>
            <temp_c>15.0</temp_c>
            <dewpoint_c>5.0</dewpoint_c>
            <wind_dir_degrees>320</wind_dir_degrees>
            <wind_speed_kt>7</wind_speed_kt>
            <visibility_statute_mi>6.21</visibility_statute_mi>
            <altim_in_hg>30.324802</altim_in_hg>
            <quality_control_flags>
                <auto>TRUE</auto>
            </quality_control_flags>
            <sky_condition sky_cover="CAVOK"/>
            <flight_category>VFR</flight_category>
            <metar_type>SPECI</metar_type>
            <elevation_m>26.0</elevation_m>
        </METAR>
    </data>
</response>
@nabeelio nabeelio added the bug label Oct 10, 2020
@nabeelio nabeelio added this to the 7.0.0 milestone Oct 10, 2020
@nabeelio
Copy link
Owner Author

Problem is that the trend (TEMPO ...) is overwriting params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant