Smithsonian / dpo-voyager

DPO Voyager - 3D Explorer and Tool Suite
Apache License 2.0
164 stars 28 forks source link

Question: Behavior of Voyager with missing derivatives #275

Closed Solcany closed 2 months ago

Solcany commented 2 months ago

When a derivative corresponding to the specified 'Quality' prop is missing, how does Voyager handle this situation? Does it fall back to a default quality level, or is there error handling that comes into play?

Thank you for your time

gjcope commented 2 months ago

Hi @Solcany , it picks the closest available derivative to the desired quality, using the scheme described here: https://github.com/Smithsonian/dpo-voyager/blob/b8d21678cc5c6b68063fa790ff0f7e64ee07b937/source/client/models/DerivativeList.ts#L51

Solcany commented 2 months ago

Thank you @gjcope