Differences between revisions 4 and 5
Revision 4 as of 2012-10-24 15:16:15
Size: 507
Editor: MikhailItkin
Comment:
Revision 5 as of 2012-10-24 15:16:32
Size: 457
Editor: MikhailItkin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
ham = hamNc.variables['rainfall_rain_rate'][:]

Pandas

   1 import numpy as np
   2 import pandas as P
   3 import Nio
   4 
   5 hamNc = Nio.open_file('10147-precip.nc')
   6 helNc = Nio.open_file('10015-precip.nc')
   7 
   8 hamTime = hamNc.variables['time'][:]
   9 helTime = helNc.variables['time'][:]
  10 
  11 hamRain = hamNc.variables['rainfall_rate_hour'][:]
  12 helRain = helNc.variables['rainfall_rate_hour'][:]

LehreWiki: PythonCourse/PythonLES/Pandas (last edited 2012-11-05 10:53:39 by anonymous)