Skip to content

_set_desired_longitude_range forces materialization in open_grid #1792

Closed

Description

@cmdupuis3

_set_desired_longitude_range does if da.max() > 180 on a lazy reduction, which forces materialization three times (node_lon, edge_lon, face_lon). Re-fires on every Grid construction, so every isel and every copy() pays it again.

Basically, we need the da.max > 180 to be made lazy if we want the Grid constructor to be lazy end-to-end.

Metadata

Metadata

Assignees

Labels

scalabilityRelated to scalability & performance efforts

Type

No type

Fields

Priority

Medium

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions