mirror of https://github.com/ecmwf/eccodes.git
ECC-1801: GRIB2: Issue with post metadata hook for DestinE
This commit is contained in:
parent
cc3caa2938
commit
afbd560a00
|
@ -9,6 +9,6 @@ concept destineOrigin(unknown, "destineOriginConcept.def", conceptsDir2, concept
|
||||||
unalias mars.domain;
|
unalias mars.domain;
|
||||||
|
|
||||||
# ECC-1796: stepRange indexing for DestinE ExtremesDT and On-Demand ExtremesDT data
|
# ECC-1796: stepRange indexing for DestinE ExtremesDT and On-Demand ExtremesDT data
|
||||||
if (!(dataset is "climate-dt")) {
|
if ( defined(dataset) && !(dataset is "climate-dt") ) {
|
||||||
alias mars.step=stepRange;
|
alias mars.step=stepRange;
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,5 +93,9 @@ ${tools_dir}/grib_ls -jm $temp_grib_a
|
||||||
[ $( ${tools_dir}/grib_get -f -p mars.time $temp_grib_a ) = "not_found" ]
|
[ $( ${tools_dir}/grib_get -f -p mars.time $temp_grib_a ) = "not_found" ]
|
||||||
[ $( ${tools_dir}/grib_get -f -p mars.step $temp_grib_a ) = "not_found" ]
|
[ $( ${tools_dir}/grib_get -f -p mars.step $temp_grib_a ) = "not_found" ]
|
||||||
|
|
||||||
|
# ECC-1801
|
||||||
|
${tools_dir}/grib_set -s productionStatusOfProcessedData=12 $sample_grib2 $temp_grib_a
|
||||||
|
${tools_dir}/grib_compare -b productionStatusOfProcessedData $sample_grib2 $temp_grib_a
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -f $temp_grib_a $temp_grib_b $destine_sample
|
rm -f $temp_grib_a $temp_grib_b $destine_sample
|
||||||
|
|
Loading…
Reference in New Issue