Skip to content

Commit

Permalink
rm whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Esposito authored and Nicholas Esposito committed Nov 1, 2023
1 parent 47fcd54 commit ed96f9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ush/ioda/bufr2ioda/bufr2ioda_adpsfc_prepbufr.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def bufr_to_ioda(config, logger):

# ObsType
q.add('observationType', '*/TYP')

# MetaData
q.add('stationIdentification', '*/SID')
q.add('latitude', '*/YOB')
Expand All @@ -86,7 +86,7 @@ def bufr_to_ioda(config, logger):
# # Quality Infomation (Quality Indicator)
q.add('qualityMarkerStationPressure', '*/P___INFO/P__EVENT{1}/PQM')
q.add('qualityMarkerStationElevation', '*/Z___INFO/Z__EVENT{1}/ZQM')

# ObsValue
q.add('stationPressure', '*/P___INFO/P__EVENT{1}/POB')
q.add('stationElevation', '*/ELV')
Expand All @@ -104,7 +104,7 @@ def bufr_to_ioda(config, logger):
logger.info(f"Executing QuerySet to get ResultSet ...")
with bufr.File(DATA_PATH) as f:
r = f.execute(q)

logger.info(" ... Executing QuerySet: get ObsType ...")
# ObsType
typ = r.get('observationType')
Expand All @@ -123,7 +123,7 @@ def bufr_to_ioda(config, logger):
# Quality Information
pobqm = r.get('qualityMarkerStationPressure')
zobqm = r.get('qualityMarkerStationElevation')

logger.info(f" ... Executing QuerySet: get obsvalue: stationPressure ...")
# ObsValue
elv = r.get('stationElevation', type='float')
Expand Down

0 comments on commit ed96f9c

Please sign in to comment.