Skip to content
Merged
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
54 changes: 32 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 65 additions & 0 deletions src/resolvers/__tests__/citation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ describe('Citation', () => {
}
}
scienceKeywords
ummMetadata
userId
}
}
Expand Down Expand Up @@ -284,6 +285,70 @@ describe('Citation', () => {
variableLevel1: 'ENVIRONMENTAL IMPACTS'
}
],
ummMetadata: {
Abstract: 'The global pandemic caused by the coronavirus disease 2019 (COVID-19) led to never-before-seen reductions in urban and industrial activities, along with associated emissions to the environment. This has created an unprecedented opportunity to study atmospheric composition in the absence of its usual drivers. We have combined surface-level nitrogen dioxide (NO2) observations from air quality monitoring stations across the globe with satellite measurements and machine learning techniques to analyze NO2 variations from the initial strict lockdowns through the restrictions that continued into fall 2020. Our analysis shows that the restrictions led to significant decreases in NO2 concentrations globally through 2020.',
CitationMetadata: {
Author: [
{
Family: 'Keller',
Given: 'Christoph A.',
ORCID: '0000-0003-2541-6634',
Sequence: 'first'
},
{
Family: 'Knowland',
Given: 'K. Emma',
ORCID: '0000-0002-6194-7454',
Sequence: 'additional'
}
],
Container: 'Journal of Geophysical Research: Atmospheres',
Number: '20',
Pages: 'e2021JD034797',
Publisher: 'American Geophysical Union',
Title: 'Global Impact of COVID-19 Restrictions on the Atmospheric Concentrations of Nitrogen Dioxide and Ozone',
Type: 'journal-article',
Volume: '126',
Year: 2021
},
Identifier: '10.1029/2021JD034797',
IdentifierType: 'DOI',
MetadataSpecification: {
Name: 'Citation',
URL: 'https://cdn.earthdata.nasa.gov/generics/citation/v1.0.0',
Version: '1.0.0'
},
Name: 'Citation-Name',
RelatedIdentifiers: [
{
RelatedIdentifier: '10.5067/MODIS/MOD08_M3.061',
RelatedIdentifierType: 'DOI',
RelatedResolutionAuthority: 'https://doi.org',
RelationshipType: 'Cites'
},
{
RelatedIdentifier: '10.5067/MEASURES/AEROSOLS/DATA203',
RelatedIdentifierType: 'DOI',
RelatedResolutionAuthority: 'https://doi.org',
RelationshipType: 'Refers'
}
],
ResolutionAuthority: 'https://doi.org',
ScienceKeywords: [
{
Category: 'EARTH SCIENCE',
Term: 'AIR QUALITY',
Topic: 'ATMOSPHERE',
VariableLevel1: 'NITROGEN DIOXIDE'
},
{
Category: 'EARTH SCIENCE',
Term: 'PUBLIC HEALTH',
Topic: 'HUMAN DIMENSIONS',
VariableLevel1: 'ENVIRONMENTAL IMPACTS'
}
]
},
userId: 'EDSC'
}
]
Expand Down
3 changes: 3 additions & 0 deletions src/types/citation.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ type Citation {
"GCMD science keywords"
scienceKeywords: JSON

"Raw UMM Metadata of the Citation Record."
ummMetadata: JSON

"Id of the user who modified/published record"
userId: String
}
Expand Down
1 change: 1 addition & 0 deletions src/utils/umm/citationKeyMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"revisionDate": "meta.revision-date",
"revisionId": "meta.revision-id",
"scienceKeywords": "umm.ScienceKeywords",
"ummMetadata": "umm",
"userId": "meta.user-id"
}
}