Skip to content

Conversation

tabrindle
Copy link
Contributor

@tabrindle tabrindle commented Sep 27, 2025

TLDR: Updated the raw_metar app to utilize the new Data API from Aviation Weather. The old API was deprecated.

Changes Made:

  • Updated API endpoint from /cgi-bin/data/metar.php to /api/data/metar
  • removed www subdomain to avoid redirects (now uses aviationweather.gov directly)
  • Maintained all existing functionality and configuration options
  • improved text wrapping to avoid word splitting

Testing:

  • Tested with Pixlet render using multiple airport codes (KMCO, KJFK, KSFO, KORD)
  • Verified API returns METAR data correctly with new endpoint
  • Confirmed no linting errors or breaking changes

Background:

  • The AviationWeather Data API was redeveloped in 2025, deprecating the old /cgi-bin endpoints in favor of streamlined /api/data endpoints.
  • This update ensures the raw_metar app continues to function with the new API infrastructure.
  • I am the author of this app and have tested the changes locally.

Preview:

raw_metar

@tidbyt
Copy link

tidbyt bot commented Sep 27, 2025

⚠️ The automated review process is experimental and likely has bugs. Please bear with us as we iron out the kinks and enable you to ship changes at high velocity 🚀

Next Steps

Hello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:

  • Sign the CLA if you haven't already
  • Ensure your build is green! Any problem will display a proposed solution to try out
  • Get a review, either by Tidbyt Bot or by a Tidbyt engineer

Manual Review Required

Hang tight! A Tidbyt engineer will be by shortly to review your change. Here is what they will be looking for:

Test Details
App Dir All files are in a single app directory
🟡 Modules Usage of http.star requires review
Original Author The original author matches the PR author

@tabrindle tabrindle force-pushed the tabrindle/update_raw_meter branch from 8e8be8b to 8d1f754 Compare September 27, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant