bcgov / bcgov/nr-rfc-processing

Improve error messages when no granules available

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The script retrieves granules for modis imagery, sometimes the data is not available and no data gets downloaded. When that happens and the next process that attempts to mosaic the granules, an error is generated.

The code should detect this condition and provide a more informative error message like

"no granules found for the current date range... "
or
"the granule directory for the date range (directory here) doesn't contain any information"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Python script from MODIS granule retrieval to the process that mosaics the granules. Reproduce the empty-data condition for a date range, then make the failure identify that no granules were found or that the granule directory is empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.