1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

気象×Python 〜AMeDASの地点データ自動取得(番外編)〜

Last updated at Posted at 2019-10-27

以前AMeDASデータ自動取得についての記事を書きましたが、また違った方法も最近知ったので、メモ程度に残します。

※追記:下の記事で紹介しているやり方でより効率良くダウンロードできると思います。

気象×Python 〜天気データ取得からスペクトル解析まで〜
https://qiita.com/OSAKO/items/d25b8484d35ef4fe19e0

csvダウンロード時のNetworkパネルより、Form Data→view sourceを参照。
image.png

$ curl -s -X POST https://www.data.jma.go.jp/gmd/risk/obsdl/show/table -d "stationNumList=%5B%22s47646%22%2C%22s47662%22%2C%22s47670%22%2C%22s47682%22%5D&aggrgPeriod=1&elementNumList=%5B%5B%22201%22%2C%22%22%5D%5D&interAnnualFlag=1&ymdList=%5B%222019%22%2C%222019%22%2C%229%22%2C%2210%22%2C%2223%22%2C%2222%22%5D&optionNumList=%5B%5D&downloadFlag=true&rmkFlag=0&disconnectFlag=0&youbiFlag=0&fukenFlag=0&kijiFlag=0&huukouFlag=0&csvFlag=0&jikantaiFlag=0&jikantaiList=%5B1%2C24%5D&ymdLiteral=1&PHPSESSID=fjfj83om1h1t41prpof3rijfh1" | iconv -c -f shift_jis -t utf-8

image.png

1
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?