We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment Harmony-in-a-box, Harmony UAT, Harmony OPS
Steps to Reproduce In UAT
Expected Result
Job result should contain at least two links: one for the png file and one for the wld file.
Actual Result
Job result only contains link to png file.
Details
The asfgdal service has been updated to stage a wld file and return it as an additional asset in the item entry for a granule: https://github.com/asfadmin/asf-harmony-gdal/blob/ea28edd81ad64f0e1a3edabed693120ab9a79113/gdal_subsetter/transform.py#L216-L228
There is a unit test that verifies the catalog returned from the service contains two items: https://github.com/asfadmin/asf-harmony-gdal/blob/ea28edd81ad64f0e1a3edabed693120ab9a79113/tests/test_transform_no_download.py#L68-L70
When running harmony locally, I was able to extract the item.json produced as output from the harmony adapter itself, which also shows the two assets:
{ "type": "Feature", "stac_version": "1.0.0-beta.2", "id": "d9874dac-59e5-424e-b346-9a6a62d2627c", "properties": { "start_datetime": "2021-04-29T21:00:00.000Z", "end_datetime": "2021-04-30T21:00:00.000Z", "datetime": null }, "geometry": {"type":"Polygon","coordinates":[[[-179.9950055,-89.9949985],[-179.9950055,89.9949979],[-179.9949983,89.9949979],[-179.9949983,-89.9949985],[-179.9950055,-89.9949985]]] }, "links": [ { "rel": "root", "href": "../catalog.json", "type": "application/json" }, { "rel": "parent", "href": "../catalog.json", "type": "application/json" } ], "assets": { "data": { "href": "s3://local-staging-bucket/public/asfdataservices/gdal-subsetter/e07cb268-1cef-4bd1-90db-25bcab327506/20210430090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1_analysed_sst_regridded.png", "type": "image/png", "title": "20210430090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1_analysed_sst_regridded.png", "roles": ["data"] }, "metadata": { "href": "s3://local-staging-bucket/public/asfdataservices/gdal-subsetter/e07cb268-1cef-4bd1-90db-25bcab327506/20210430090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1_analysed_sst_regridded.wld", "type": "text/plain", "title": "20210430090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1_analysed_sst_regridded.wld", "roles": ["metadata"] } }, "bbox": [-179.9950055,-89.9949985,-179.9949983,89.9949979], "stac_extensions": [] }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment
Harmony-in-a-box, Harmony UAT, Harmony OPS
Steps to Reproduce
In UAT
Expected Result
Job result should contain at least two links: one for the png file and one for the wld file.
Actual Result
Job result only contains link to png file.
Details
The asfgdal service has been updated to stage a wld file and return it as an additional asset in the item entry for a granule:
https://github.com/asfadmin/asf-harmony-gdal/blob/ea28edd81ad64f0e1a3edabed693120ab9a79113/gdal_subsetter/transform.py#L216-L228
There is a unit test that verifies the catalog returned from the service contains two items:
https://github.com/asfadmin/asf-harmony-gdal/blob/ea28edd81ad64f0e1a3edabed693120ab9a79113/tests/test_transform_no_download.py#L68-L70
When running harmony locally, I was able to extract the item.json produced as output from the harmony adapter itself, which also shows the two assets:
The text was updated successfully, but these errors were encountered: