# Compute CAPPI from Météo-France BUFR PPI

**URL:** <https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368>\
**Category:** Data\
**Tags:** data\
**Created:** [December 8, 2023, 9:25am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368 "2023-12-08T09:25:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fruboldi](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fruboldi](https://openradar.discourse.group/u/fruboldi)\
**Post date:** [December 8, 2023, 9:25am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368/1 "2023-12-08T09:25:49Z")

</div>

Hello, I am a newcomer in the weather radar community and I have to compute CAPPIs starting from PPIs contained in some BUFR files I obtained from Météo-France.  
I successfully used decbufr from [OPERA](https://www.eumetnet.eu/activities/observations-programme/current-activities/opera/) to decode one of these files, and I got an ASCII file, which I can read.  
Now I am studying the documentation, but I think that the computation of CAPPIs from such a file should be a pretty standard procedure.  
I’d like to know of there already is some available software to compute CAPPIs starting from such PPI files.  
Can anyone help me?

---

<div class="post-metadata">

**Author:** ![atmoboran](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@atmoboran](https://openradar.discourse.group/u/atmoboran)\
**Post date:** [December 12, 2023, 10:26am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368/2 "2023-12-12T10:26:18Z")

</div>

Hey fruboldi,

here’s a recipe, but it uses hdf5 data.

[Recipe #2: Reading and visualizing an ODIM\_H5 polar volume — wradlib](https://docs.wradlib.org/en/latest/notebooks/workflow/recipe2.html)

---

<div class="post-metadata">

**Author:** ![fruboldi](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fruboldi](https://openradar.discourse.group/u/fruboldi)\
**Post date:** [December 13, 2023, 6:35am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368/3 "2023-12-13T06:35:38Z")

</div>

Thank you! I am looking at it. At present, a problem I have is to convert from BUFR to HDF5: in principle I could use the program bufr2hdf5 from OPERA. I downloaded the compressed file with the source codes, but I was not yet able to compile it. The problem seems to be the HDF5 library version. The README file of the package “bufr\_opera\_mf” says that the (old) version of the HDF5 library needed is 1.6.x or 1.8.x. I do have 1.8.16, but it doesn’t work, the “configure” step crashes.  
**EDIT** (2 hours later)  
I could compile bufr2hdf5 (I had to provide two different paths for hdf5 includes, subdir src/ and build/).  
BUT the program bufr2hdf5 crashed! Saying “Unknown element descriptor” for many of the descriptor codes in the BUFR, even if I had (also) provided the BUFR tables I got from MeteoFrance

---

<div class="post-metadata">

**Author:** ![kmuehlbauer](https://yyz2.discourse-cdn.com/free1/user_avatar/openradar.discourse.group/kmuehlbauer/32/439_2.png) [@kmuehlbauer](https://openradar.discourse.group/u/kmuehlbauer)\
**Post date:** [December 13, 2023, 8:22am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368/4 "2023-12-13T08:22:40Z")

</div>

Hi @fruboldi,

we are aware of this issue over at xradar [implement ODIM BUFR readers · Issue #101 · openradar/xradar · GitHub](https://github.com/openradar/xradar/issues/101). Maybe we should really try to implement a BUFR reader directly in xradar instead of working around with old or outdated code.

Using `eccodes` seems the way to go. Did you have to use special Meteo-France tables? Anyway, this should be discussed at the above GitHub issue.

Best,  
Kai

---

<div class="post-metadata">

**Author:** ![fruboldi](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fruboldi](https://openradar.discourse.group/u/fruboldi)\
**Post date:** [December 13, 2023, 8:39am UTC](https://openradar.discourse.group/t/compute-cappi-from-meteo-france-bufr-ppi/368/5 "2023-12-13T08:39:58Z")

</div>

Yes, I had to use special Meteo-France tables, but this was not enough, see the EDIT above. I wrote to them.  
I will definitely go and see the issue at the link you provided, thank you!
