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):
215
215
216
216
Parameters
217
217
----------
218
- input_file : mule.DumpFile
219
- The input UM file containing the fields to be copied.
220
-
221
218
outfile : mule.DumpFile
222
219
The output UM file to which the selected fields will be copied.
223
220
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.
232
223
233
224
Returns
234
225
-------
235
226
None
236
227
This function modifies the output_file in place and does not return any value.
237
228
"""
238
229
for field in filtered_fields :
239
- # Ad to the outfile fields
230
+ # Add to the outfile fields
240
231
outfile .fields .append (field .copy ())
241
232
242
233
def main ():
You can’t perform that action at this time.
0 commit comments