Skip to content

Commit

Permalink
DAS-1601 - Remove PNG and JPEG outputs from HGA capabilities (#636)
Browse files Browse the repository at this point in the history
* DAS-1601 - Remove PNG and GIF outputs from HGA.

---------

Co-authored-by: Chris Durbin <[email protected]>
  • Loading branch information
owenlittlejohns and chris-durbin authored Oct 10, 2024
1 parent e8fc303 commit 8e960c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ https://cmr.earthdata.nasa.gov:
description: |
Service translating Harmony operations to GDAL commands.
Supports spatial bounding box, temporal, variable, and shapefile, reprojection,
and output to NetCDF4, COG, PNG, and GIF.
and output to NetCDF4 or COG.
Operates on input file types supported by GDAL (most EOSDIS data).
Most operations assume L3 data, though it is likely that some work on L2.
data_operation_version: '0.19.0'
Expand All @@ -370,8 +370,6 @@ https://cmr.earthdata.nasa.gov:
output_formats:
- application/x-netcdf4
- image/tiff
- image/png
- image/gif
reprojection: true
steps:
- image: !Env ${QUERY_CMR_IMAGE}
Expand Down Expand Up @@ -929,7 +927,7 @@ https://cmr.uat.earthdata.nasa.gov:
description: |
Service translating Harmony operations to GDAL commands.
Supports spatial bounding box, temporal, variable, and shapefile, reprojection,
and output to NetCDF4, COG, PNG, and GIF.
and output to NetCDF4 or COG.
Operates on input file types supported by GDAL (most EOSDIS data).
Most operations assume L3 data, though it is likely that some work on L2.
data_operation_version: '0.19.0'
Expand All @@ -951,8 +949,6 @@ https://cmr.uat.earthdata.nasa.gov:
output_formats:
- application/x-netcdf4
- image/tiff
- image/png
- image/gif
reprojection: true
steps:
- image: !Env ${QUERY_CMR_IMAGE}
Expand Down
6 changes: 3 additions & 3 deletions services/harmony/test/collection-capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('Testing collection capabilities', function () {
it('sets the outputFormats field correctly', function () {
const capabilities = JSON.parse(this.res.text);
const expectedFormats = [
'application/x-netcdf4', 'image/tiff', 'image/png', 'image/gif', 'application/x-zarr',
'application/x-netcdf4', 'image/tiff', 'application/x-zarr', 'image/png', 'image/gif',
];
expect(capabilities.outputFormats).to.eql(expectedFormats);
});
Expand Down Expand Up @@ -235,7 +235,7 @@ describe('Testing collection capabilities', function () {
it('sets the outputFormats field correctly in the version 1 response', function () {
const capabilities = JSON.parse(this.res.text);
const expectedFormats = [
'application/x-netcdf4', 'image/tiff', 'image/png', 'image/gif', 'application/x-zarr',
'application/x-netcdf4', 'image/tiff', 'application/x-zarr', 'image/png', 'image/gif',
];
expect(capabilities.outputFormats).to.eql(expectedFormats);
});
Expand Down Expand Up @@ -274,4 +274,4 @@ describe('Testing collection capabilities', function () {
});
});
});
});
});

0 comments on commit 8e960c8

Please sign in to comment.