[GRASS-SVN] r31732 - grass-addons/gipe/i.eb.h_SEBAL95
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 17 05:39:50 EDT 2008
Author: ychemin
Date: 2008-06-17 05:39:50 -0400 (Tue, 17 Jun 2008)
New Revision: 31732
Modified:
grass-addons/gipe/i.eb.h_SEBAL95/main.c
Log:
bug fixing -t flag, works well on modis 8-days products
Modified: grass-addons/gipe/i.eb.h_SEBAL95/main.c
===================================================================
--- grass-addons/gipe/i.eb.h_SEBAL95/main.c 2008-06-17 08:48:44 UTC (rev 31731)
+++ grass-addons/gipe/i.eb.h_SEBAL95/main.c 2008-06-17 09:39:50 UTC (rev 31732)
@@ -571,7 +571,7 @@
/* do nothing */
} else {
d_h0=d_Rn-d_g0;
- if(d_t0dem<t0dem_min&&d_albedo<0.1){
+ if(d_t0dem<t0dem_min&&d_albedo<0.15){
t0dem_min=d_t0dem;
tempk_min=d_tempk;
d_tempk_wet=d_tempk;
@@ -601,7 +601,8 @@
d_tempk>=(double)i_peak3-0.0&&
d_tempk<(double)i_peak3+7.0&&
d_h0>100.0&&d_h0>d_h0_max&&
- d_g0>10.0&&d_Rn>100.0){
+ d_g0>10.0&&d_Rn>100.0&&
+ d_albedo>0.3){
tempk_max=d_tempk;
d_tempk_dry=d_tempk;
d_Rn_dry=d_Rn;
More information about the grass-commit
mailing list