[GRASS-SVN] r38848 - grass-addons/raster/r.sun.tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 24 08:10:35 EDT 2009
Author: hamish
Date: 2009-08-24 08:10:34 -0400 (Mon, 24 Aug 2009)
New Revision: 38848
Modified:
grass-addons/raster/r.sun.tools/g.linke_by_day.py
Log:
don't look back, you can never look back
Modified: grass-addons/raster/r.sun.tools/g.linke_by_day.py
===================================================================
--- grass-addons/raster/r.sun.tools/g.linke_by_day.py 2009-08-24 12:08:34 UTC (rev 38847)
+++ grass-addons/raster/r.sun.tools/g.linke_by_day.py 2009-08-24 12:10:34 UTC (rev 38848)
@@ -59,11 +59,9 @@
midmonth_day,
midmonth_day[0:3]+365))
- interp_type = 'cubic' # 'linear'
-
linke = interpolate.interp1d(midmonth_day_wrap,
linke_data_wrap,
- kind=interp_type)
+ kind='cubic')
# print data for full year:
#for i in range(1,365+1):
# print("%d %.4f" % (i, linke(i)) )
More information about the grass-commit
mailing list