bcgov/wps

Weather Toolkit: Clip data extent prior to processing

Open

#5,338 opened on Apr 22, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (10 forks)auto 404
4RefinementGood First IssueTaskUser Requested

Repository metrics

Stars
 (65 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the task

The four panel chart plotter code currently uses the entire global/regional grib file. We could apply a mask to the data based on the latitude and longitude plus a buffer to restrict the quantity of data being processed. The latitude buffer can be pretty tight, but the longitude buffer needs to be quite wide to account for the spatial reference used by the four panel charts.

Clip data extent prior to processing 4-panel weather charts instead of using the entire global extent.

Acceptance Criteria

  • Apply latitude and longitude extent mask to RDPS and GDPS model data prior to processing charts.

Additional context

  • Currently reading in data for all latitudes and longitudes.
  • Or here

Contributor guide