Skip to content

Commit

Permalink
GQL-88: Updates CloudCover type
Browse files Browse the repository at this point in the history
  • Loading branch information
macrouch committed Nov 12, 2024
1 parent e9bcdc0 commit 8f7da17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/resolvers/__tests__/granule.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ describe('Granule', () => {
entry: [{
boxes: [],
browse_flag: false,
cloud_cover: 25,
cloud_cover: '25.3',
collection_concept_id: 'C100000-EDSC',
coordinate_system: 'CARTESIAN',
data_center: 'Tortor Lorem',
dataset_id: 'Condimentum Ullamcorper Malesuada Sollicitudin',
day_night_flag: 'BOTH',
granule_size: 525.0454,
granule_size: '525.0454',
id: 'G100000-EDSC',
links: [],
online_access_flag: true,
Expand Down Expand Up @@ -71,7 +71,7 @@ describe('Granule', () => {
'native-id': 'test-guid'
},
umm: {
CloudCover: 25,
CloudCover: 25.3,
DataGranule: {},
GranuleUR: 'parturient-etiam-malesuada',
MeasuredParameters: {},
Expand Down Expand Up @@ -134,7 +134,7 @@ describe('Granule', () => {
boxes: [],
browseFlag: false,
collectionConceptId: 'C100000-EDSC',
cloudCover: 25,
cloudCover: 25.3,
conceptId: 'G100000-EDSC',
coordinateSystem: 'CARTESIAN',
dataCenter: 'Tortor Lorem',
Expand Down
2 changes: 1 addition & 1 deletion src/types/granule.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Granule {
"The concept id of the parent CMR collection."
collectionConceptId: String
"A percentage value indicating how much of the area of a granule (the EOSDIS data unit) has been obscured by clouds. It is worth noting that there are many different measures of cloud cover within the EOSDIS data holdings and that the cloud cover parameter that is represented in the archive is dataset-specific."
cloudCover: Int
cloudCover: Float
"The unique concept id assigned to the granule."
conceptId: String!
"Coordinate system info of the metadata."
Expand Down

0 comments on commit 8f7da17

Please sign in to comment.