dmr-dj / pyKoeppen

Apache License 2.0
2 stars 0 forks source link

Missing dependencies in koeppen_geiger.py (progressbar and lcm_utils) #1

Open jypeter opened 6 months ago

jypeter commented 6 months ago

@dmr-dj the koeppen_geiger.py scripts requires two external scripts or modules that are not supplied in your GH page: progressbar and lcm_utils

The script currently breaks when it reaches the following lines:

import progressbar as PB
import lcm_utils as lu

I guess that the missing requirements are probably available in the local directory specified in

path_to_module = "/tertiaire/backup/014_lsce3027-2020-06-25/Soft-Devel/scripts/python"

sys.path.append(path_to_module)
path_to_module = "/tertiaire/backup/014_lsce3027-2020-06-25/Soft-Devel/scripts/python/python-progressbar"
sys.path.append(path_to_module)

People can probably replace the progress bar with tqdm, but they really need a way to download lcm_utils

dmr-dj commented 6 months ago

That's correct. lcm_utils is available there: https://github.com/dmr-dj/lcm_utils

jypeter commented 6 months ago

Thanks!

We did not find this in the Overview page, but we should have looked at the Repositories page instead. You can probably add a comment about this dependency in the script