mirror of https://github.com/ecmwf/eccodes.git
Testing: Fix broken tests
This commit is contained in:
parent
1023a5bbe3
commit
97a01c3df0
|
@ -57,8 +57,8 @@ grib_check_key_equals $temp constituentType,numberOfModeOfDistribution,modeNumbe
|
|||
|
||||
# Plain aerosols
|
||||
${tools_dir}/grib_set -s is_aerosol=1 $sample2 $temp
|
||||
grib_check_key_equals $temp productDefinitionTemplateNumber '48'
|
||||
grib_check_key_equals $temp aerosolType,typeOfSizeInterval,typeOfWavelengthInterval '0 0 0'
|
||||
grib_check_key_equals $temp productDefinitionTemplateNumber '50'
|
||||
grib_check_key_equals $temp aerosolType,typeOfSizeInterval '0 0'
|
||||
|
||||
# Aerosol optical
|
||||
${tools_dir}/grib_set -s is_aerosol_optical=1 $sample2 $temp
|
||||
|
|
|
@ -34,14 +34,14 @@ check_param_type_is_scalar $sample 'base'
|
|||
# Aerosols
|
||||
${tools_dir}/grib_set -s productDefinitionTemplateNumber=45,discipline=0,parameterCategory=20,parameterNumber=0 \
|
||||
$sample $tempGrib
|
||||
grib_check_key_equals $tempGrib mars.paramtype 'chemical'
|
||||
check_param_type_is_scalar $tempGrib 'chemical'
|
||||
grib_check_key_equals $tempGrib mars.paramtype 'base'
|
||||
check_param_type_is_scalar $tempGrib 'base'
|
||||
|
||||
# Atmospheric chemical constituents
|
||||
${tools_dir}/grib_set -s productDefinitionTemplateNumber=40,discipline=0,parameterCategory=20,parameterNumber=2 \
|
||||
$sample $tempGrib
|
||||
grib_check_key_equals $tempGrib mars.paramtype 'chemical'
|
||||
check_param_type_is_scalar $tempGrib 'chemical'
|
||||
grib_check_key_equals $tempGrib mars.paramtype 'base'
|
||||
check_param_type_is_scalar $tempGrib 'base'
|
||||
|
||||
|
||||
# Optical properties of aerosol
|
||||
|
|
|
@ -621,7 +621,7 @@ ${tools_dir}/grib_set -s stepUnits=s,paramId=131060 $sample_g2 $temp # probabili
|
|||
grib_check_key_equals $temp '-p indicatorOfUnitOfTimeRange,stepUnits:s,productDefinitionTemplateNumber' '13 s 9'
|
||||
|
||||
${tools_dir}/grib_set -s stepUnits=s,paramId=210073 $sample_g2 $temp # is_aerosol
|
||||
grib_check_key_equals $temp '-p indicatorOfUnitOfTimeRange,stepUnits:s,productDefinitionTemplateNumber' '13 s 48'
|
||||
grib_check_key_equals $temp '-p indicatorOfUnitOfTimeRange,stepUnits:s,productDefinitionTemplateNumber' '13 s 50'
|
||||
|
||||
${tools_dir}/grib_set -s stepUnits=s,paramId=210170 $sample_g2 $temp # is_chemical_srcsink
|
||||
grib_check_key_equals $temp '-p indicatorOfUnitOfTimeRange,stepUnits:s,productDefinitionTemplateNumber' '13 s 76'
|
||||
|
|
Loading…
Reference in New Issue