updated format_nc_files so that it can handle models using a and p0 instead of ap for converting from plev to lev.