Opened 7 years ago
Last modified 7 years ago
#1593 closed enhancement
band metadata in wcst_import — at Initial Version
Reported by: | Vlad Merticariu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
Currently, wcst_import only supports saving global metadata:
"metadata": {
"type": "json",
"global": {
"MarsType": "'${grib:marsType}'",
"Experiment": "'${grib:experimentVersionNumber}'"
}
}
This gets persisted in the gml:extraMetadata section of the coverage.
We need to allow the same for band-specific metadata. E.g. for a coverage having band chlor_a, we must allow:
"metadata": {
"type": "json",
"global": {
"MarsType": "'${grib:marsType}'",
"Experiment": "'${grib:experimentVersionNumber}'"
},
"chlor_a": {
"uom": "g/m3",
"Standard name": "Chlorophyll Concentration"
}
}
This information should be persisted in the same place: the extraMetdata section of the coverage. When the coverage is encoded into a format that supports band specific metadata (e.g. netcdf), the saved metadata should be encoded in each band.