-
Notifications
You must be signed in to change notification settings - Fork 19
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
Some bugs about file path after RGI dataset updated from v6 to v7 #110
Comments
I haven't been able to reproduce an error. Could you provide us with a some information? e.g. what code do you use and which error does it result in? And what OGGM version are you using? |
The version of OGGM I use is 1.6.1 and the version of python is 3.10.12. The code I use is as the following. |
Hi, the preprocessed directories you are using for RGi7 contain 9 different DEM sources:
For an overview of the different datasets see https://rgitools.readthedocs.io/en/latest/dems.html and the current default DEMs of OGGM are listed here https://docs.oggm.org/en/latest/shop.html#topography-data. Therefore you need to select one DEM before you can from oggm.shop.rgitopo import select_dem_from_dir
workflow.execute_entity_task(select_dem_from_dir, gdirs,
dem_source='NASADEM',
keep_dem_folders=False) After this you can do |
related this section of the turorials to see which DEMs are available for a specific gdir https://oggm.org/tutorials/stable/notebooks/others/rgitopo_rgi7.html#read-the-dems-and-store-them-all-in-a-dataset |
There is some error when I run the OGGM workflow after inputting the RGI version 7. For example, get_filepath("dem") went error during to dem.tif file saved as
/tmp/OGGM/OGGM-GettingStarted-10m/per_glacier/RGI2000-v7.0-G-13/RGI2000-v7.0-G-13-53/RGI2000-v7.0-G-13-53637/DEM3/dem.tif
which cannot be get the path correctly.Maybe the source code is outdated.
The text was updated successfully, but these errors were encountered: