从python中的bom获取数据
bomber的Python项目详细描述
#阅读美国气象局(bom)的数据
此软件包旨在修复
若要将此自述文件视为iPython笔记本,请访问https://github.com/jesserobertson/bomber/blob/master/examples/request-bom-data.ipynb
打印(轰炸机、测量、数据集)
`````
``````
````````
{ndvi `['ndviavave'],
‘降雨量``总量',
‘太阳能`['solarave'],
‘温度``温度`['maxave','minave'],
‘vprp’:['vprp09','vprp15']}
`````
```````````>
`````````````````````````````````br/>``Python
>;>;Geotiff=Bomber.Geotiff=Bomber.Geotiff=Bomber.Geotiff=Bomber.Geotiff=Geotiff=Geotiff.Geotiff.Geotiff
``````>````````>>>
>>>>gt;导入Rasterio,Numpy
>;导入Matplotliblib.pyplot as plt
>>;导入Rasterio,Numpy
>>;>gt;导入Matplotlibplotliblibliblibliblibliblib.pyplot.pyplot作为plot
>>>>;导入gt;gt;使用rasterio.drivers():
…用rasterio.open(geotiff)作为src:
…图=plt.图(figsize=(11,11))
…数据=numpy.ma.maskedarray(
…数据=src.read(1),
…掩码=src.read_masks(1))
…ax=图gca()
…ax.imshow(数据,cmap=plt.get_cmap('coolwarm'))
…ax.set_aspect('equal')
…AX。ax.set_title('降雨量,2015年1月')
````
![降雨PNG](https://raw.githubusercontent.com/jesserobertson/bomber/master/examples/rainum.png)
‘mn’]}
```
拉请求欢迎!
此软件包旨在修复
若要将此自述文件视为iPython笔记本,请访问https://github.com/jesserobertson/bomber/blob/master/examples/request-bom-data.ipynb
打印(轰炸机、测量、数据集)
`````
``````
````````
{ndvi `['ndviavave'],
‘降雨量``总量',
‘太阳能`['solarave'],
‘温度``温度`['maxave','minave'],
‘vprp’:['vprp09','vprp15']}
`````
```````````>
`````````````````````````````````br/>``Python
>;>;Geotiff=Bomber.Geotiff=Bomber.Geotiff=Bomber.Geotiff=Bomber.Geotiff=Geotiff=Geotiff.Geotiff.Geotiff
``````>````````>>>
>>>>gt;导入Rasterio,Numpy
>;导入Matplotliblib.pyplot as plt
>>;导入Rasterio,Numpy
>>;>gt;导入Matplotlibplotliblibliblibliblibliblib.pyplot.pyplot作为plot
>>>>;导入gt;gt;使用rasterio.drivers():
…用rasterio.open(geotiff)作为src:
…图=plt.图(figsize=(11,11))
…数据=numpy.ma.maskedarray(
…数据=src.read(1),
…掩码=src.read_masks(1))
…ax=图gca()
…ax.imshow(数据,cmap=plt.get_cmap('coolwarm'))
…ax.set_aspect('equal')
…AX。ax.set_title('降雨量,2015年1月')
````
![降雨PNG](https://raw.githubusercontent.com/jesserobertson/bomber/master/examples/rainum.png)
‘mn’]}
```
拉请求欢迎!