瀏覽代碼

Updated naming conventions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60875 15284696-431f-4ddb-bdfa-cd5b030d7da7
Yann Chemin 11 年之前
父節點
當前提交
a7ae38f3be
共有 2 個文件被更改,包括 7 次插入7 次删除
  1. 5 5
      imagery/i.eb.evapfr/main.c
  2. 2 2
      imagery/i.evapo.pt/main.c

+ 5 - 5
imagery/i.eb.evapfr/main.c

@@ -55,24 +55,24 @@ int main(int argc, char *argv[])
     
     /* Define the different options */ 
     input1 = G_define_standard_option(G_OPT_R_INPUT);
-    input1->key = "rnet";
+    input1->key = "netradiation";
     input1->description = _("Name of Net Radiation raster map [W/m2]");
 
     input2 = G_define_standard_option(G_OPT_R_INPUT);
-    input2->key = "g0";
+    input2->key = "soilheatflux";
     input2->description = _("Name of soil heat flux raster map [W/m2]");
 
     input3 = G_define_standard_option(G_OPT_R_INPUT);
-    input3->key = "h0";
+    input3->key = "sensibleheatflux";
     input3->description = _("Name of sensible heat flux raster map [W/m2]");
 
     output1 = G_define_standard_option(G_OPT_R_OUTPUT);
-    output1->key = "evapfr";
+    output1->key = "evaporativefraction";
     output1->description =
 	_("Name for output evaporative fraction raster map");
 
     output2 = G_define_standard_option(G_OPT_R_OUTPUT);
-    output2->key = "theta";
+    output2->key = "soilmoisture";
     output2->required = NO;
     output2->description =
 	_("Name for output root zone soil moisture raster map");

+ 2 - 2
imagery/i.evapo.pt/main.c

@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
     G_add_keyword(_("evapotranspiration"));
     module->description =
 	_("Computes evapotranspiration calculation "
-	  "Prestley and Taylor formulation, 1972.");
+	  "Priestley and Taylor formulation, 1972.");
     
     /* Define different options */
     input_RNET = G_define_standard_option(G_OPT_R_INPUT);
@@ -90,7 +90,7 @@ int main(int argc, char *argv[])
     input_PT->key = "priestleytaylorcoef";
     input_PT->type = TYPE_DOUBLE;
     input_PT->required = YES;
-    input_PT->description = _("Prestley-Taylor coefficient");
+    input_PT->description = _("Priestley-Taylor coefficient");
     input_PT->answer = "1.26";
 
     output = G_define_standard_option(G_OPT_R_OUTPUT);