Historian Kristine C. Harper, covers this in her book Weather by the Numbers: The Genesis of Modern Meteorology. The history is summarized in this news article. https://time.com/5670168/trump-hurricane-map-alabama-weather-law/
In short, the law grew out of a desire to professionalize metrology and protect federal weather agencies from fraudulent forecasts being promulgated in their name.