openaq / openaq-fetch

A tool to collect data for OpenAQ platform.
MIT License
84 stars 39 forks source link

Update time zone in South Korea adapter #1102

Closed majesticio closed 5 months ago

majesticio commented 5 months ago

Fix to correctly assign timezone for the air-korea adapter. Time was being incorrectly set as UTC from the source when the source datetimes are reported in Asia/Seoul timezone.

Fix to be merged after datetime correction for measurements already recorded

majesticio commented 5 months ago

Your assessment appears to be correct:

Examples of locations with more than one address:

Coordinates: 37.564639,126.975961
Names: 중구
Addresses: 
- 서울 중구 덕수궁길 15 시청서소문별관 3동
- 서울 중구 덕수궁길 15
Total Entries: 6
---
Coordinates: 37.549389,126.971519
Names: 한강대로
Addresses: 
- 서울 용산구 한강대로 405 (서울역 앞)
- 서울 용산구 한강대로 405
Total Entries: 6

I have updated the adapter to use STATION_NAME which will return the correct number of locations.