mirror of https://github.com/ecmwf/eccodes.git
Parameter DB and definitions: deal with attribute_value of NULL
This commit is contained in:
parent
6e7177afd3
commit
ccbb0f9dab
|
@ -87,6 +87,9 @@ EOF
|
||||||
if ($attribute =~ /stepType/ ) {
|
if ($attribute =~ /stepType/ ) {
|
||||||
$value="\"accum\"";
|
$value="\"accum\"";
|
||||||
}
|
}
|
||||||
|
if ($value eq '') {
|
||||||
|
$value="missing()";
|
||||||
|
}
|
||||||
print $out "\t $attribute = $value ;\n" ;
|
print $out "\t $attribute = $value ;\n" ;
|
||||||
}
|
}
|
||||||
if ($filebase) {
|
if ($filebase) {
|
||||||
|
|
Loading…
Reference in New Issue