Skip to content

Commit 39e5066

Browse files
committed
change writer in average_l1b - only write netcdf for land network
1 parent 7f625b3 commit 39e5066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypernets_processor/calibration/calibrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def calibrate_l1a(self, measurandstring, dataset_l0, dataset_l0_bla):
5353
dataset_l1a = self.process_measurement_function(measurandstring, dataset_l1a, calibrate_function.function,
5454
input_qty_l1a,
5555
u_random_input_qty_l1a, u_systematic_input_qty_l1a)
56-
if self.context.get_config_value("write_l1a"):
56+
if self.context.get_config_value("write_l1a") & self.context.get_config_value("network") == "l":
5757
self.writer.write(dataset_l1a, overwrite=True)
5858

5959
if self.context.get_config_value("plot_l1a"):

0 commit comments

Comments
 (0)