copy_layer_profiles

cosipy.modules.densification.copy_layer_profiles(GRID)[source]

Get a copy of the layer profiles.

np.array returns a copy by default and is 2x faster than np.copy (which is not supported by numba).

Parameters:

GRID (Grid) – Glacier data structure.

Returns:

Profiles for height, density, temperature, liquid water content, and ice fraction.

Return type:

tuple