Skip to content

Commit

Permalink
Merge pull request #1310 from dev-hato/fix-format-amesh-new-engine
Browse files Browse the repository at this point in the history
formatが間違ってたので直してあげたよ! #997
  • Loading branch information
m77so authored Aug 2, 2022
2 parents 8dec1c4 + 4ebd592 commit 4c23a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/jma_amesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def timestamp2jst(timestamp: str) -> str:
.strftime("%Y-%m-%d %H:%M")
)


def get_jma_image_server(timestamp: str) -> str:
"""気象庁雨雲レーダー画像を取得する"""
return f"https://www.jma.go.jp/bosai/jmatile/data/nowc/{timestamp}/none/{timestamp}/surf/hrpns/${{z}}/${{x}}/${{y}}.png" # noqa: E501
Expand Down Expand Up @@ -131,7 +132,7 @@ def jma_amesh(
LineTrace(
coords=[get_circle(lat, lng, d * 1000)], color=(100, 100, 100, 255)
)
for d in range(10, 60, 10)
for d in range(10, 60, 10)
]
+ [
MarkerTrace(
Expand Down

0 comments on commit 4c23a4a

Please sign in to comment.