Skip to content

Commit

Permalink
Adding files for CAFE's custom metadata blocks
Browse files Browse the repository at this point in the history
See #232 for more info
  • Loading branch information
jggautier committed Nov 1, 2023
1 parent 9247980 commit f265d75
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 0 deletions.
49 changes: 49 additions & 0 deletions metadatablocks/customCAFEDataLocation.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
metadatablock.name=customCAFEDataLocation
metadatablock.displayName=Metadata About Data Location
metadatablock.displayFacet=CAFE
datasetfieldtype.cafeGeospatialFileType.title=Geospatial File Type
datasetfieldtype.cafeSpatialReferenceSystem.title=Spatial Reference System Name
datasetfieldtype.cafeSpatialReferenceSystemName.title=Name
datasetfieldtype.cafeSpatialReferenceSystemURL.title=URL
datasetfieldtype.cafeSpatialFileType.title=Spatial File Type
datasetfieldtype.cafeSpatialFileTypeOther.title=Other Spatial File Type
datasetfieldtype.cafeSpatialResolution.title=Spatial Resolution
datasetfieldtype.cafeSpatialResolutionValue.title=Value
datasetfieldtype.cafeSpatialResolutionUnit.title=Unit
datasetfieldtype.cafeSpatialResolutionUnitOther.title=Other Unit
datasetfieldtype.cafeGeospatialFileType.description=Indicates if the deposited data is geospatial (e.g. raster or vector file)
datasetfieldtype.cafeSpatialReferenceSystem.description=Information about the coordinate reference system (CRS) of the data
datasetfieldtype.cafeSpatialReferenceSystemName.description=The name of the coordinate reference system (CRS) used in the deposited data
datasetfieldtype.cafeSpatialReferenceSystemURL.description=The link to the website with the full coordinate reference system (CRS) information, e.g. https://spatialreference.org/ref/esri/102003/html/
datasetfieldtype.cafeSpatialFileType.description=The file type of the geospatial data
datasetfieldtype.cafeSpatialFileTypeOther.description=The file type of the geospatial data
datasetfieldtype.cafeSpatialResolution.description=The spatial resolution of the raster data
datasetfieldtype.cafeSpatialResolutionValue.description=The number value indicating the horizontal grid spacing of the raster data (e.g. "30" for 30 meter x 30 meter gridded data)
datasetfieldtype.cafeSpatialResolutionUnit.description=The unit for the resolution of the gridded data
datasetfieldtype.cafeSpatialResolutionUnitOther.description=The unit for the resolution of the gridded data
datasetfieldtype.cafeGeospatialFileType.watermark=
datasetfieldtype.cafeSpatialReferenceSystem.watermark=
datasetfieldtype.cafeSpatialReferenceSystemName.watermark=
datasetfieldtype.cafeSpatialReferenceSystemURL.watermark=https://
datasetfieldtype.cafeSpatialFileType.watermark=
datasetfieldtype.cafeSpatialFileTypeOther.watermark=
datasetfieldtype.cafeSpatialResolution.watermark=
datasetfieldtype.cafeSpatialResolutionValue.watermark=
datasetfieldtype.cafeSpatialResolutionUnit.watermark=
datasetfieldtype.cafeSpatialResolutionUnitOther.watermark=
controlledvocabulary.cafeGeospatialFileType.yes=Yes
controlledvocabulary.cafeGeospatialFileType.no=No
controlledvocabulary.cafeSpatialFileType.vector:_points=Vector: Points
controlledvocabulary.cafeSpatialFileType.vector:_polygons=Vector: Polygons
controlledvocabulary.cafeSpatialFileType.vector:_lines=Vector: Lines
controlledvocabulary.cafeSpatialFileType.raster:_single_band=Raster: Single-band
controlledvocabulary.cafeSpatialFileType.raster:_multi_band=Raster: Multi-band
controlledvocabulary.cafeSpatialFileType.other_specify=Other (specify)
controlledvocabulary.cafeSpatialResolutionUnit.decimal_degrees=Decimal-degrees
controlledvocabulary.cafeSpatialResolutionUnit.degrees_minutes_seconds=Degrees-minutes-seconds
controlledvocabulary.cafeSpatialResolutionUnit.centimeters=Centimeters
controlledvocabulary.cafeSpatialResolutionUnit.meters=Meters
controlledvocabulary.cafeSpatialResolutionUnit.kilometers=Kilometers
controlledvocabulary.cafeSpatialResolutionUnit.feet=Feet
controlledvocabulary.cafeSpatialResolutionUnit.miles=Miles
controlledvocabulary.cafeSpatialResolutionUnit.other_specify=Other (specify)
30 changes: 30 additions & 0 deletions metadatablocks/customCAFEDataLocation.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#metadataBlock name dataverseAlias displayName blockURI
customCAFEDataLocation CAFE Metadata About Data Location
#datasetField name title description watermark fieldType displayOrder displayFormat advancedSearchField allowControlledVocabulary allowmultiples facetable displayoncreate required parent metadatablock_id termURI
cafeGeospatialFileType Geospatial File Type Indicates if the deposited data is geospatial (e.g. raster or vector file) text 0 FALSE TRUE FALSE FALSE TRUE TRUE customCAFEDataLocation
cafeSpatialReferenceSystem Spatial Reference System Name Information about the coordinate reference system (CRS) of the data none 1 ; FALSE FALSE FALSE FALSE TRUE FALSE customCAFEDataLocation
cafeSpatialReferenceSystemName Name The name of the coordinate reference system (CRS) used in the deposited data text 2 #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSpatialReferenceSystem customCAFEDataLocation
cafeSpatialReferenceSystemURL URL The link to the website with the full coordinate reference system (CRS) information, e.g. https://spatialreference.org/ref/esri/102003/html/ https:// url 3 #NAME: <a href="#VALUE" target="_blank">#VALUE</a> FALSE FALSE FALSE FALSE TRUE FALSE cafeSpatialReferenceSystem customCAFEDataLocation
cafeSpatialFileType Spatial File Type The file type of the geospatial data text 4 #VALUE TRUE TRUE FALSE TRUE TRUE FALSE customCAFEDataLocation
cafeSpatialFileTypeOther Other Spatial File Type The file type of the geospatial data text 5 #VALUE FALSE FALSE FALSE FALSE TRUE FALSE customCAFEDataLocation
cafeSpatialResolution Spatial Resolution The spatial resolution of the raster data none 6 ; FALSE FALSE FALSE FALSE TRUE FALSE customCAFEDataLocation
cafeSpatialResolutionValue Value The number value indicating the horizontal grid spacing of the raster data (e.g. "30" for 30 meter x 30 meter gridded data) float 7 #NAME: #VALUE TRUE FALSE FALSE TRUE TRUE FALSE cafeSpatialResolution customCAFEDataLocation
cafeSpatialResolutionUnit Unit The unit for the resolution of the gridded data text 8 #NAME: #VALUE TRUE TRUE FALSE TRUE TRUE FALSE cafeSpatialResolution customCAFEDataLocation
cafeSpatialResolutionUnitOther Other Unit The unit for the resolution of the gridded data text 9 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSpatialResolution customCAFEDataLocation
#controlledVocabulary DatasetField Value identifier displayOrder
cafeGeospatialFileType Yes 0
cafeGeospatialFileType No 1
cafeSpatialFileType Vector: Points 0
cafeSpatialFileType Vector: Polygons 1
cafeSpatialFileType Vector: Lines 2
cafeSpatialFileType Raster: Single-band 3
cafeSpatialFileType Raster: Multi-band 4
cafeSpatialFileType Other (specify) 5
cafeSpatialResolutionUnit Decimal-degrees 0
cafeSpatialResolutionUnit Degrees-minutes-seconds 1
cafeSpatialResolutionUnit Centimeters 2
cafeSpatialResolutionUnit Meters 3
cafeSpatialResolutionUnit Kilometers 4
cafeSpatialResolutionUnit Feet 5
cafeSpatialResolutionUnit Miles 6
cafeSpatialResolutionUnit Other (specify) 7
83 changes: 83 additions & 0 deletions metadatablocks/customCAFEDataSources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
metadatablock.name=customCAFEDataSources
metadatablock.displayName=Metadata About Data Sources
metadatablock.displayFacet=CAFE
datasetfieldtype.cafeDerivedFromExistingDataset.title=Derived from Another Dataset
datasetfieldtype.cafeSourceData.title=Source Data
datasetfieldtype.cafeSourceDataTitle.title=Title
datasetfieldtype.cafeSourceDataAuthor.title=Author
datasetfieldtype.cafeSourceDataInstitution.title=Institution
datasetfieldtype.cafeSourceDataVersionNumber.title=Version Number
datasetfieldtype.cafeSourceDataDOIOrURL.title=DOI or URL
datasetfieldtype.cafeSourceDataLastModifiedDate.title=Last Modified Date
datasetfieldtype.cafeSourceDataDateObtained.title=Date Obtained
datasetfieldtype.cafeSourceDataType.title=Type
datasetfieldtype.cafeSourceDataTypeOther.title=Other type
datasetfieldtype.cafeSourceDataSpatialResolution.title=Spatial Resolution
datasetfieldtype.cafeSourceDataSpatialResolutionUnits.title=Spatial Resolution Units
datasetfieldtype.cafeSourceDataSpatialResolutionUnitsOther.title=Other Spatial Resolution Units
datasetfieldtype.cafeSourceDataTimestep.title=Timestep
datasetfieldtype.cafeSourceDataTimestepOther.title=Other Timestep
datasetfieldtype.cafeSourceDataAttribution.title=Attribution
datasetfieldtype.cafeSourceDataDisclaimer.title=Disclaimer
datasetfieldtype.cafeDerivedFromExistingDataset.description=Indicates if this Dataset is derived from another dataset, such as a climate model
datasetfieldtype.cafeSourceData.description=The source dataset from which this Dataset is derived
datasetfieldtype.cafeSourceDataTitle.description=The name or title of the source dataset from this Dataset is derived
datasetfieldtype.cafeSourceDataAuthor.description=The author of the source dataset
datasetfieldtype.cafeSourceDataInstitution.description=The institution or organization at which the source dataset was created, e.g. NASA
datasetfieldtype.cafeSourceDataVersionNumber.description=The version number of the source data
datasetfieldtype.cafeSourceDataDOIOrURL.description=The unique identifier or web URL to the source dataset
datasetfieldtype.cafeSourceDataLastModifiedDate.description=The date on which the source dataset was last modified, as used in the derivation of this Dataset
datasetfieldtype.cafeSourceDataDateObtained.description=The date when this Dataset's depositor obtained the source dataset
datasetfieldtype.cafeSourceDataType.description=A broad categorization of the source data by method of data creation
datasetfieldtype.cafeSourceDataTypeOther.description=A broad categorization of the source data by method of data creation
datasetfieldtype.cafeSourceDataSpatialResolution.description=The horizontal grid spacing of the source data as a number with no unit
datasetfieldtype.cafeSourceDataSpatialResolutionUnits.description=The unit of the Spatial Resolution
datasetfieldtype.cafeSourceDataSpatialResolutionUnitsOther.description=The unit of the Spatial Resolution
datasetfieldtype.cafeSourceDataTimestep.description=The temporal frequency of data in the source dataset
datasetfieldtype.cafeSourceDataTimestepOther.description=The temporal frequency of data in the source dataset
datasetfieldtype.cafeSourceDataAttribution.description=Bibliographic reference(s) to the source data, which are typically included in the terms of use
datasetfieldtype.cafeSourceDataDisclaimer.description=Disclaimer text provided by the source dataset creators
datasetfieldtype.cafeDerivedFromExistingDataset.watermark=
datasetfieldtype.cafeSourceData.watermark=
datasetfieldtype.cafeSourceDataTitle.watermark=
datasetfieldtype.cafeSourceDataAuthor.watermark=
datasetfieldtype.cafeSourceDataInstitution.watermark=
datasetfieldtype.cafeSourceDataVersionNumber.watermark=
datasetfieldtype.cafeSourceDataDOIOrURL.watermark=https://
datasetfieldtype.cafeSourceDataLastModifiedDate.watermark=
datasetfieldtype.cafeSourceDataDateObtained.watermark=
datasetfieldtype.cafeSourceDataType.watermark=
datasetfieldtype.cafeSourceDataTypeOther.watermark=
datasetfieldtype.cafeSourceDataSpatialResolution.watermark=
datasetfieldtype.cafeSourceDataSpatialResolutionUnits.watermark=
datasetfieldtype.cafeSourceDataSpatialResolutionUnitsOther.watermark=
datasetfieldtype.cafeSourceDataTimestep.watermark=
datasetfieldtype.cafeSourceDataTimestepOther.watermark=
datasetfieldtype.cafeSourceDataAttribution.watermark=
datasetfieldtype.cafeSourceDataDisclaimer.watermark=
controlledvocabulary.cafeDerivedFromExistingDataset.yes=Yes
controlledvocabulary.cafeDerivedFromExistingDataset.no=No
controlledvocabulary.cafeSourceDataType.physical_or_dynamical_model=Physical or dynamical model
controlledvocabulary.cafeSourceDataType.statistical_model=Statistical model
controlledvocabulary.cafeSourceDataType.reanalysis_data=Reanalysis data
controlledvocabulary.cafeSourceDataType.satellite_remote_sensing_data=Satellite remote sensing data
controlledvocabulary.cafeSourceDataType.observational_data_incl._wx_stations_and_aq_monitors=Observational data (incl. wx stations and AQ monitors)
controlledvocabulary.cafeSourceDataType.experimental_data=Experimental data
controlledvocabulary.cafeSourceDataType.survey_data=Survey data
controlledvocabulary.cafeSourceDataType.interview_or_other_qualitative_data=Interview or other qualitative data
controlledvocabulary.cafeSourceDataType.other_specify=Other (specify)
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.degrees_@=Degrees (˚)
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.kilometers_km=Kilometers (km)
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.meters_m=Meters (m)
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.point_based_locations=Point-based locations
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.not_applicable=Not applicable
controlledvocabulary.cafeSourceDataSpatialResolutionUnits.other_specify=Other (specify)
controlledvocabulary.cafeSourceDataTimestep.hourly=Hourly
controlledvocabulary.cafeSourceDataTimestep.3_hourly=3-hourly
controlledvocabulary.cafeSourceDataTimestep.6_hourly=6-hourly
controlledvocabulary.cafeSourceDataTimestep.12_hourly=12-hourly
controlledvocabulary.cafeSourceDataTimestep.daily=Daily
controlledvocabulary.cafeSourceDataTimestep.monthly=Monthly
controlledvocabulary.cafeSourceDataTimestep.annual=Annual
controlledvocabulary.cafeSourceDataTimestep.time_invariant__na=Time-Invariant / NA
controlledvocabulary.cafeSourceDataTimestep.other_specify=Other (specify)
48 changes: 48 additions & 0 deletions metadatablocks/customCAFEDataSources.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#metadataBlock name dataverseAlias displayName blockURI
customCAFEDataSources CAFE Metadata About Data Sources
#datasetField name title description watermark fieldType displayOrder displayFormat advancedSearchField allowControlledVocabulary allowmultiples facetable displayoncreate required parent metadatablock_id termURI
cafeDerivedFromExistingDataset Derived from Another Dataset Indicates if this Dataset is derived from another dataset, such as a climate model text 0 FALSE TRUE FALSE TRUE TRUE TRUE customCAFEDataSources
cafeSourceData Source Data The source dataset from which this Dataset is derived none 1 ; FALSE FALSE TRUE FALSE TRUE FALSE customCAFEDataSources
cafeSourceDataTitle Title The name or title of the source dataset from this Dataset is derived text 2 #NAME: #VALUE TRUE FALSE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataAuthor Author The author of the source dataset text 3 #NAME: #VALUE TRUE FALSE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataInstitution Institution The institution or organization at which the source dataset was created, e.g. NASA text 4 #NAME: #VALUE TRUE FALSE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataVersionNumber Version Number The version number of the source data text 5 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
cafeSourceDataDOIOrURL DOI or URL The unique identifier or web URL to the source dataset https:// url 6 #NAME: <a href="#VALUE" target="_blank">#VALUE</a> TRUE FALSE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataLastModifiedDate Last Modified Date The date on which the source dataset was last modified, as used in the derivation of this Dataset date 7 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
cafeSourceDataDateObtained Date Obtained The date when this Dataset's depositor obtained the source dataset date 8 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataType Type A broad categorization of the source data by method of data creation text 9 #NAME: #VALUE TRUE TRUE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataTypeOther Other type A broad categorization of the source data by method of data creation text 10 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
cafeSourceDataSpatialResolution Spatial Resolution The horizontal grid spacing of the source data as a number with no unit float 11 #NAME: #VALUE TRUE FALSE FALSE FALSE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataSpatialResolutionUnits Spatial Resolution Units The unit of the Spatial Resolution text 12 #NAME: #VALUE TRUE TRUE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataSpatialResolutionUnitsOther Other Spatial Resolution Units The unit of the Spatial Resolution text 13 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
cafeSourceDataTimestep Timestep The temporal frequency of data in the source dataset text 14 #NAME: #VALUE TRUE TRUE FALSE TRUE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataTimestepOther Other Timestep The temporal frequency of data in the source dataset text 15 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
cafeSourceDataAttribution Attribution Bibliographic reference(s) to the source data, which are typically included in the terms of use textbox 16 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE TRUE cafeSourceData customCAFEDataSources
cafeSourceDataDisclaimer Disclaimer Disclaimer text provided by the source dataset creators textbox 17 #NAME: #VALUE FALSE FALSE FALSE FALSE TRUE FALSE cafeSourceData customCAFEDataSources
#controlledVocabulary DatasetField Value identifier displayOrder
cafeDerivedFromExistingDataset Yes 0
cafeDerivedFromExistingDataset No 1
cafeSourceDataType Physical or dynamical model 0
cafeSourceDataType Statistical model 1
cafeSourceDataType Reanalysis data 2
cafeSourceDataType Satellite remote sensing data 3
cafeSourceDataType Observational data (incl. wx stations and AQ monitors) 4
cafeSourceDataType Experimental data 5
cafeSourceDataType Survey data 6
cafeSourceDataType Interview or other qualitative data 7
cafeSourceDataType Other (specify) 8
cafeSourceDataSpatialResolutionUnits Degrees (˚) 0
cafeSourceDataSpatialResolutionUnits Kilometers (km) 1
cafeSourceDataSpatialResolutionUnits Meters (m) 2
cafeSourceDataSpatialResolutionUnits Point-based locations 3
cafeSourceDataSpatialResolutionUnits Not applicable 4
cafeSourceDataSpatialResolutionUnits Other (specify) 5
cafeSourceDataTimestep Hourly 0
cafeSourceDataTimestep 3-hourly 1
cafeSourceDataTimestep 6-hourly 2
cafeSourceDataTimestep 12-hourly 3
cafeSourceDataTimestep Daily 4
cafeSourceDataTimestep Monthly 5
cafeSourceDataTimestep Annual 6
cafeSourceDataTimestep Time-Invariant / NA 7
cafeSourceDataTimestep Other (specify) 8

0 comments on commit f265d75

Please sign in to comment.