Skip to content

Allow ngr_spk_stac_calc() to fetch single asset without calculation #24

@NewGraphEnvironment

Description

@NewGraphEnvironment

Modify ngr_spk_stac_calc() to:

  • Allow asset_b to be NULL when only fetching a single asset
  • Allow calc parameter to be NULL to skip spectral index calculation
  • When calc = NULL, just return the asset clipped to the AOI (if provided)

This enables using the function for simple asset retrieval and clipping without requiring two bands or a calculation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions