Skip to content
Draft
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
52 changes: 49 additions & 3 deletions guide/pytools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,65 @@ Here is an example configuration file for radiosondes:
- name: windNorthward
type: RADIOSONDE_V_WIND_COMPONENT

observation category:
name: conventional
vertical coordinate:
name: MetaData/pressure
units: "pressure (Pa)"

The `name:` entries are the names of the variables in the JEDI IODA observation file, and the `type:` entries
The `observation category:` section is how the tool discerns between different categories of observation types.
Currently, the tool recognizes "conventional" (radiosonde, aircraft, etc.) and "radiance" (amsu-a, goes, etc.) with the `name:` specification.
The idea with the observation category is to group instruments where the data are organized in a similar fashion.
For example, in the future, perhaps "radar" and "gpsro" could be added to the list of categories.

The `name:` entries for variables are the names of the variables in the JEDI IODA observation file, and the `type:` entries
are the corresponding DART observation types.
The `vertical coordinate` section specifies the variable that will be used as the vertical coordinate in
the DART observation sequence file.
Note that in the `vertical coordinate` section, the `name:` entry must specify the full netcdf path to the variabile
in the JEDI IODA observation file, and the `units:` entry specifies the units to be used in the DART observation sequence file.

Here is an example radiance obs type (AMSU-A):

.. code-block:: yaml

---

ioda to obsq converter:
observation variables:
- name: brightnessTemperature
type: NOAA_19_AMSUA_TB

observation category:
name: radiance
channel numbers: 1, 2, 3, 12-15
vertical coordinate:
units: "pressure (Pa)"
data value: 35000.0
metadata:
sensor key: NOAA_19_AMSUA
rttov sensor db: /home/stephenh/projects/NCAR_DART/DART/observations/forward_operators/rttov_sensor_db.csv
sat az variable: MetaData/sensorAzimuthAngle
sat ze variable: MetaData/sensorZenithAngle

Some of the entries are similar to those in the radiosonde (conventional) category.
Note that in the radiance category, the `vertical coordinate:` spec needs a `name:` (as before) and a `data value:` (instead of units).
Currently, the `data value:` is repeated on all of the observations.

Two new entries under the `observation catageory:` spec have been introduced.
The `channel numbers:` spec allows the user to select a subset of channels to convert.
The value for `channel numbers:` is a comma separated list where each entry can be an integer or a range of integers.

The `metadata:` spec allows the user to configure what gets placed in the obs sequence file's metadata section.
The `sensor key:` and `rttov sensor db:` spec go hand-in-hand, and describe how to pull out id numbers for the platform, satellite and sensor.
The `sat az variable:` and `sat ze variable:` are the JEDI IODA names for the satellite azimuth and zenith angles respectively.

Another piece of information that comes from the `rttov_sensor_db:` file is the spectral band (eg. infrared, microwave).
Currently, only infrared ("ir") and microwave ("mw") are recognized.
The purpose of the `metadata:` spec is to have flexibility with the configuration for infrared, microwave, visible, etc. instruments.

.. note::

The `ioda2obsq` tool is under active development and has limited functionality at this time.
It is expected that more features will be added soon, including support for satellite radiance observation types.
In its current state, it is primarily intended for use with radiosonde and similar conventional observation types.
It is expected that more features will be added soon, including support for additional satellite radiance observation types.
In its current state, it is primarily intended for use with radiosonde and similar conventional observation types, as well as infrared and micorwave radiance instruments.
Loading