|
65 | 65 | | zr_b | the Z-R exponent b in Z = a*R**b |
|
66 | 66 | +------------------+----------------------------------------------------------+
|
67 | 67 |
|
| 68 | +The data and metadata is then postprocessed into an xarray dataset. This dataset will |
| 69 | +always contain an x and y dimension, but can be extended with a time dimension and/or |
| 70 | +an ensemble member dimension over the course of the process. |
| 71 | +
|
| 72 | +The dataset can contain the following coordinate variables: |
| 73 | +
|
| 74 | +
|
| 75 | +.. tabularcolumns:: |p{2cm}|L| |
| 76 | +
|
| 77 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 78 | +| Coordinate | Description | |
| 79 | ++===============+===========================================================================================+ |
| 80 | +| y | y-coordinate in Cartesian system, with units determined by ``metadata["cartesian_unit"]`` | |
| 81 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 82 | +| x | x-coordinate in Cartesian system, with units determined by ``metadata["cartesian_unit"]`` | |
| 83 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 84 | +| lat | latitude coordinate in degrees | |
| 85 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 86 | +| lon | longitude coordinate in degrees | |
| 87 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 88 | +| time | forecast time in seconds since forecast start time | |
| 89 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 90 | +| member | ensemble member number (integer) | |
| 91 | ++---------------+-------------------------------------------------------------------------------------------+ |
| 92 | +
|
| 93 | +
|
| 94 | +The dataset can contain the following data variables: |
| 95 | +
|
| 96 | +.. tabularcolumns:: |p{2cm}|L| |
| 97 | +
|
| 98 | ++-------------------+-----------------------------------------------------------------------------------------------------------+ |
| 99 | +| Variable | Description | |
| 100 | ++===================+===========================================================================================================+ |
| 101 | +| precip_intensity, | precipitation data, based on the unit the data has it is stored in one of these 3 possible variables | |
| 102 | +| precip_accum | precip_intensity if unit is ``mm/h``, precip_accum if unit is ``mm`` and reflectivity if unit is ``dBZ``, | |
| 103 | +| or reflectivity | the attributes of this variable contain metadata relevant to this attribute (see below) | |
| 104 | ++-------------------+-----------------------------------------------------------------------------------------------------------+ |
| 105 | +| quality | value between 0 and 1 denoting the quality of the precipitation data, currently not used for anything | |
| 106 | ++-------------------+-----------------------------------------------------------------------------------------------------------+ |
| 107 | +
|
| 108 | +Some of the metadata in the metadata dictionary is not explicitely stored in the dataset, |
| 109 | +but is still implicitly present. For example ``x1`` can easily be found by taking the first |
| 110 | +value from the x coordinate variable. Metadata that is not implicitly present is explicitly |
| 111 | +stored either in the datasets global attributes or as attributes of the precipitation variable. |
| 112 | +Data that relates to the entire dataset is stored in the global attributes. The following data |
| 113 | +is stored in the global attributes: |
| 114 | +
|
| 115 | +.. tabularcolumns:: |p{2cm}|L| |
| 116 | +
|
| 117 | ++------------------+----------------------------------------------------------+ |
| 118 | +| Key | Value | |
| 119 | ++==================+==========================================================+ |
| 120 | +| projection | PROJ.4-compatible projection definition | |
| 121 | ++------------------+----------------------------------------------------------+ |
| 122 | +| institution | name of the institution who provides the data | |
| 123 | ++------------------+----------------------------------------------------------+ |
| 124 | +| precip_var | the name of the precipitation variable in this dataset | |
| 125 | ++------------------+----------------------------------------------------------+ |
| 126 | +
|
| 127 | +The following data is stored as attributes of the precipitation variable: |
| 128 | +
|
| 129 | +.. tabularcolumns:: |p{2cm}|L| |
| 130 | +
|
| 131 | ++------------------+----------------------------------------------------------+ |
| 132 | +| Key | Value | |
| 133 | ++==================+==========================================================+ |
| 134 | +| units | the physical unit of the data: 'mm/h', 'mm' or 'dBZ' | |
| 135 | ++------------------+----------------------------------------------------------+ |
| 136 | +| transform | the transformation of the data: None, 'dB', 'Box-Cox' or | |
| 137 | +| | others | |
| 138 | ++------------------+----------------------------------------------------------+ |
| 139 | +| accutime | the accumulation time in minutes of the data, float | |
| 140 | ++------------------+----------------------------------------------------------+ |
| 141 | +| threshold | the rain/no rain threshold with the same unit, | |
| 142 | +| | transformation and accutime of the data. | |
| 143 | ++------------------+----------------------------------------------------------+ |
| 144 | +| zerovalue | the value assigned to the no rain pixels with the same | |
| 145 | +| | unit, transformation and accutime of the data. | |
| 146 | ++------------------+----------------------------------------------------------+ |
| 147 | +| zr_a | the Z-R constant a in Z = a*R**b | |
| 148 | ++------------------+----------------------------------------------------------+ |
| 149 | +| zr_b | the Z-R exponent b in Z = a*R**b | |
| 150 | ++------------------+----------------------------------------------------------+ |
| 151 | +
|
| 152 | +Furthermore the dataset can contain some additional metadata to make the dataset |
| 153 | +CF-compliant. |
| 154 | +
|
68 | 155 | Available Importers
|
69 | 156 | -------------------
|
70 | 157 |
|
|
0 commit comments