Skip to content

Commit

Permalink
fixup! DAS-2293: Write the output netcdf file incrementally.
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingbear committed Feb 6, 2025
1 parent 40f6403 commit cd85084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smap_l2_gridder/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def process_input(in_data: DataTree, output_file: Path):
var_dt = DataTree()
full_var_name = f'{group_name}/{var_name}'
var_dt[full_var_name] = prepare_variable(in_data[full_var_name], grid_info)
# write the output data file.
# append variable to output file
var_dt.to_netcdf(output_file, mode='a')


Expand Down

0 comments on commit cd85084

Please sign in to comment.