diff --git a/src/tools/mir-count.cc b/src/tools/mir-count.cc index cd9d0705b..0c0bcff81 100644 --- a/src/tools/mir-count.cc +++ b/src/tools/mir-count.cc @@ -102,9 +102,11 @@ void MIRCount::execute(const eckit::option::CmdArgs& args) { prec_t precision; param.get("precision", precision) ? log.precision(precision) : log.precision(); - std::vector area; - param.get("area", area); + std::string area_str; + param.get("area", area_str); + util::BoundingBox area; + key::Area::get(param, area); // setup a regular lat/lon representation and perform count std::string grid;