You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- xmin: FLOAT: minimum displayed x-coordinate (distance at ground along RHI)
100
+
- xmax: FLOAT: minimum displayed x-coordinate (distance at ground along RHI)
84
101
* - ppiMapImageConfig
85
102
- STRUCT
86
-
- Structure defining the PPI image overlaid on a map (PPI_MAP product).
103
+
- Structure defining the PPI image overlaid on a map (PPI_MAP product). It can contain the following keys:
104
+
105
+
- dpi: INT: dpi of the output image
106
+
- xsize: FLOAT: width of the image in inches
107
+
- ysize: FLOAT: height of the image in inches
108
+
- min_lon: FLOAT: minimum displayed longitude
109
+
- max_lon: FLOAT: maximum displayed longitude
110
+
- min_lat: FLOAT: minimum displayed latitude
111
+
- max_lat: FLOAT: maximum displayed latitude
112
+
- resolution: INT: resolution of additional cartopy geodata, only "10m", "50m" or "110m" is supported
113
+
- alpha: FLOAT: transparency value (between 0 and 1) of the displayed radar data, alpha smaller than 1 is required when plotting over a relief or OTM map
114
+
- background_zoom: INT: Zoom level of the additional cartopy raster geodata, the higher the value, the higher the resolution (typically between 8 and 12). Default is 8.
115
+
- maps: list of STRING: list of additional geodata to plot. The following are supported: relief (hillshade), OTM (opentopomaps), provinces, urban_areas, roads, railroads, coastlines, lakes, lakes_europe, rivers, rivers_europe.
116
+
- rngRing: INT: if defined will plot range rings every x kilometers from the radar (x is the specified value)
87
117
* - gridMapImageConfig
88
118
- STRUCT
89
-
- Structure defining the display of gridded data overlaid on a map (SURFACE_IMAGE product).
119
+
- Structure defining the display of gridded data overlaid on a map (SURFACE_IMAGE product). It can contain the following keys:
120
+
121
+
- dpi: INT: dpi of the output image
122
+
- xsize: FLOAT: width of the image in inches
123
+
- ysize: FLOAT: height of the image in inches
124
+
- min_lon: FLOAT: minimum displayed longitude
125
+
- max_lon: FLOAT: maximum displayed longitude
126
+
- min_lat: FLOAT: minimum displayed latitude
127
+
- max_lat: FLOAT: maximum displayed latitude
128
+
- resolution: INT: resolution of additional cartopy geodata, only "10m", "50m" or "110m" is supported
129
+
- alpha: FLOAT: transparency value (between 0 and 1) of the displayed radar data, alpha smaller than 1 is required when plotting over a relief or OTM map
130
+
- background_zoom: INT: Zoom level of the additional cartopy raster geodata, the higher the value, the higher the resolution (typically between 8 and 12). Default is 8.
131
+
- maps: list of STRING: list of additional geodata to plot. The following are supported: relief (hillshade), OTM (opentopomaps), provinces, urban_areas, roads, railroads, coastlines, lakes, lakes_europe, rivers, rivers_europe.
90
132
* - xsecImageConfig
91
133
- STRUCT
92
-
- Structure defining the cross-section images generated from gridded data (CROSS_SECTION, LATITUDE_SLICE and LONGITUDE_SLICE products).
134
+
- Structure defining the cross-section images generated from gridded data (CROSS_SECTION, LATITUDE_SLICE and LONGITUDE_SLICE products). It can contain the following keys:
Copy file name to clipboardExpand all lines: doc/source/userguide/usage.rst
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ Configuration files
8
8
Pyrad uses 3 different configuration files which are typically stored in the folder::
9
9
*pyrad/config/processing/*
10
10
11
-
The first file specifies the input data, output data and configuration files packages, the second
12
-
specifies radar related parameters (radar name, scan name and frequency, etc.) and the general
13
-
configuration of the various image output, the last file specifies the datasets and products to be
11
+
The first file specifies the input data, output data and configuration files packages, the second
12
+
specifies radar related parameters (radar name, scan name and frequency, etc.) and the general
13
+
configuration of the various image output, the last file specifies the datasets and products to be
14
14
produced.
15
15
16
-
The easiest way to start is to copy one of the available config files and modify it according to your
17
-
needs.
16
+
The easiest way to start is to copy one of the available config files and modify it according to your
17
+
needs.
18
18
19
19
Examples of pyrad config files are available in the repository https://github.com/MeteoSwiss/pyrad-examples/.
20
20
@@ -27,7 +27,7 @@ To run the programs first you need to activate the conda pyrad environment::
27
27
conda activate pyrad
28
28
29
29
A number of script are available as executables. You can use them by simply typing::
30
-
30
+
31
31
[name_of_the_program] [arguments]
32
32
33
33
At the moment there are three main programs:
@@ -36,9 +36,14 @@ main_process_data.py
36
36
will process (and optionally post-process) data from a starting point in time to an ending point in time.
37
37
38
38
main_process_data_period.py
39
-
will process (and optionally post-process) data over several days starting the processing at a given starting and ending time (default 00:00:00 for start and 23:59:59 for
39
+
will process (and optionally post-process) data over several days starting the processing at a given starting and ending time (default 00:00:00 for start and 23:59:59 for
40
40
the end).
41
41
42
42
main_process_gecsx.py
43
-
will run the GECSX algorithm (visibility and clutter estimation from a DEM map)
43
+
will run the GECSX algorithm (visibility and clutter estimation from a DEM map)
44
+
45
+
Caching data
46
+
---------------------------
44
47
48
+
To avoid repeating multiple http requests, such as when retrieving radiosounding or geodata, pyrad caches some files. By default the cache directory is *$HOME/pyrad_cache*. It can be overriden
49
+
by defining the environment variable $PYRAD_CACHE.
0 commit comments