Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions sharedUtils/outputFormatMaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@ export const ousFormatMapping = {

/**
* Harmony expects that output formats be provided in the form of mimetypes,
* this is a map between UMM-S values and their respective mimetypes
* this is a map between mimetypes and their respective human readable values
* TO-DO, these values will be coming from capabilites doc version 4
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same use a ticket# for those TOODS:

*/
export const harmonyFormatMapping = {
'NETCDF-4': 'application/x-netcdf4',
'NETCDF-4 (OPeNDAP URL)': 'application/x-netcdf4;profile=opendap_url',
GEOTIFF: 'image/tiff',
GIF: 'image/gif',
PNG: 'image/png',
'Shapefile+zip': 'application/shapefile+zip',
ZARR: 'application/x-zarr'
'application/x-netcdf4': 'X-NETCDF-4',
'application/netcdf4': 'NETCDF-4',
'application/x-netcdf4;profile=opendap_url': 'X-NETCDF-4 (OPeNDAP URL)',
'application/netcdf': 'NETCDF',
'application/x-hdf': 'X-HDF',
'image/tiff': 'GEOTIFF',
'image/gif': 'GIF',
'image/png': 'PNG',
'image/jpeg': 'JPEG',
'text/csv': 'CSV',
'application/shapefile+zip': 'Shapefile+zip',
'application/x-zarr': 'X-ZARR'
}
12 changes: 8 additions & 4 deletions static.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"graphQlHost": "https://graphql.earthdata.nasa.gov",
"regionHost": "https://soto.podaac.earthdatacloud.nasa.gov/fts/v1",
"opensearchRoot": "https://cmr.earthdata.nasa.gov/opensearch",
"redirectUriPath": "/urs_callback"
"redirectUriPath": "/urs_callback",
"harmonyHost": "https://harmony.earthdata.nasa.gov"
},
"sit": {
"cmrHost": "https://cmr.sit.earthdata.nasa.gov",
Expand All @@ -98,7 +99,8 @@
"graphQlHost": "https://graphql.sit.earthdata.nasa.gov",
"regionHost": "https://soto.podaac.earthdatacloud.nasa.gov/fts/v1",
"opensearchRoot": "https://cmr.sit.earthdata.nasa.gov/opensearch",
"redirectUriPath": "/urs_callback"
"redirectUriPath": "/urs_callback",
"harmonyHost": "https://harmony.sit.earthdata.nasa.gov"
},
"uat": {
"cmrHost": "https://cmr.uat.earthdata.nasa.gov",
Expand All @@ -110,7 +112,8 @@
"graphQlHost": "https://graphql.uat.earthdata.nasa.gov",
"regionHost": "https://soto.podaac.earthdatacloud.nasa.gov/fts/v1",
"opensearchRoot": "https://cmr.uat.earthdata.nasa.gov/opensearch",
"redirectUriPath": "/urs_callback"
"redirectUriPath": "/urs_callback",
"harmonyHost": "https://harmony.uat.earthdata.nasa.gov"
},
"prod": {
"cmrHost": "https://cmr.earthdata.nasa.gov",
Expand All @@ -122,7 +125,8 @@
"graphQlHost": "https://graphql.earthdata.nasa.gov",
"regionHost": "https://soto.podaac.earthdatacloud.nasa.gov/fts/v1",
"opensearchRoot": "https://cmr.earthdata.nasa.gov/opensearch",
"redirectUriPath": "/urs_callback"
"redirectUriPath": "/urs_callback",
"harmonyHost": "https://harmony.earthdata.nasa.gov"
}
},
"experiments": {}
Expand Down
Loading
Loading