Hello everyone,
For my thesis, I am trying to load MODIS level 2 data using the modis_l2 reader, but somehow satpy seems unable to use both this reader as well as the modis_l1b reader.
The code I am working with (in PyCharm with Python 3.10) looks like this:
----------------------------------------------------------
modis_file = ["E:/BA_Thesis/MODIS_data
/MOD06_L2.A2021299.1620.061.2021300211624.hdf"]
modis = {"modis_l2" : modis_file}
mod02_scn = Scene(filenames=modis, reader='modis_l2')
-----------------------------------------------------------
Then the following error shows up:
-----------------------------------------------------------
INFO:satpy.readers:Cannot use ['E:\\BA_Thesis\\\\venv\\Lib\\site-packages\\satpy\\etc\\readers\\modis_l2.yaml']
WARNING:satpy.readers:Don't know how to open the following files: {'E:/BA_Thesis/MODIS_data/MOD06_L2.A2021299.1620.061.2021300211624.hdf'}
ValueError: No supported files found
-----------------------------------------------------------
When I check the available readers using available_readers() neither the modis_l2 nor the modis_l1b readers show up. Does anyone know, why satpy might be unable to use the corresponding .yaml files? Do I have to add the readers manually?
Any help is greatly appreciated!
Jasper