Skip to content

Conversation

rokrak1
Copy link
Contributor

@rokrak1 rokrak1 commented Apr 25, 2024

Added propetry lowestCloudCover flyover meta data.

@zcernigoj zcernigoj self-assigned this May 20, 2024
);

// update the lowest cloud cover:
if (tiles[tileIndex].meta.cloudCoverPercent < tiles[tileIndex - 1].meta.cloudCoverPercent) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this check would be clearer if the comparison would be done against the saved value and not the value of the previous element

if (tiles[tileIndex].meta.cloudCoverPercent < flyovers[flyoverIndex].meta.lowestCloudCoverPercent) {
  ...
}

@zcernigoj zcernigoj assigned rokrak1 and unassigned zcernigoj May 20, 2024
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