Skip to content

Commit

Permalink
Merge pull request #9 from agrouaze/fix_error_l1c
Browse files Browse the repository at this point in the history
change the test to check whether XS are available in L1B
  • Loading branch information
agrouaze authored May 9, 2023
2 parents 1442c0b + 9339d81 commit 8102880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slcl1butils/scripts/do_IW_L1C_SAFE_from_L1B_SAFE.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def do_L1C_SAFE_from_L1B_SAFE(full_safe_file,version, outputdir, cwave=True, mac
ds_intra, ds_inter = enrich_onesubswath_l1b(l1b_fullpath, ancillary_list=None, cwave=cwave, macs=macs,
colocat=colocat,
time_separation=time_separation)
if 'xspectra' in ds_inter:
if 'macs_Im' in ds_inter: # if macs is not computed -> XS not available -> no need to create L1C
save_l1c_to_netcdf(l1c_full_path, ds_intra, ds_inter,version=version)
cpt['saved_in_nc'] += 1
else:
Expand Down

0 comments on commit 8102880

Please sign in to comment.