Skip to content

Commit

Permalink
Merge branch 'develop' into feature/split_getkf_test
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqing-noaa authored Sep 26, 2024
2 parents 84dd120 + 0c635a1 commit f7ff439
Show file tree
Hide file tree
Showing 9 changed files with 3,108 additions and 0 deletions.
452 changes: 452 additions & 0 deletions rrfs-test/IODA/yaml/prepbufr_adpsfc.yaml

Large diffs are not rendered by default.

439 changes: 439 additions & 0 deletions rrfs-test/IODA/yaml/prepbufr_adpupa.yaml

Large diffs are not rendered by default.

351 changes: 351 additions & 0 deletions rrfs-test/IODA/yaml/prepbufr_aircraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
# (C) Copyright 2022 NOAA/NWS/NCEP/EMC
# #
# # This software is licensed under the terms of the Apache Licence Version 2.0
# # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

observations:
- obs space:
name: bufr


obsdatain: "./prepbufr"

exports:
#group_by: prepbufrDataLevelCategory
subsets:
- AIRCAR # MDCRS ACARS AIRCRAFT REPORTS (ACID)
- AIRCFT # AIREP, PIREP, AMDAR, TAMDAR AIRCRAFT REPORTS (ACID)
variables:
#MetaData
timestamp:
timeoffset:
timeOffset: "*/DHR"
transforms:
- scale: 3600
referenceTime: @referenceTime@
timeOffset:
query: "*/DHR"
longitude:
query: "*/XOB"
latitude:
query: "*/YOB"
stationIdentification:
query: "*/SID"
aircraftFlightNumber:
query: "[*/ACID, */ACID_SEQ/ACID]"
prepbufrDataLevelCategory:
query: "*/PRSLEVLA/CAT"
prepbufrReportType:
query: "*/TYP"
dumpReportType:
query: "*/T29"
prepbufrDataLvlCat:
query: "*/PRSLEVLA/CAT"
aircraftPhase:
query: "*/PRSLEVLA/ACFT_SEQ/POAF"
stationElevation:
query: "*/ELV"
type: float

pressure:
query: "*/PRSLEVLA/P___INFO/P__EVENT{1}/POB"
transforms:
- scale: 100
pressureQualityMarker:
query: "*/PRSLEVLA/P___INFO/P__EVENT{1}/PQM"
pressureError:
query: "*/PRSLEVLA/P___INFO/P__BACKG/POE"
transforms:
- scale: 100
pressureTunedError:
query: "*/PRSLEVLA/P___INFO/P__POSTP/POETU"
transforms:
- scale: 100

heightOfObservation:
query: "*/PRSLEVLA/Z___INFO/Z__EVENT{1}/ZOB"
type: float
heightOfObservationQualityMark:
query: "*/PRSLEVLA/Z___INFO/Z__EVENT{1}/ZQM"

#ObsValue
specificHumidity:
query: "*/PRSLEVLA/Q___INFO/Q__EVENT{1}/QOB"
type: float
transforms:
- scale: 0.000001
specificHumidityQualityMarker:
query: "*/PRSLEVLA/Q___INFO/Q__EVENT{1}/QQM"
relativeHumidityError:
query: "*/PRSLEVLA/Q___INFO/Q__BACKG/QOE"
transforms:
- scale: 0.1
relativeHumidityTunedError:
query: "*/PRSLEVLA/Q___INFO/Q__POSTP/QOETU"
transforms:
- scale: 0.1

dewpointTemperature:
query: "*/PRSLEVLA/Q___INFO/TDO"
transforms:
- offset: 273.15

airTemperature:
query: "*/PRSLEVLA/T___INFO/T__EVENT{1}/TOB"
transforms:
- offset: 273.15
airTemperatureQualityMarker:
query: "*/PRSLEVLA/T___INFO/T__EVENT{1}/TQM"
airTemperatureError:
query: "*/PRSLEVLA/T___INFO/T__BACKG/TOE"
airTemperatureTunedError:
query: "*/PRSLEVLA/T___INFO/T__POSTP/TOETU"

windEastward:
query: "*/PRSLEVLA/W___INFO/W__EVENT{1}/UOB"
windNorthward:
query: "*/PRSLEVLA/W___INFO/W__EVENT{1}/VOB"
windQualityMarker:
query: "*/PRSLEVLA/W___INFO/W__EVENT{1}/WQM"
windError:
query: "*/PRSLEVLA/W___INFO/W__BACKG/WOE"
windTunedError:
query: "*/PRSLEVLA/W___INFO/W__POSTP/WOETU"
transform:
- scale: 0.514444

ioda:
backend: netcdf
obsdataout: "./ioda_aircraft.nc"

dimensions:
- name: Level
path: "*/PRSLEVLA"
- name: pevent_Dim
path: "*/PRSLEVLA/P___INFO/P__EVENT"
- name: qevent_Dim
path: "*/PRSLEVLA/Q___INFO/Q__EVENT"
- name: tevent_Dim
path: "*/PRSLEVLA/T___INFO/T__EVENT"
- name: wevent_Dim
path: "*/PRSLEVLA/W___INFO/W__EVENT"
- name: zevent_Dim
path: "*/PRSLEVLA/Z___INFO/Z__EVENT"
- name: drft_Dim
path: "*/PRSLEVLA/DRFTINFO"


variables:
#MetaData
- name: "MetaData/dateTime"
coordinates: "longitude latitude"
source: variables/timestamp
longName: "Observation Time"
units: "seconds since 1970-01-01T00:00:00Z"

- name: "MetaData/timeOffset"
coordinates: "longitude latitude"
source: variables/timeOffset
longName: "Observation Time Offset from Reference Time"
units: "Seconds"

- name: "MetaData/stationIdentification"
coordinates: "longitude latitude"
source: variables/stationIdentification
longName: "Station/Aircraft ID"

- name: "MetaData/latitude"
coordinates: "longitude latitude"
source: variables/latitude
longName: "Latitude"
units: "degree_north"
range: [-90, 90]

- name: "MetaData/longitude"
coordinates: "longitude latitude"
source: variables/longitude
longName: "Longitude"
units: "degree_east"
range: [0, 360]

- name: "MetaData/aircraftFlightNumber"
coordinates: "longitude latitude"
source: variables/aircraftFlightNumber
longName: "Aircraft Flight Number"

- name: "MetaData/prepbufrDataLevelCategory"
coordinates: "longitude latitude"
source: variables/prepbufrDataLevelCategory
longName: "Prepbufr Data Level Category"

- name: "MetaData/prepbufrReportType"
coordinates: "longitude latitude"
source: variables/prepbufrReportType
longName: "Prepbufr Report Type"

- name: "MetaData/dumpReportType"
coordinates: "longitude latitude"
source: variables/dumpReportType
longName: "Data Dump Report Type"
units: ""

- name: "MetaData/prepbufrDataLvlCat"
coordinates: "longitude latitude"
source: variables/prepbufrDataLvlCat
longName: "Prepbufr Data Level Category"
units: ""

- name: "MetaData/aircraftFlightPhase"
coordinates: "longitude latitude"
source: variables/aircraftPhase
longName: "Aircraft Flight Phase"

- name: "MetaData/stationElevation"
coordinates: "longitude latitude"
source: variables/stationElevation
longName: "Elevation of Station"
units: "Meter"

- name: "MetaData/height"
coordinates: "longitude latitude"
source: variables/heightOfObservation
longName: "Height"
units: "Meter"

- name: "MetaData/pressure"
coordinates: "longitude latitude"
source: variables/pressure
longName: "Pressure"
units: "Pa"

# ObsType
- name: "ObsType/specificHumidity"
coordinates: "longitude latitude"
source: variables/prepbufrReportType
longName: "specificHumidity Report Type"
units: ""

- name: "ObsType/airTemperature"
coordinates: "longitude latitude"
source: variables/prepbufrReportType
longName: "airTemperature report Type"
units: ""

- name: "ObsType/windEastward"
coordinates: "longitude latitude"
source: variables/prepbufrReportType
longName: "windEastward Report Type"
units: ""

- name: "ObsType/windNorthward"
coordinates: "longitude latitude"
source: variables/prepbufrReportType
longName: "windNorthward Report Type"
units: ""

#ObsValue
- name: "ObsValue/specificHumidity"
coordinates: "longitude latitude"
source: variables/specificHumidity
longName: "Specific Humidity"
units: "Kilogram Kilogram-1"

- name: "ObsValue/airTemperature"
coordinates: "longitude latitude"
source: variables/airTemperature
longName: "Temperature"
units: "Kelvin"

- name: "ObsValue/dewpointTemperature"
coordinates: "longitude latitude"
source: variables/dewpointTemperature
longName: "Dewpoint Temperature"
units: "Kelvin"

- name: "ObsValue/windEastward"
coordinates: "longitude latitude"
source: variables/windEastward
longName: "U component of Wind"
units: "Meter Second-1"

- name: "ObsValue/windNorthward"
coordinates: "longitude latitude"
source: variables/windNorthward
longName: "V component of Wind"
units: "Meter Second-1"

# Quality Marker
- name: "QualityMarker/pressure"
coordinates: "longitude latitude"
source: variables/pressureQualityMarker
longName: "Pressure Quality Marker"

- name: "QualityMarker/height"
coordinates: "longitude latitude"
source: variables/heightOfObservationQualityMark
longName: "Height Quality Marker"

- name: "QualityMarker/specificHumidity"
coordinates: "longitude latitude"
source: variables/specificHumidityQualityMarker
longName: "Specific Humidity Quality Marker"

- name: "QualityMarker/airTemperature"
coordinates: "longitude latitude"
source: variables/airTemperatureQualityMarker
longName: "Temperature Quality Marker"

- name: "QualityMarker/wind"
coordinates: "longitude latitude"
source: variables/windQualityMarker
longName: "U, V-Component of Wind Quality Marker"

# ObsError
- name: "ObsError/pressure"
coordinates: "longitude latitude"
source: variables/pressureError
longName: "Pressure Observation Error"
units: "Pa"

- name: "ObsError/relativeHumidity"
coordinates: "longitude latitude"
source: variables/relativeHumidityError
longName: "Relative Humidity Error"
units: "1"

- name: "ObsError/airTemperature"
coordinates: "longitude latitude"
source: variables/airTemperatureError
longName: "Temperature Error"
units: "Kelvin"

- name: "ObsError/wind"
coordinates: "longitude latitude"
source: variables/windError
longName: "East and Northward wind error"
units: "Meter Second-1"

# Tuned ObsError
- name: "TunedObsError/pressure"
coordinates: "longitude latitude"
source: variables/pressureTunedError
longName: "Analysis-Tuned Pressure Observation Error"
units: "Pa"

- name: "TunedObsError/relativeHumidity"
coordinates: "longitude latitude"
source: variables/relativeHumidityTunedError
longName: "Analysis-Tuned Relative Humidity Error"
units: "1"

- name: "TunedObsError/airTemperature"
coordinates: "longitude latitude"
source: variables/airTemperatureTunedError
longName: "Analysis-Tuned Temperature Error"
units: "Kelvin"

- name: "TunedObsError/wind"
coordinates: "longitude latitude"
source: variables/windTunedError
longName: "Analysis-Tuned East and Northward wind error"
units: "Meter Second-1"
Loading

0 comments on commit f7ff439

Please sign in to comment.