We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hourly_weather
daily_weather
d_day
getVilageFcst
TMP
POP
SKY
PTY
priority
precipitation_chance
condition
http://apis.data.go.kr/1360000/VilageFcstInfoService_2.0/getVilageFcst?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=1000&dataType=JSON&base_date=20241110&base_time=0200&nx=72&ny=129
{ "response": { "header": { "resultCode": "00", "resultMsg": "NORMAL_SERVICE" }, "body": { "dataType": "JSON", "items": { "item": [ { "baseDate": "20241110", "baseTime": "0200", "category": "TMP", "fcstDate": "20241110", "fcstTime": "0300", "fcstValue": "6", "nx": 72, "ny": 129 }, { "baseDate": "20241110", "baseTime": "0200", "category": "UUU", "fcstDate": "20241110", "fcstTime": "0300", "fcstValue": "-0.4", "nx": 72, "ny": 129 } ] }, "pageNo": 1, "numOfRows": 1000, "totalCount": 846 } } }
The text was updated successfully, but these errors were encountered:
Merge pull request #19 from Nexters/feature/18-hourly-weather-update
3a8d54d
[#18] 시간대별 날씨 업데이트 batch
jun108059
No branches or pull requests
Feature
hourly_weather
테이블에 업데이트daily_weather
테이블에서d_day
가 0(오늘)과 1(내일)인 데이터 업데이트Flow
getVilageFcst
)를 호출하여 필요한 데이터 조회TMP
,POP
,SKY
,PTY
)을 추출priority
)를 설정hourly_weather
테이블에 데이터를 저장d_day
가 0과 1)에 대한 데이터를 처리POP
) 중 최대값을precipitation_chance
로 설정SKY
)와 강수형태(PTY
)를 기반으로 가장 나쁜 상태를condition
으로 설정daily_weather
테이블에 데이터 갱신기상청 단기 예보 조회
http://apis.data.go.kr/1360000/VilageFcstInfoService_2.0/getVilageFcst?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=1000&dataType=JSON&base_date=20241110&base_time=0200&nx=72&ny=129
The text was updated successfully, but these errors were encountered: