You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the glacier directories are initialized from prepro level 3. This means that on top of the outlines and topo data, also the flowlines and the climate data are being downloaded, as explained here.
We should fix this to from_prepro_level=1 to avoid data duplication.
On top of this, this means that we are also downloading the glacier outlines twice: once at the beginning manually (producing a single .shp file) and in this step from OGGM, with an individual .shp file per glacier. In terms of workflow extension, it would be cleaner and simpler to stick to the OGGM workflow, since it's more automatic and friendlier to users. Here's an idea on how to implement this:
When a user wants to work in a region, initialize the gdirs by giving the RGI region ID (not the individual RGI IDs). This will download the topo data for all glaciers in that region. Since there's no climate data there, this should be quite lightweight, and that data will also be ready when later on they might want to perform regional reconstructions.
Then we can iterate through all the folders of gdirs in that region, and open all the .shp files with geopandas. This would be similar to the current workflow, but it we would need to load this from multiple files instead of a single file.
Then we can repeat the current workflow of finding the overlap of the stake coordinates with the glacier outlines.
Any comments or thoughts welcome on this!
The text was updated successfully, but these errors were encountered:
I checked the way the topographical data is retrieved, and I have a couple of comments on how to improve this.
In this line :
the glacier directories are initialized from prepro level 3. This means that on top of the outlines and topo data, also the flowlines and the climate data are being downloaded, as explained here.
We should fix this to
from_prepro_level=1
to avoid data duplication.On top of this, this means that we are also downloading the glacier outlines twice: once at the beginning manually (producing a single .shp file) and in this step from OGGM, with an individual .shp file per glacier. In terms of workflow extension, it would be cleaner and simpler to stick to the OGGM workflow, since it's more automatic and friendlier to users. Here's an idea on how to implement this:
gdirs
by giving the RGI region ID (not the individual RGI IDs). This will download the topo data for all glaciers in that region. Since there's no climate data there, this should be quite lightweight, and that data will also be ready when later on they might want to perform regional reconstructions.gdirs
in that region, and open all the .shp files with geopandas. This would be similar to the current workflow, but it we would need to load this from multiple files instead of a single file.Any comments or thoughts welcome on this!
The text was updated successfully, but these errors were encountered: