oggm.tasks.rgi7g_to_complex#
- oggm.tasks.rgi7g_to_complex(gdir, rgi7g_file=None, rgi7c_to_g_links=None)[source]#
Adds the individual glacier outlines to this glacier complex gdir.
Also adds a mask to gridded_data.nc with number indicating the respective subentity index in the shapefile (-1 means no glacier).
- Parameters:
- gdir
oggm.GlacierDirectory
object the glacier directory to process
- rgi7g_filegpd.GeoDataFrame
the RGI7G file to extract the outlines from (we can read it from disk but if you give it, this may faster for large number of glaciers)
- rgi7c_to_g_linksgpd.GeoDataFrame
the RGI7G file to extract the outlines from (we can read it from disk but if you give it, this may faster for large number of glaciers)
- gdir
Notes
- Files written to the glacier directory:
- complex_sub_entities.shp
The outlines of this glacier complex sub-entities (for RGI7C only!).
- gridded_data.nc
A netcdf file containing several gridded data variables such as topography, the glacier masks, the interpolated 2D glacier bed, and more. This is for static, non time-dependant data.