Skip to content

Commit

Permalink
code norm check
Browse files Browse the repository at this point in the history
  • Loading branch information
xincjin-NOAA committed Jan 22, 2024
1 parent 30543ab commit bd04d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ush/ioda/bufr2ioda/bufr2ioda_combine_ncep_amsua.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
AMSUA_TYPE_CHANGE_DATETIME = "2023120000"

BAMUA = '1BAMUA'
ESAMUA = 'ESAMUA'
ESAMUA = 'ESAMUA'

YAML_NORMAL = True # current as normal

Expand Down Expand Up @@ -87,7 +87,7 @@ def apply_corr(self, sat_id, ta, ifov):

@timing_decorator
def merge(amsua_files, splits):
ioda_files = [(f'amsua.{x}_ta.tm00.ncc', f'esamua.{x}.tm00.ncc', f'amsua_{x}.tm00.nc') for x in splits]
ioda_files = [(f'amsua.{x}_ta.tm00.ncc', f'esamua.{x}.tm00.ncc', f'amsua_{x}.tm00.nc') for x in splits]
logger.info(f'Ioda files: {ioda_files}')
file1 = [f for f in amsua_files[0].values()]
file2 = [f for f in amsua_files[1].values()]
Expand Down
2 changes: 1 addition & 1 deletion ush/ioda/bufr2ioda/run_bufr2ioda.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def bufr2ioda(current_cycle, RUN, DMPDIR, config_template_dir, COM_OBS):
BUFR_yaml_files = [os.path.basename(f) for f in BUFR_yaml_files]
BUFR_yaml = [f.replace('bufr2ioda_', '').replace('.yaml', '') for f in BUFR_yaml_files]
logger.info(f'All obs type processed by yaml: {BUFR_yaml}')
BUFR_yaml = ['ncep_1bamua_ta', 'ncep_esamua']
BUFR_yaml = ['ncep_1bamua_ta', 'ncep_esamua']

for obtype in BUFR_yaml:
logger.info(f"Convert {obtype}...")
Expand Down

0 comments on commit bd04d95

Please sign in to comment.