I didn't know about the Egyptian precedent but it makes sense now. I read before that the same Soviet officers & generals who trained the Somali army were airlifted to Ethiopia. They knew exactly how the Somali Army would fight and planned a devastating counter offensive. It's one of the main reasons why the Somali Army was defeated so quickly. They had inside-out knowledge about the capabilities of the Somali army.
Yep, the majority of the Somali Air Force losses weren’t even inflicted by the Ethiopians in the air but on the ground at their hangars in Hargeisa and Berbera. The Soviets also targeted all of the early warning radars at Berbera because they knew exactly where they were located. The use of Soviet satellite imagery also outflanked what would have been a strong Somali defence and counter attack. Somalia was an African country with a capable military operating outside its borders but it was not equipped at all to deal with a higher form of conventional military warfare spearheaded by a superpower, even great powers would have struggled to put up a fight.
Barre was an incompetent leader, the moment he had evicted the Soviets he should have ordered all of the military commands to shift their hardware equipment to alternate air fields and bases. He did not give Somali pilots enough flight hours before the war, he did not set up secret bases outside the purview of the Soviets, he did not get written guarantees from the Carter administration, he did not allow field commanders to take their own initiative, and he did not simultaneously activate the Oromo, Afar, Tigray and Eritrean independence groups for a multi-prong attack on the Derg.
The lightening fast capture of the Ogaden was entirely based on the grit and tenacity of the Somali Army.