File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -215,28 +215,19 @@ def append_fields(outfile, filtered_fields):
215215
216216 Parameters
217217 ----------
218- input_file : mule.DumpFile
219- The input UM file containing the fields to be copied.
220-
221218 outfile : mule.DumpFile
222219 The output UM file to which the selected fields will be copied.
223220
224- prognostic : bool
225- If True, only prognostic fields will be copied.
226-
227- include_list : list of int
228- A list of STASH item codes to include. Only these fields will be copied to the output file.
229-
230- exclude_list : list of int
231- A list of STASH item codes to exclude. Fields with these item codes will not be copied to the output file.
221+ filtered_fields : list of int
222+ A list of STASH item codes to save to the new file.
232223
233224 Returns
234225 -------
235226 None
236227 This function modifies the output_file in place and does not return any value.
237228 """
238229 for field in filtered_fields :
239- # Ad to the outfile fields
230+ # Add to the outfile fields
240231 outfile .fields .append (field .copy ())
241232
242233def main ():
You can’t perform that action at this time.
0 commit comments