HKO station and analysis
Download HKO weather dataset
From i-lens.hk 香港自動氣象站氣候觀測資料庫 Subsequently, extract those elements.1
2
3
4
5
6
7
8
9
10export yyyy=2023
export mm=04
for dd in {14..16}; do
wget http://i-lens.hk/hkweather/history_minute_record/${yyyy}/${yyyy}${mm}${dd}.zip ;
echo $mm$dd sleeping now ;
#mkdir -p $yyyy
#mv ${yyyy}${mm}${dd}* ./${yyyy} ;
#sleep $((80 + RANDOM % 21)) ;
done
List of HKO station
As part of the HKO stations, the majority of the names I use align with the definitions provided by HKO. However, there are a few instances where I have personally assigned names to certain elements.
1 |
|
Jupter Notebook or python
1 |
|
没有SimHei 字体
- 下载字体
- 将下载的字体放到
home/wpsze/micromamba/envs/<envs>/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf
- 修改
matplotlibrc
文件lib/python3.10/site-packages/matplotlib/mpl-data/matplotlibrc
font.family: sans-serif # 去掉前面的# font.sans-serif: SimHei, DejaVu Sans, Bitstream Vera Sans, # 去掉前面的#,并在冒号后面添加SimHei axes.unicode_minus: False # use Unicode for the minus symbol rather than hy phen. See # 去掉前面的#,并将True改为False
- 删除
matplotlib
的系统缓存rm -rf /root/.cache/matplotlib/*
- 等会运行python缓存文件就会自动生成
HKO station and analysis
https://waipangsze.github.io/2023/06/24/HKO-station-and-analysis/