Skip to content

Commit

Permalink
Testing: Chemical src/sink
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Dec 17, 2024
1 parent 38c6ca5 commit d7f795e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions tests/grib2_chemicals_aerosols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,10 @@ ${tools_dir}/grib_dump -O -p aerosolType $temp > $temp1
grep -q "Nitrate Fine Mode .*grib2/tables/local/ecmf/1/4.233.table" $temp1
grib_check_key_equals $temp aerosolTypeName "Nitrate Fine Mode"

# Automatic PDT selection
${tools_dir}/grib_set -s paramId=403000 $sample2 $temp
grib_check_key_equals $temp productDefinitionTemplateNumber,sourceSinkChemicalPhysicalProcess '76 255'


# Clean up
rm -f $tempSample $temp $temp1
4 changes: 2 additions & 2 deletions tests/grib2_probability.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl

latest=`${tools_dir}/grib_get -p tablesVersionLatest $sample2`

# Check PDTN
# -----------
# Automatic PDT selection
# -----------------------
${tools_dir}/grib_set -s tablesVersion=$latest,paramId=131256 $sample2 $tempGribA
grib_check_key_equals $tempGribA productDefinitionTemplateNumber,shortName,probabilityType '5 10cogug25 3'

Expand Down

0 comments on commit d7f795e

Please sign in to comment.