Skip to content

Commit

Permalink
+ BUFR: Sounding_id with direction information and platform_id
Browse files Browse the repository at this point in the history
  • Loading branch information
observingClouds committed Jun 28, 2020
1 parent 588afec commit d742716
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eurec4a_snd/L1_bufr.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,9 @@ def main(args={}):
if 'extendedVerticalSoundingSignificance' in args['additional_variables']:
xr_output['extendedVerticalSoundingSignificance'] = xr.DataArray([sounding.extendedVerticalSoundingSignificance], dims=['sounding','levels'])

sounding_name = '{platform}__{lat:5.2f}_{lon:5.2f}__{launchtime}'.\
format(platform=config['PLATFORM']['platform_name_short'],
sounding_name = '{platform}__{direction}__{lat:05.2f}_{lon:06.2f}__{launchtime}'.\
format(platform=platform_id,
direction=direction_str,
lat=sounding.station_lat,
lon=sounding.station_lon,
launchtime=str(YYYYMMDDHHMM))
Expand Down

0 comments on commit d742716

Please sign in to comment.