Skip to content

fix: make variables a repeat query params instead of comma separated - #1987

Merged
slesaad merged 2 commits into
mainfrom
fix/variables-into-url
Jun 2, 2026
Merged

slesaad merged 2 commits into
mainfrom
fix/variables-into-url

Conversation

@slesaad

@slesaad slesaad commented May 11, 2026

Copy link
Copy Markdown
Member

Description

titiler-cmr expects variables to be a repeat param instead of comma separated

@netlify

netlify Bot commented May 11, 2026

Copy link
Copy Markdown

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 2e303ff
🔍 Latest deploy log https://app.netlify.com/projects/veda-ui/deploys/6a0348b68232c10009a06595
😎 Deploy Preview https://deploy-preview-1987--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@slesaad slesaad changed the title fix: make variable a repeat query params instead of comma separated fix: make variables a repeat query params instead of comma separated May 12, 2026
@slesaad
slesaad marked this pull request as ready for review May 12, 2026 15:44
@slesaad
slesaad requested a review from dzole0311 May 12, 2026 15:45

@dzole0311 dzole0311 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested using the daily MiCASA dataset with the following sourceParams:

    sourceParams:
      concept_id: C3273639213-GES_DISC
      backend: xarray
      variables:
      - NPP
      - Rh
      expression: b1/b2

Tiles render correctly with variables=NPP&variables=Rh (repeat params) on the PR branch.

Image

Note: when passing multiple variables, an expression is required (titiler-cmr returns a 500 without one since it can't colormap a multi-band array directly).

@slesaad
slesaad merged commit 680c4e0 into main Jun 2, 2026
17 checks passed
@slesaad
slesaad deleted the fix/variables-into-url branch June 2, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants