C functions that may be useful for analysis and model development in atmospheric science