This directory contains the code and prior data files to run the microphysical
retrieval algorithm documented in the following papers:

;  Mace, G.: Deriving cloud droplet number concentration from surface based remote sensors with an emphasis on lidar measurements, Atmos. Meas. Tech., 17, 3679-3695, https://doi.org/10.5194/amt-17-3679, 2024.
;  
;  Mace, G. G., Sally Benson, Elizabeth Sterner, et al. The Association Between Cloud Droplet Number Over the Summer Southern Ocean and Air Mass History, Journal of Geophysical Research, Atmospheres, 129, e2023jd040673, https://doi.org/10.1029/2023JD040673.
;  
;  Mace, G. G., Benson, S., Gombert, P., and Smallwood, T.: Impact on Cloud Properties of Reduced-Sulphur Shipping Fuel in the Eastern North Atlantic, EGUsphere [preprint], https://doi.org/10.5194/egusphere-2025-2075, 2025.

The code is written in the idl language and is run in 

IDL 8.8.2
Apr 06 2022 (430118)

(c) Copyright 1988-2022 L3Harris Geospatial Solutions, Inc. 

The main code to begin cloud property retrievals is called
ena_nd_retrieval_clean.pro

All routines necessary to run the code that are not part of the idl distribution are contained in this directory.  

Additional data files needed to run the code are located in folders called
Socrates
nd_fad_oe_kx
The paths to these data files are defined in retrieve_nd_fad_re_from_zmax_ext_eta_ztop_nofad_test3.pro

All other paths are defined at the top of the ena_nd_retrieval_clean.pro

Other codes to do analysis of data are
compare_ena_ccn_mwr_cloud.pro:  This code reads in the processed data files including ccn data files and
 cloud property retrievals and creates the files used to make figure 2. The code writes the files
called ena_cld_pre.cdf, ena_cld_post.cdf, ena_lwp_pre.cdf, ena_lwp_post.cdf, ena_ccn_pre.cdf, ena_ccn_post.cdf

read_plot_ena_vectors.pro: This code read in the data files created by compare_ena_ccn_mwr_cloud.pro and writes the histogram
files used to create Figure 2.  Data files are located in the folder data_files_for_analysis.

eval_large_scale_cloud_controlling_factors.pro:  This code reads in the files called shiptrack_full_data_pre_daily.nc4, 
shiptrack_full_data_post_daily.nc4 and creates the files used to make Figure 1.  The data files are located in the folder data_files_for_analysis.

ena_ks_test_modis.pro:  This code reads in the data files ena.MOYD.range_ring_vectors.201605-202309.029_048lat.-39_-16lon.cdf
and does KS tests and outputs the data files needed for Figure 3. The data file is located in the folder data_files_for_analysis.

read_plot_ena_lwp.pro:  Reads MWR and Surface Met data from ENA and writes the file used to create figure 2g.  The data files, enamwr3cC1.b1 and enaaosmetC1.a1, can be downloaded from arm.gov.

ena_ks_test.pro:  This code reads in data files created by previous routines and does Kolmogorov-Smirnov tests on that data.  Data files are in this folder. This routine calls procedures kstwo_nin.pro and lin_histo_2_logplot.pro located in the folder data_files_for_analysis.


Jay Mace 
October, 2025
jay.mace@utah.edu
