nasa / nasa/Common-Metadata-Repository

Adding the ability to filter granules with cycle and pass range parameters

Open
#2,167 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.