nasa / nasa/Common-Metadata-Repository
Adding the ability to filter granules with cycle and pass range parameters
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 397
- Forks
- 108
- Avg merge
- 3d 14m
- Merged PRs (30d)
- 13
Description
I am querying granules with the polygon parameter for a selected area. For SWOT science data, the cycle, pass and scene values of a granule have a valid range for users that work with the SWODLR backend. I would like to be able to filter out granules with my graphql query as opposed to filtering client side on the frontend. Adding these features would fix a bug in the SWODLR-UI application and speed up the spatial search time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the GraphQL granule query shown in the issue and trace how polygon filtering reaches the CMR search implementation. Compare the SWODLR cycle and pass range requirements with the existing granule filter entry points. Done means the API accepts those range parameters and filters granules server-side, with spatial search behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, graphql
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100