Skip to content

Commit

Permalink
ECC-1801: GRIB2: Issue with post metadata hook for DestinE
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Apr 17, 2024
1 parent c30b50f commit 578f2a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion definitions/grib2/post_meta_data.hook.products_12.def
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
4 changes: 4 additions & 0 deletions tests/grib_ecc-1691.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 578f2a6

Please sign in to comment.