Examples

%matplotlib inline
from __future__ import print_function
import pandas as pd
try:
    import seaborn
except:
    pass
from climate_index import database, print_database, plot_climate_index

Show each climate index

print(database['amo']['long_name'])
print(database['amo_sm']['long_name'])
plot_climate_index('amo')
plot_climate_index('amo_sm')
Atlantic multidecadal oscillation SST Index
Atlantic multidecadal oscillation SST Index (smoothed)
_images/climate_index_8_1.png
print(database['amo_detrend']['long_name'])
print(database['amo_detrend_sm']['long_name'])
plot_climate_index('amo_detrend')
plot_climate_index('amo_detrend_sm')
Atlantic multidecadal oscillation SST Index (detrended)
Atlantic multidecadal oscillation SST Index (detrended, smoothed)
_images/climate_index_9_1.png
print(database['ao']['long_name'])
plot_climate_index('ao')
Arctic Oscillation Index
_images/climate_index_10_1.png
print(database['ao20r']['long_name'])
plot_climate_index('ao20r')
Arctic Oscillation Index from the 20thC Reanalysis
_images/climate_index_11_1.png
print(database['ap']['long_name'])
plot_climate_index('ap')
Ponta Delgada, Azores SLP
_images/climate_index_12_1.png
print(database['global_t_cru']['long_name'])
plot_climate_index('global_t_cru')
Global Average Temperature Anomaly (CRU)
_images/climate_index_13_1.png
print(database['global_t_sst']['long_name'])
plot_climate_index('global_t_sst')
Global Average Temperature & SST Anomalies (Station + SST)
_images/climate_index_14_1.png
print(database['global_t_station']['long_name'])
plot_climate_index('global_t_station')
Global Average Temperature Anomalies (Station Only)
_images/climate_index_15_1.png
print(database['gp']['long_name'])
plot_climate_index('gp')
Gibraltar SLP
_images/climate_index_16_1.png
print(database['ip']['long_name'])
plot_climate_index('ip')
Iceland SLP
_images/climate_index_17_1.png
print(database['mp']['long_name'])
plot_climate_index('mp')
Madras SLP
_images/climate_index_18_1.png
print(database['nao']['long_name'])
plot_climate_index('nao')
North Atlantic Oscillation
_images/climate_index_19_1.png
print(database['rnao']['long_name'])
plot_climate_index('rnao')
Reconstructed monthly NAO index back to December 1658
_images/climate_index_20_1.png
print(database['nino12']['long_name'])
plot_climate_index('nino12')
Nino 1+2 SST Index
_images/climate_index_21_1.png
print(database['nino3']['long_name'])
plot_climate_index('nino3')
Nino 3 SST Index
_images/climate_index_22_1.png
print(database['nino34']['long_name'])
plot_climate_index('nino34')
Nino 3.4 SST Index
_images/climate_index_23_1.png
print(database['nino4']['long_name'])
plot_climate_index('nino4')
Nino 4 SST Index
_images/climate_index_24_1.png
print(database['np']['long_name'])
plot_climate_index('np')
North Pacific Index
_images/climate_index_25_1.png
print(database['nslp']['long_name'])
plot_climate_index('nslp')
Nagasaki SLP
_images/climate_index_26_1.png
print(database['pdo']['long_name'])
plot_climate_index('pdo')
Pacific Decadal Oscillation
_images/climate_index_27_1.png
print(database['soi']['long_name'])
plot_climate_index('soi')
Southern Oscillation Index
_images/climate_index_28_1.png
print(database['sunspot']['long_name'])
plot_climate_index('sunspot')
Sunspot Index
_images/climate_index_29_1.png
print(database['tp']['long_name'])
plot_climate_index('tp')
Trans Polar Index
_images/climate_index_30_1.png