ECC-1801: GRIB2: Issue with post metadata hook for DestinE

This commit is contained in:
shahramn 2024-04-16 15:59:39 +01:00
parent 337e7432ae
commit bb58b93116
2 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,6 @@ concept destineOrigin(unknown, "destineOriginConcept.def", conceptsDir2, concept
unalias mars.domain;
# 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;
}

View File

@ -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.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
rm -f $temp_grib_a $temp_grib_b $destine_sample