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]:
In [5]:
df.plot()
Out[5]:
In [16]:
df.columns
Out[16]:
In [36]:
df.columns = ['temp (C)']
In [34]:
df['temp']-=272.15
In [35]:
df.plot()
Out[35]:
In [ ]: