In [1]:
import pandas as pd

In [2]:
url='http://thredds.ucar.edu/thredds/ncss/grib/NCEP/NAM/CONUS_12km/Best?var=Temperature_height_above_ground&latitude=40.0343092&longitude=-105.2550532&time_start=2014-10-08T00%3A00%3A00Z&time_end=2014-10-25T18%3A00%3A00Z&vertCoord=&accept=csv'

In [30]:
df = pd.read_csv(url,index_col=0,parse_dates=True,usecols=[0,4])

In [10]:
df.tail()


Out[10]:
Temperature_height_above_ground[unit="K"]
date
2014-10-25 06:00:00 284.369202
2014-10-25 09:00:00 282.503143
2014-10-25 12:00:00 281.613525
2014-10-25 15:00:00 282.510742
2014-10-25 18:00:00 288.266113

In [5]:
df.plot()


Out[5]:
<matplotlib.axes._subplots.AxesSubplot at 0x7fe23796de90>

In [16]:
df.columns


Out[16]:
Index([u'Temperature_height_above_ground[unit="K"]'], dtype='object')

In [36]:
df.columns = ['temp (C)']

In [34]:
df['temp']-=272.15

In [35]:
df.plot()


Out[35]:
<matplotlib.axes._subplots.AxesSubplot at 0x7fe236c63a50>

In [ ]: