Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When trying to run GRS, the program cannot find the NC file? #2

Open
shimianxian opened this issue Aug 23, 2022 · 0 comments
Open

When trying to run GRS, the program cannot find the NC file? #2

shimianxian opened this issue Aug 23, 2022 · 0 comments

Comments

@shimianxian
Copy link

shimianxian commented Aug 23, 2022

When I run the following code:
grs /home/lk/grs-master/test/data/S2B_MSIL1C_20180927T103019_N0206_R108_T31TGK_20180927T143835.SAFE --shape /home/luokai/grs-master/test/data/shape/SPO04.shp --odir /home/lk/grs-master/test/results/ --aerosol cams_forecast --dem --resolution 20
An error message appears:
FileNotFoundError: [Errno 2] No such file or directory: b'/usr/local/lib/python3.8/dist-packages/grs-1.3.2-py3.8.egg/grs/CAMS/2018/2018-09_month_cams_forecast.nc'
I've tried for many days, but I can't find a solution?
I doubt whether the configuration in config.py is incorrect.

data_root = os.path.abspath('/usr/local/lib/python3.8/dist-packages/grs-1.3.2-py3.8.egg/grs/')
tmp_dir = os.path.join(data_root,"tmp")
lut_root = os.path.join(data_root, "LUT")
cams_folder = os.path.join(data_root, "CAMS")
smac_root = os.path.join(data_root, "SMAC_COEFS")

Who can tell me how to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant