Issues/3: Prep for production readiness review #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Github Issue: #3
Prepare net2cog for production
Overview of work done
Updated error handling and test cases
Overview of verification done
Updated unit tests and ensured all are passing
Overview of integration done
Ran two test queries against local harmony instance:
Test Case 1
Expectation is a successful conversion to COG
http://localhost:3000/C1234410736-POCLOUD/ogc-api-coverages/1.0.0/collections/sss_smap/coverage/rangeset?format=image%2Ftiff&forceAsync=true&maxResults=1
Result Pass ✅
Test Case 2
Expectation is an error indicating net2cog only supports a single variable at this time.
http://localhost:3000/C1234410736-POCLOUD/ogc-api-coverages/1.0.0/collections/all/coverage/rangeset?format=image%2Ftiff&forceAsync=true&maxResults=1
Result Pass ✅
PR checklist:
See Pull Request Review Checklist for pointers on reviewing this pull request