Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation rules for input rasters #109

Closed
soaressgabriel opened this issue Jan 30, 2024 · 0 comments · Fixed by #111
Closed

Add validation rules for input rasters #109

soaressgabriel opened this issue Jan 30, 2024 · 0 comments · Fixed by #111
Assignees
Labels
enhancement New feature or request high High priority

Comments

@soaressgabriel
Copy link
Collaborator

soaressgabriel commented Jan 30, 2024

Description

  • The project utilizes a variety of raster datasets, each with specific data integrity requirements to ensure the quality and usability of the data for analysis and modeling;

  • Currently, there is a need for a systematic approach to validate these rasters against predefined rules to identify and rectify any data inconsistencies;

  • The specific rasters and their corresponding rules are as follows:

Solution

  • Implement a validation mechanism that checks each raster dataset against the following rules, as applicable:

    • FORBID_NO_DATA: Ensure no parts of the raster contain NO_DATA values;
    • FORBID_ALL_ZEROES: Ensure the raster does not consist entirely of zero values;
    • FORBID_ALL_ONES: Ensure the raster does not consist entirely of one values.
  • The validation should be performed automatically as part of the data processing pipeline, flagging any datasets that violate their respective rules for further investigation or correction.

Alternative solution(s)

  • N/A

Additional context

Raster FORBID_NO_DATA FORBID_ALL_ZEROES FORBID_ALL_ONES
"dem"
"clone" ✖️ ✖️
"ndvi" ✖️ ✖️
"soil" ✖️
"sample_locations" ✖️
"etp" ✖️ ✖️
"precipitation" ✖️ ✖️
"kp" ✖️ ✖️
"landuse" ✖️

Acknowledgements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant