Instructions for using CAM5 files to run through COSP for GPM (https://github.com/afunktamu/COSPv2.0_GPM). These files were used to produce to results and figures in the following publication: Riley Dellaripa, E. M., A. Funk, C. Scumacher, H. Bai, and T. Spangehl: Adapting the COSP Radar Simulator to Compare GCM Output and GPM Precipitation Radar Observations, J. Atmos. Ocean. Technol. https://doi.org/10.1175/JTECH-D-20-0089.1 Contact: emily.riley@colostate.edu or emilyriley17@gmail.com - 1° files are labeled like COSP_CAM5_f09.cam.h2.2017-06-01-03600_trimmed.nc.tar.gz. The files were trimmed down from all the CAM5 output to only contain the output that is necessary to run through COSP. - 2° files are labeled like COSP_CAM5_t3_CFAD.cam.h2.2017-06-01-03600.nc.tar.gz. These file contain all the CAM5 output variables. - You will need to run tar -xzvf filename.tar.gz to extract the full netcdf file ***STEPS FOR PREPARING CAM5 2° DATA FOR INPUT INTO COSP*** 1) Run prepare_CAMoutput4COSP_hourlyFiles_90lats.sh - Renames certain variables to what COSP needs, reverses levels to go from surface to TOA, makes hourly files. Does not include effective radius and number concentration, though. Those are handled in separate files and scripts. 2) Run prepare_numconc_file4COSP.sh - This gives the number concentration variables the correct names that COSP needs & reverses the levels to go from surface to TOΑ 3) Run make_diag_prog_numconc_hourly.sh - Puts the number concentration variables into hourly files and appends those files to the hourly file containing all the other CAM5 variables that were made using prepare_CAMoutput4COSP_hourlyFiles_90lats_AllSteps.sh 4) combine_Reffs.sh - combines the 9 individual effective radius variables into one variable with an added dimension of nhydro, separates the data into hourly files of effective radius, and then appends the radius files to the original hourly files made using prepare_CAMoutput4COSP_hourlyFiles_90lats_AllSteps.sh ***STEPS FOR PREPARING CAM5 1° DATA FOR INPUT INTO COSP*** 1) Run make_9Reffs1Var_for1deg2017case.sh - prepares effective radius for input into COSP. combines the 9 individual effective radius variables into one variable with an added dimension of nhydro and separates the data into hourly files of effective radius 2) Run prepare_CAM1deg_output4COSP_hourlyFiles_90lats_AllSteps_includingReff_NumConc.sh - Renames certain variables to what COSP needs, reverses levels to go from surface to TOA, makes hourly files.