def METHOD_NAME(self):
    args = []
    args.extend(self.enable_or_disable("grib2"))
    args.extend(self.enable_or_disable("python"))
    args.extend(self.enable_or_disable("openmp"))
    args.extend(self.enable_or_disable("lidar2nc"))
    args.extend(self.enable_or_disable("modis"))
    args.extend(self.enable_or_disable("mode_graphics", variant="graphics"))
    if self.spec.satisfies("%apple-clang@14:"):
        args.append("CXXFLAGS=-std=gnu++17")
    return args