GLIMS-RGI / rgi7_scripts

Collection of scripts used for the generation of the RGI version 7 - WIP
BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

add merged product #68

Closed pat-schmitt closed 1 year ago

pat-schmitt commented 1 year ago

In this PR I added the merged product, consisting of the following:

Some thoughts/questions:

pat-schmitt commented 1 year ago

cenlon and cenlat I should definitely add to the complex product. But what about the attributes which require a DEM (zmin_m, slope_deg ...)?

fmaussion commented 1 year ago

Fantastic! Code for lon lat:

    rp = shp.representative_point()

    coordinates = np.array(list(rp.apply(xy_coord)))
    shp['CenLon'] = coordinates[:, 0]
    shp['CenLat'] = coordinates[:, 1]
pat-schmitt commented 1 year ago

Ok, just added cenlon and cenlat.