# Help with creating a workflow for processing and export rain maps

**URL:** <https://openradar.discourse.group/t/help-with-creating-a-workflow-for-processing-and-export-rain-maps/406>\
**Category:** Data\
**Created:** [February 22, 2024, 11:56am UTC](https://openradar.discourse.group/t/help-with-creating-a-workflow-for-processing-and-export-rain-maps/406 "2024-02-22T11:56:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EROL1](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@EROL1](https://openradar.discourse.group/u/EROL1)\
**Post date:** [February 22, 2024, 11:56am UTC](https://openradar.discourse.group/t/help-with-creating-a-workflow-for-processing-and-export-rain-maps/406/1 "2024-02-22T11:56:50Z")

</div>

Hi. Newbie here. I’m trying to create a workflow for processing ODIM OPERA structured radar data, and export rain depth maps. I was thinking this, and would appreciate any comment/correction/mockery (won’t take personally, i’m completely green…). couldn’t find any notebooks that do exactly this. most notebooks examples use the german input, which is quite different from OPERA.

A general workflow for processing radar and exporting rain maps to GIS:

1. Date selector using range.  
the simple and efficient method is to use file names, which contain the dates. it might not be suitable for selecting files from different sources.  
optionally: download these files directly from API using the date selector
2. Load the database in the correct database format  
wradlib uses a plenty of data structures: multidimencional numpy arrays, dictionaries, xarrays, datatrees and datasets. each algorithm recieves a different in put. too confusing…
3. Georef the dbz  
I think I read somewhere it is essential to georef the data prior to cleaning and aggregating
4. Correct for attenuation
5. aggregate the volume do a single 2d image (cappi)  
use wradlib.vpr.CAPPI. Not sure about the product this method, but I’d like to have a 2d image of aggregated sweeps.
6. Convert to rain rate  
using palmer or different
7. convert to rain depth  
multiply by time difference (300 seconds)
8. Correct for rain gauges  
use [Adjusting radar-base rainfall estimates by rain gauge observations — wradlib](https://docs.wradlib.org/en/latest/notebooks/multisensor/gauge_adjustment.html)
9. Export to gis  
export to asc files. naming using the date and product.
