Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -391,25 +391,15 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Wind Computation Method
obsspace.create_var('MetaData/windComputationMethod', dtype=swcm2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Satellite-derived Wind Computation Method') \
.write_data(swcm2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# Pressure
obsspace.create_var('MetaData/pressure', dtype=pressure2.dtype, fillval=pressure2.fill_value) \
.write_attr('units', 'pa') \
Expand All @@ -428,6 +418,16 @@ def bufr_to_ioda(config, logger):
.write_attr('long_name', 'Station Elevation') \
.write_data(stnelev2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# U-Wind Component
obsspace.create_var('ObsValue/windEastward', dtype=uob2.dtype, fillval=wspd2.fill_value) \
.write_attr('units', 'm s-1') \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,25 +386,15 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Wind Computation Method
obsspace.create_var('MetaData/windComputationMethod', dtype=swcm2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Satellite-derived Wind Computation Method') \
.write_data(swcm2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# Pressure
obsspace.create_var('MetaData/pressure', dtype=pressure2.dtype, fillval=pressure2.fill_value) \
.write_attr('units', 'pa') \
Expand All @@ -423,6 +413,16 @@ def bufr_to_ioda(config, logger):
.write_attr('long_name', 'Station Elevation') \
.write_data(stnelev2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# U-Wind Component
obsspace.create_var('ObsValue/windEastward', dtype=uob2.dtype, fillval=uob2.fill_value) \
.write_attr('units', 'm s-1') \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Quality: Percent Confidence - Expected Error
Expand All @@ -408,16 +408,6 @@ def bufr_to_ioda(config, logger):
.write_attr('long_name', 'Wind Height Assignment Method') \
.write_data(eham2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# Pressure
obsspace.create_var('MetaData/pressure', dtype=pressure2.dtype, fillval=pressure2.fill_value) \
.write_attr('units', 'pa') \
Expand All @@ -436,6 +426,16 @@ def bufr_to_ioda(config, logger):
.write_attr('long_name', 'Station Elevation') \
.write_data(stnelev2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# U-Wind Component
obsspace.create_var('ObsValue/windEastward', dtype=uob2.dtype, fillval=wspd2.fill_value) \
.write_attr('units', 'm s-1') \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
.write_data(qifn2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Wind Computation Method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,25 +364,15 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Wind Computation Method
obsspace.create_var('MetaData/windComputationMethod', dtype=swcm2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Satellite-derived Wind Computation Method') \
.write_data(swcm2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# Pressure
obsspace.create_var('MetaData/pressure', dtype=pressure2.dtype, fillval=pressure2.fill_value) \
.write_attr('units', 'pa') \
Expand All @@ -401,6 +391,16 @@ def bufr_to_ioda(config, logger):
.write_attr('long_name', 'Station Elevation') \
.write_data(stnelev2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windEastward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# ObsType based on computation method/spectral band
obsspace.create_var('ObsType/windNorthward', dtype=obstype2.dtype, fillval=swcm2.fill_value) \
.write_attr('long_name', 'Observation Type based on Satellite-derived Wind Computation Method and Spectral Band') \
.write_data(obstype2)

# U-Wind Component
obsspace.create_var('ObsValue/windEastward', dtype=uob2.dtype, fillval=wspd2.fill_value) \
.write_attr('units', 'm s-1') \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ def bufr_to_ioda(config, logger):
.write_data(ogce2)

# Quality: Percent Confidence - Quality Information Without Forecast
obsspace.create_var('MetaData/qualityInformationWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'Quality Information Without Forecast') \
obsspace.create_var('MetaData/qiWithoutForecast', dtype=qifn2.dtype, fillval=qifn2.fill_value) \
.write_attr('long_name', 'QI Without Forecast') \
.write_data(qifn2)

# Wind Computation Method
Expand Down