src/java/methods/CSIP_NASS_LMOD_Matching.java
@@ -75,8 +75,8 @@ |
LMOD_data_by_CMZ_list = DB_LMOD_map.get(result.getString("CROPSEQACR") + "_" + "" + Integer.parseInt(unique_cmzs.get(i)) + "" + "_" + result.getString("IRRIGATED")); |
LMOD_data_by_CMZ_list.add(LMOD_data_by_CMZ); |
DB_LMOD_map.put(result.getString("CROPSEQACR") + "_" + "" + Integer.parseInt(unique_cmzs.get(i)) + "" + "_" + result.getString("IRRIGATED"), LMOD_data_by_CMZ_list); |
- w_log.println(" double_seq_acr : " + result.getString("CROPSEQACR")); |
- w_log.flush(); |
+// w_log.println(" double_seq_acr : " + result.getString("CROPSEQACR")); |
+// w_log.flush(); |
} |
|
count++; |
@@ -302,10 +302,10 @@ |
// w_log.println(" " + hash_pos + ".in LIST Seq : " + hrus.get(i).seq_map.get(hrus.get(i).sorted_adjusted_conf.get(key)) + " Adjusted avg. Conf: " + hrus.get(i).sorted_adjusted_conf.get(key) + " for: " + key); |
//w_log.println(" LMOD : ==> " + pattern); |
List<ArrayList<String>> LMOD_data_by_CMZ = DB_LMOD_map.get(hrus.get(i).seq_map.get(hrus.get(i).sorted_adjusted_conf.get(key)) + "_" + int_cmz + "_" + (hrus.get(i).irrigated).toString().toUpperCase()); |
- if (LMOD_data_by_CMZ.size() > 1) { |
- w_log.println(" " + LMOD_data_by_CMZ.size() + ": Number of " + hrus.get(i).seq_map.get(hrus.get(i).sorted_adjusted_conf.get(key)) + "_" + int_cmz + "_" + (hrus.get(i).irrigated).toString().toUpperCase()); |
- w_log.flush(); |
- } |
+// if (LMOD_data_by_CMZ.size() > 1) { |
+// w_log.println(" " + LMOD_data_by_CMZ.size() + ": Number of " + hrus.get(i).seq_map.get(hrus.get(i).sorted_adjusted_conf.get(key)) + "_" + int_cmz + "_" + (hrus.get(i).irrigated).toString().toUpperCase()); |
+// w_log.flush(); |
+// } |
M_R.LMOD_Key = LMOD_data_by_CMZ.get(0).get(0); |
M_R.Rotation = true; |
M_R.Rotation_Duration = Integer.parseInt(LMOD_data_by_CMZ.get(0).get(6)); |
test/json-tests/IO_creek-req.json
@@ -1,11 +1,39 @@ |
{ |
"metainfo": { |
- "keep_workspace": true |
+ "keep_workspace": true |
}, |
"parameter": [ |
{ |
"name": "geometry", |
- "value": "IO_creek.kmz" |
+ "value": "sf_fields.kmz" |
+ }, |
+ { |
+ "name": "delta_adjust_confidence", |
+ "description": "delta factor to adjust the possible crop rotation order in the matching list", |
+ "min": "0.0", |
+ "max": "0.9", |
+ "value": "0.05" |
+ }, |
+ { |
+ "name": "start_year", |
+ "description": "to generate an user-selected time period with the matching crop rotation; Start Year", |
+ "min": "1900", |
+ "max": "2100", |
+ "value": "2000" |
+ }, |
+ { |
+ "name": "end_year", |
+ "description": "to generate an user-selected time period with the matching crop rotation; End Year", |
+ "min": "1901", |
+ "max": "2101", |
+ "value": "2014" |
+ }, |
+ { |
+ "name": "ages_files_generation_switch", |
+ "description": "AgES-W input file generation module switch; On or Off", |
+ "min": "off", |
+ "max": "on", |
+ "value": "on" |
} |
] |
} |
\ No newline at end of file |