satpy
satpy copied to clipboard
Seviri L2 BUFR reader fails to read RSS Regional Instability Index and Atmospheric Motion Vectors
Describe the bug When loading a scene, giving SEVIRI BUFR filenames should work with the seviri_l2_bufr loader. Instead, it returns that it does not know how to load Regional Instability Index and Atmospheric Motion Vector BUFR files.
To Reproduce
from satpy import Scene
filenames = {}
filenames["seviri_l2_bufr"] = ["MSG3-SEVI-MSGRIIE-0101-0101-20200103134000.000000000Z-20200103134553-4732122.bfr", "MSG3-SEVI-MSGAMVE-0100-0100-20200101181500.000000000Z-20200101182035-4732126.bfr"]
scene = Scene(filenames=filenames)
Expected behavior The BUFR files are loaded and can be interacted with, the same as the cloud mask product or other seviri files.
Actual results Text output of actual results or error messages including full tracebacks if applicable.
[DEBUG: 2021-07-19 15:33:59 : satpy.readers.yaml_reader] Reading ('/home/jacob/anaconda3/envs/sat/lib/python3.9/site-packages/satpy/etc/readers/seviri_l2_bufr.yaml',)
[INFO: 2021-07-19 15:34:00 : gribapi.bindings] ecCodes library found using name 'eccodes'.
[WARNING: 2021-07-19 15:34:00 : satpy.readers.yaml_reader] No filenames found for reader: seviri_l2_bufr
[WARNING: 2021-07-19 15:34:00 : satpy.readers] Don't know how to open the following files: {'/run/media/jacob/T7/EUMETSAT/MSG3-SEVI-MSGAMVE-0100-0100-20200101181500.000000000Z-20200101182035-4732126.bfr', '/run/media/jacob/T7/EUMETSAT/MSG3-SEVI-MSGRIIE-0101-0101-20200103134000.000000000Z-20200103134553-4732122.bfr'}
Traceback (most recent call last):
File "/home/jacob/Development/satflow/satflow/examples/derived_products.py", line 13, in <module>
scene = Scene(filenames=filenames)
File "/home/jacob/anaconda3/envs/sat/lib/python3.9/site-packages/satpy/scene.py", line 108, in __init__
self._readers = self._create_reader_instances(filenames=filenames,
File "/home/jacob/anaconda3/envs/sat/lib/python3.9/site-packages/satpy/scene.py", line 157, in _create_reader_instances
return load_readers(filenames=filenames,
File "/home/jacob/anaconda3/envs/sat/lib/python3.9/site-packages/satpy/readers/__init__.py", line 506, in load_readers
raise ValueError("No supported files found")
ValueError: No supported files found
Screenshots If applicable, add screenshots to help explain your problem.
Environment Info:
- OS: Linux - Manjaro
- Satpy Version: 0.29.0
- PyResample Version: 1.20.0
- Readers and writers dependencies (when relevant):
Readers
=======
INFO:gribapi.bindings:ecCodes library found using name 'eccodes'.
seviri_l1b_hrit: ok
seviri_l1b_icare: cannot find module 'satpy.readers.seviri_l1b_icare' (No module named 'pyhdf')
seviri_l1b_native: ok
seviri_l1b_nc: ok
seviri_l2_bufr: ok
seviri_l2_grib: ok
Extras
======
cartopy: No module named 'cartopy'
geoviews: No module named 'geoviews'
Additional context I did this in a fresh conda environment with just satpy and eccodes installed.
From poking around, it seems that possibly the Regional Instability Index files could be added with just a change to here? https://github.com/sfinkens/satpy/blob/e62eb9d60add9e5c1bb4ee1074bf189b5dcd099b/satpy/etc/readers/seviri_l2_bufr.yaml#L29-L34
Hi @jacobbieker , thanks for reporting this issue. Let me ping the people who know about this stuff, they will probably have better answers than me.
@ColinDuff @strandgren
Hi @jacobbieker . The reader hasnt been configured to read AMV Bufr and RII products yet. Our AMV product specialist has been looking into this already RII we can have a look at.
Colin
Okay, thanks!
Hi!
Is there an update how to read AMV with satpy?
hi, @matzech @manucarran just opened a pull request for AMV L2 support https://github.com/pytroll/satpy/pull/2207