Skip to content

Update precipitation type calculation #6

@FelixE91

Description

@FelixE91

As discussed with Maarten, we should update the INCA precip type calculation for low level snow. The current algorithm can create an incontinuity since the 2nd condition includes a topography threshold.

The suggested change here

snowMask = (topoZSDiffGrid < (-1.5 * melting_layer_thickness_m)) | ((topography_grid_m <= (1.5 * melting_layer_thickness_m)) & (topoZSDiffGrid <= 0))

go from
snowMask = (topoZSDiffGrid < (-1.5 * melting_layer_thickness_m)) | ((topography_grid_m <= (1.5 * melting_layer_thickness_m)) & (topoZSDiffGrid <= 0))
to
snowMask = topoZSDiffGrid < (-0.5 * melting_layer_thickness_m)

We will need to update some of the tests most likely.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions