Przeglądaj źródła

r.sim.water: more precise mm/hr to m/s conversion (trunk, https://trac.osgeo.org/grass/changeset/68292)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68302 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 lat temu
rodzic
commit
474952c4a6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      raster/r.sim/simlib/input.c

+ 1 - 1
raster/r.sim/simlib/input.c

@@ -34,7 +34,7 @@ static void  copy_matrix_undef_float_values(int rows, int cols, float **source,
 int input_data(void)
 {
     int rows = my, cols = mx; /* my and mx are global variables */
-    double unitconv = 0.0000002;	/* mm/hr to m/s */
+    double unitconv = 0.000000278;	/* mm/hr to m/s */
     int if_rain = 0;
 
     G_debug(1, "Running MAR 2011 version, started modifications on 20080211");