-
Notifications
You must be signed in to change notification settings - Fork 31
No module named 's5p_tools' #3
Comments
Hi there, Try with this command line: python s5p-request.py L2__O3____ --date YYmmdd1 YYmmdd2 --aoi map.geojson where YY-mm-dd1 == for e.g. 20210401 and YY-mm-dd2 ==fior e.g., 20210420 Note: The code is working now properly in my computer. Check again and let us know, I hope this helps, Cheers |
Hi, Thank you for getting back to me so quickly, I really appreciate it! I have tried the format you suggested and I still get the same error unfortunately:
My workflow is:
I was wondering if maybe I have missed a step when defining 's5p_tools' at all? Thank you again for your help. My s5p-request.py script: import argparse import numpy as np from s5p_tools import ( def main(
if name == "main":
|
I let Bilel suggest a solution to fix this problem. I believe he is the perfect person to do so since he is the developer of this tool :) |
Thank you so much for your help! :) |
Hi @LillaBW2327, did you clone the repo in your working directory before running the script? cd your/working/directory
conda activate S5P
git clone https://github.com/bilelomrani1/s5p-tools.git
python s5p-request.py L2__O3____ --date NOW-1MONTH --aoi map.geojson |
This comment has been minimized.
This comment has been minimized.
Hi @bilelomrani1 , thank you so much for your quick reply, it is greatly appreciated. My code is exactly the same as that posted above, only difference is that I have now cloned the repo. I have tried different versions of the s5p-request.py script and get the same error. (SP5) [bw43776@abics03 Documents]$ python s5p-request.py L2__O3____ --date NOW-1MONTH --aoi map.geojson |
Hi there,
|
Hi, thank you so much for your help, but I am afraid I have already tried this as a previous issue was related to not having the rioxarray package. When running for example: conda install -c conda-forge rioxarray, I get the confirmation that "All requested packages already installed". |
Hi @HichemOmr @bilelomrani1 , thank you so much for your help on this issue. The last issue I posted has been resolved, and was linked to an issue with the libnsl package and was related to my Linux system. (My issue for reference is basically the same as this: conda-forge/fiona-feedstock#138). Once I had downloaded this package separately, the script ran perfectly. Thank you again. |
Awesome !
|
(base) C:\Users\bhushan.pawar\my project\me>python s5p-request.py L2_NO2_ I am facing this error , Kindly help me to solve this |
Hello, I was wondering if I may have some guidance on an issue I have encountered when trying to use the s5p-request.py script. When trying to run the following command I get an error : "ModuleNotFoundError: No module named 's5p_tools' "
I have not altered the s5p-request.py script in anyway and have followed the recommended set up instructions for the environment in conda:
conda create --override-channels -c conda-forge -c stcorp --file requirements.txt --name SP5
Any advice would be greatly appreciated. Thank you.
Command and error:
The text was updated successfully, but these errors were encountered: