bcgov / bcgov/wps

Weather Toolkit: Clip data extent prior to processing

Open
#5,338 1 comment 0 reactions 0 assignees View on GitHub
4Refinement Good First Issue Task User Requested
Dominant language
Python
Stars
65
Forks
11
Avg merge
1d 2h
Merged PRs (30d)
70

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

Open the contributing guide

Research direction

Locate the four-panel chart plotter and the RDPS/GDPS model-data processing paths, then inspect how latitude, longitude, and chart spatial references are handled. Done means both model datasets are masked with suitable buffered extents before chart processing, while preserving the four-panel chart coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.