NASA-IMPACT / hls-vi

0 stars 0 forks source link

Add CLI and unit tests #4

Closed chuckwondo closed 3 months ago

chuckwondo commented 3 months ago

Added CLI for 2 commands: vi_generate_indexes and vi_generate_cmr_metadata

Also added unit tests and Docker configuration for running them.

Unit test for generating metadata currently fails due to different "size in bytes" metadata values, which is related to the fact that the tif fixture files are slightly different. We also need to add a CMR fixture file for S30 (we only have one for L30 at the moment).

Unit tests for generating VI tifs pass, but only because binary comparison is currently commented out. As part of a future PR, we will recreate the tif fixture files for a new baseline comparison.