Michael Mann, a professor of meteorology and geosciences at Pennsylvania State University, isn’t an expert on state public-records laws. But he’s fast becoming one.

Mann’s research on climate change — especially the now-famous “hockey stick” graph showing a dramatic rise in global temperature at the end of the last millennium — has put him at the center of two legal battles in Virginia state courts.