#Set measurement heights
if math.isnan(row['z_boom_u_smooth']) is False:
codes_set(ibufr,
'#1#heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform',
row['z_boom_u_smooth']-0.1) # For air temp and RH
codes_set(ibufr,
'#7#heightOfSensorAboveLocalGroundOrDeckOfMarinePlatform',
row['z_boom_u_smooth']+0.4) # For wind speed
if math.isnan(row['gps_alt_fit']) is False:
codes_set(ibufr, 'heightOfBarometerAboveMeanSeaLevel',
row['gps_alt_fit']+row['z_boom_u_smooth']) # For pressure
I don't understand why z_boom_u_smooth is used to compute heightOfBarometerAboveMeanSeaLevel. z_boom_u_smooth is relative to the snow height and not the barometer height above sea level.
I expected to see a constant offset defining the barometer height relative height between the gps receiver:
The BUFR files are missing
heightOfBarometerAboveMeanSeaLevel
whenz_boom_u_smooth
I nan.pypromice/src/pypromice/postprocess/csv2bufr.py
:I don't understand why
z_boom_u_smooth
is used to computeheightOfBarometerAboveMeanSeaLevel
.z_boom_u_smooth
is relative to the snow height and not the barometer height above sea level. I expected to see a constant offset defining the barometer height relative height between the gps receiver: