Tropomi l2 reader ValueError: No supported files found
The Tropomi l2 reader can read ’S5P_OFFL_L2__NO2____‘ files but cannot read 'S5P_RPRO_L2__NO2____' files.
satpy==0.41.1
I'm not familiar with tropomi files. Could you tell me the difference between these two types?
Thanks for your reply.
Tropomi reprocessed data(RPRO) involves applying the latest processing techniques to improve the quality of existing data, while offline data(OFFL) is processed after a certain time lag from the observation time, allowing for careful calibration and validation.
They have basically similar data composition, but I can't read the RPRO data with the same code, and I don't know how to fix this.
Your files have reduced in their names, which means the pattern defined here doesn't match. You could try creating your own local config that has the reduced in it:
- create a directory for config files and set environment variable
SATPY_CONFIG_PATH=/path/to/your/configs - under that directory, create
readerssubdirectory - copy the
satpy/etc/readers/tropomi_l2.yamlto the subdir - add a new pattern to the pattern list with the
reducedadded to the end. Now, if the internal file structures match, you should be able to read the files. If this works, please create a pull request with the change.
Thanks for your answer. It works and I have created a pull request with this change.