Skip to content

Commit b17e1ca

Browse files
committed
MUL-283: Simplify MARS2GRIB mapping
Removed special handling for levtype al and spherical harmonics
1 parent 0fea2b6 commit b17e1ca

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

src/multio/mars2grib/Rules.cc

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -735,16 +735,13 @@ auto paramRules() {
735735
//-----------------------------------------------------------------------------
736736

737737
const ChainedRuleList& allRules() {
738-
static auto all_ =
739-
// General branch for grids & spherical harmanics
740-
chainedRuleList( //
741-
rule(all(NoneOf{dm::LEVTYPE, {dm::LevType::AL}})), //
742-
gridRules(), //
743-
localSectionRules(), //
744-
processTypesRules(), //
745-
paramRules(), //
746-
packingRules() //
747-
);
738+
static auto all_ = chainedRuleList( //
739+
gridRules(), //
740+
localSectionRules(), //
741+
processTypesRules(), //
742+
paramRules(), //
743+
packingRules() //
744+
);
748745

749746
return all_;
750747
}

0 commit comments

Comments
 (0)