-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from cedadev/esa-cci
ESA CCI file checking
- Loading branch information
Showing
14 changed files
with
490 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"field00": ["ESACCI"], | ||
"field01": ["AEROSOL","AIS","BIOMASS","CLOUD","FIRE","GHG","GHRSST","GIS","GLACIERS","HRLC","ICESHEETS","LAKES","LC","LST","OC","OZONE","PERMAFROST","RD","SEAICE","SEALEVEL","SEASTATE","SEASURFACESALINITY","SNOW","SOILMOISTURE","SST","VEGETATION","WATERVAPOUR"], | ||
"field02": ["L0","L1A","L1B","L1C","L2","L2P","L3","L3U","L3C","L3S","L4","IND"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Conventions": ["CF-1.5","CF-1.6","CF-1.7","CF-1.8","CF-1.9"], | ||
"project": "Climate Change Initiative - European Space Agency", | ||
"license": "ESA CCI Data Policy: free and open access" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
file-name-format: | ||
func: checksit.generic.check_generic_file_name | ||
params: | ||
vocab_checks: | ||
# ESACCI | ||
field00: __vocabs__:esa-cci-file-name-config:field00 | ||
# CCI Project (e.g. SEAICE) | ||
field01: __vocabs__:esa-cci-file-name-config:field01 | ||
# Processing Level (e.g. L3C) | ||
field02: __vocabs__:esa-cci-file-name-config:field02 | ||
# Data Type (e.g. SICONC): this is the 'alternative label' of those in the vocabulary | ||
# https://vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
field03: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
# Product String (e.g. NIMBUS5_ESMR-EASE2_NH) | ||
# http://vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
field04: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# Additional segregator (also stored in the 'product' vocabulary) | ||
field05: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# Date and time | ||
field06: __date__:%Y,%Y%m,%Y%m%d,%Y%m%d%H,%Y%m%d%H%M,%Y%m%d%H%M%S | ||
# File version | ||
field07: __version__:^fv\d?\d.?\d?\d?$ | ||
segregator: | ||
seg: '-' | ||
extension: | ||
ext: '.nc' | ||
spec_verbose: | ||
spec_verb: True |
30 changes: 30 additions & 0 deletions
30
specs/groups/esa-cci-v1.0/esa-cci-file-name-ghrsst-add-seg-gds.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
file-name-format: | ||
func: checksit.generic.check_generic_file_name | ||
params: | ||
vocab_checks: | ||
# Date and time | ||
field00: __date__:%Y,%Y%m,%Y%m%d,%Y%m%d%H,%Y%m%d%H%M,%Y%m%d%H%M%S | ||
# ESACCI | ||
field01: __vocabs__:esa-cci-file-name-config:field00 | ||
# Processing Level (e.g. L3C) | ||
field02: __vocabs__:esa-cci-file-name-config:field02 | ||
# CCI Project (e.g. SEAICE) | ||
field03: __vocabs__:esa-cci-file-name-config:field01 | ||
# Data Type (e.g. SICONC): this is the 'alternative label' of those in the vocabulary | ||
# https://vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
field04: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
# Product String (e.g. NIMBUS5_ESMR-EASE2_NH) | ||
# http://vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
field05: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# Additional segregator (also stored in the 'product' vocabulary) | ||
field06: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# GDS version | ||
field07: __version__:^v\d?\d.?\d?\d?$ | ||
# File version | ||
field08: __version__:^fv\d?\d.?\d?\d?$ | ||
segregator: | ||
seg: '-' | ||
extension: | ||
ext: '.nc' | ||
spec_verbose: | ||
spec_verb: True |
28 changes: 28 additions & 0 deletions
28
specs/groups/esa-cci-v1.0/esa-cci-file-name-ghrsst-add-seg.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
file-name-format: | ||
func: checksit.generic.check_generic_file_name | ||
params: | ||
vocab_checks: | ||
# Date and time | ||
field00: __date__:%Y,%Y%m,%Y%m%d,%Y%m%d%H,%Y%m%d%H%M,%Y%m%d%H%M%S | ||
# ESACCI | ||
field01: __vocabs__:esa-cci-file-name-config:field00 | ||
# Processing Level (e.g. L3C) | ||
field02: __vocabs__:esa-cci-file-name-config:field02 | ||
# CCI Project (e.g. SEAICE) | ||
field03: __vocabs__:esa-cci-file-name-config:field01 | ||
# Data Type (e.g. SICONC): this is the 'alternative label' of those in the vocabulary | ||
# https://vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
field04: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
# Product String (e.g. NIMBUS5_ESMR-EASE2_NH) | ||
# http://vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
field05: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# Additional segregator (also stored in the 'product' vocabulary) | ||
field06: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# File version | ||
field07: __version__:^fv\d?\d.?\d?\d?$ | ||
segregator: | ||
seg: '-' | ||
extension: | ||
ext: '.nc' | ||
spec_verbose: | ||
spec_verb: True |
28 changes: 28 additions & 0 deletions
28
specs/groups/esa-cci-v1.0/esa-cci-file-name-ghrsst-gds.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
file-name-format: | ||
func: checksit.generic.check_generic_file_name | ||
params: | ||
vocab_checks: | ||
# Date and time | ||
field00: __date__:%Y,%Y%m,%Y%m%d,%Y%m%d%H,%Y%m%d%H%M,%Y%m%d%H%M%S | ||
# ESACCI | ||
field01: __vocabs__:esa-cci-file-name-config:field00 | ||
# Processing Level (e.g. L3C) | ||
field02: __vocabs__:esa-cci-file-name-config:field02 | ||
# CCI Project (e.g. SEAICE) | ||
field03: __vocabs__:esa-cci-file-name-config:field01 | ||
# Data Type (e.g. SICONC): this is the 'alternative label' of those in the vocabulary | ||
# https://vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
field04: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/dataType.json | ||
# Product String (e.g. NIMBUS5_ESMR-EASE2_NH) | ||
# http://vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
field05: __URL__vocab.ceda.ac.uk/scheme/cci/cci-content/product.json | ||
# GDS version | ||
field07: __version__:^v\d?\d.?\d?\d?$ | ||
# File version | ||
field08: __version__:^fv\d?\d.?\d?\d?$ | ||
segregator: | ||
seg: '-' | ||
extension: | ||
ext: '.nc' | ||
spec_verbose: | ||
spec_verb: True |
Oops, something went wrong.