It depends how much government support is in the funding and the range of applications for the research. In Canada, most research grants require matching contributions from non-government entities and the ownership of the intellectual property produced depends upon the percent of the total project that is government funded. If the government funds more than 50%, then some of the results are generally public domain, possibly with a black-out period to let the provider of private funds derive some commercial advantage. Climate researchers are mostly on the government payroll directly or work at universities that are in part privately funded and the ownership of the IP will follow the same principle. Not all government funded research can or should be in the public domain. Some technologies used for climate research also have national defense and industrial applications. Spectroscopy is used in climate research, but there are other applications such as surveillance technologies and weapons guidance systems. Most of the original research pertaining to optical properties of the atmosphere was done by the US air force in the 1950's because there is a direct application to tracking other aircraft and missiles, as well as detecting targets on the ground. Some of my work during Gulf war I is classified. Some of the algorithms, such as spectral pattern recognition have significant commercial value with applications in food, pharmaceuticals and medicine. Suppose that a scientist uses the same algorithm for climate research. Should the algorithm be released?
The short answer to your question is no. Some restrictions are needed so that the security and economic interests of the country doing the research are not compromised.