Skip to content

Commit c796f8e

Browse files
author
xiaoyan zhang
committed
Similified the input and output name for bufr2ioda_gsrcsr.py ;
Modified the OBS_COM and DUMDIR for bufr2ioda_gsrcsr.json.
1 parent 4f8cc04 commit c796f8e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

rrfs-test/IODA/python/bufr2ioda_gsrcsr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"data_type" : "gsrcsr",
44
"cycle_type" : "rap",
55
"cycle_datetime" : "{{ current_cycle | to_YMDH }}",
6-
"dump_directory" : "{{ DMPDIR }}",
7-
"ioda_directory" : "{{ COM_OBS }}",
6+
"dump_directory" : "./",
7+
"ioda_directory" : "./",
88
"subsets" : ['NC021046'],
99
"data_description" : "NC021046 ABI, GOES-16; NC021046 ABI, GOES-17, NC021046 ABI, GOES-18",
1010
"data_provider" : "U.S. NOAA/NESDIS",

rrfs-test/IODA/python/bufr2ioda_gsrcsr.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def bufr_to_ioda(config, logger):
6464
logger.info(f"sensor_id = {sensor_id}")
6565
logger.info(f"reference_time = {reference_time}")
6666

67-
bufrfile = f"{cycle_type}.t{hh}z.{data_type}.tm00.{data_format}"
67+
#bufrfile = f"{cycle_type}.t{hh}z.{data_type}.tm00.{data_format}"
68+
bufrfile = f"abibufr"
6869
DATA_PATH = os.path.join(
6970
dump_dir, bufrfile
7071
#dump_dir, f"{cycle_type}.{yyyymmdd}", str(hh), "atmos", bufrfile
@@ -287,7 +288,8 @@ def bufr_to_ioda(config, logger):
287288
}
288289

289290
# Create IODA ObsSpace
290-
iodafile = f"{cycle_type}.t{hh}z.{satinst}.tm00.nc"
291+
#iodafile = f"{cycle_type}.t{hh}z.{satinst}.tm00.nc"
292+
iodafile = f"ioda_{satinst}.nc"
291293
OUTPUT_PATH = os.path.join(ioda_dir, iodafile)
292294
logger.info(f"Create output file : {OUTPUT_PATH}")
293295
obsspace = ioda_ospace.ObsSpace(OUTPUT_PATH, mode="w", dim_dict=dims)

0 commit comments

Comments
 (0)