Skip to content

Commit 42fe2fa

Browse files
Merge pull request #110 from brandonduran/modis_bin_changes
Update effective radius bin ranges for new MODIS ice-cloud CER-CWP joint histograms
2 parents 0c7db5e + 8ac6ed3 commit 42fe2fa

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

.github/workflows/containerized-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
# Flags and KGOs for Intel Fortran Compiler Classic
1313
- compiler: ifort
1414
fcflags: -m64 -g -traceback -heap-arrays -assume realloc_lhs -extend-source 132 -check bounds,uninit,pointers,stack -stand f08
15-
gdkgo1: https://docs.google.com/uc?export=download&id=1dva4lq4ZXciTiuOvGgA8OUJKihbGQ90K
16-
gdkgo2: https://docs.google.com/uc?export=download&id=1ns0OtWU5jVnu1IEBfBN-tlTkq2PTrcvC
15+
gdkgo1: https://docs.google.com/uc?export=download&id=1R6uvtWno-bhdgxACCwdcaRNXs9l5_G4w
16+
gdkgo2: https://docs.google.com/uc?export=download&id=1bVU1_dx6hXcV_fHX2cLUn-D03T-Hij8z
1717
# Flags and KGOs for Intel Fortran Compiler
1818
- compiler: ifx
1919
fcflags: -debug -traceback -O0 -heap-arrays -assume realloc_lhs -extend-source 132 -stand f08
20-
gdkgo1: https://docs.google.com/uc?export=download&id=1WzFsoqi0EZfsyyh203QXmUQTIh5tBm9b
21-
gdkgo2: https://docs.google.com/uc?export=download&id=1ezYqG-jfZ6i9bRgKOWUyBiQlMhtncpKj
20+
gdkgo1: https://docs.google.com/uc?export=download&id=1CLPJ1ikAcGBEiZ3WAGqL-zpaPIgC__po
21+
gdkgo2: https://docs.google.com/uc?export=download&id=1JOrLFbt0BYgpD0h6A3tsoRD4iTJ4jDvZ
2222
# Set container images
2323
- compiler: ifort
2424
image: ghcr.io/earth-system-radiation/rte-rrtmgp-ci:oneapi
2525
- compiler: ifx
2626
image: ghcr.io/earth-system-radiation/rte-rrtmgp-ci:oneapi
2727
# Common variables
28-
- kgo_version: v004
28+
- kgo_version: v005
2929
defaults:
3030
run:
3131
shell: bash -el {0}

.github/workflows/continuous_integration.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python-version: [3.11]
4242
include:
4343
- compiler_short_name: gfortran
44-
- kgo_version: v003
44+
- kgo_version: v004
4545
defaults:
4646
run:
4747
shell: bash -el {0}
@@ -53,9 +53,12 @@ jobs:
5353
ATOL: 0.0
5454
RTOL: 0.0
5555
KGO_VERSION: ${{ matrix.kgo_version }}
56-
GDKGO1: https://docs.google.com/uc?export=download&id=1oQBJGFg0F8k-LhRGsCYn-qWzmMMVfQ6K
57-
GDKGO2: https://docs.google.com/uc?export=download&id=1b7qwJWqDzoZGcIP0qyUprTV_LErCGpT6
58-
GDKGO3: https://docs.google.com/uc?export=download&id=1NvTo3bYaGpz-FUpZ4jta_kRzA04xTCsn
56+
# KGO1 is cosp2_output_um.gfortran.kgo.vNNN.nc.gz
57+
GDKGO1: https://docs.google.com/uc?export=download&id=1kC9RViPBdAsGcOivpYXxs3hHJ11Kv8IN
58+
# KGO2 is cosp2_output.um_global.gfortran.kgo.vNNN.nc.gz
59+
GDKGO2: https://docs.google.com/uc?export=download&id=1X_oOzvY2lf-kyAR-D1E6JfuefkGg1idn
60+
# KGO3 is cosp2_output.um_global_model_levels.gfortran.kgo.vNNN.nc.gz
61+
GDKGO3: https://docs.google.com/uc?export=download&id=1c14qBf9VwYJWYVGCu-Cw35F-qqHx0mSg
5962
F90_SHORT_NAME: ${{ matrix.compiler_short_name }}
6063
# Sequence of tasks that will be executed as part of the job
6164
steps:

driver/plot_test_outputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ def collapse_dimensions_for_plotting(longitude, latitude, vname, vx, vd, dims):
112112
yticks = y
113113
ylabel = 'Cloud Top Height (m)'
114114
if vd['yaxis_type'] == 'REICE_MODIS':
115-
yticks_labels = ('0', '10', '20', '30', '40', '60', '90')
115+
yticks_labels = ('0','5', '10', '20', '30', '40','50', '60', '10000')
116116
yticks = y
117117
ylabel = 'Ice particle size (micron)'
118118
if vd['yaxis_type'] == 'RELIQ_MODIS':
119-
yticks_labels = ('0', '8', '10', '13', '15', '20', '30')
119+
yticks_labels = ('0','4', '8', '10', '12.5', '15', '20', '30', '10000')
120120
yticks = y
121121
ylabel = 'Liquid particle size (micron)'
122122
if vd['yaxis_type'] == 'levStat':

src/cosp_config.F90

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,15 @@ MODULE MOD_COSP_CONFIG
130130
! Liquid and Ice particle bins for MODIS joint histogram of optical-depth and particle
131131
! size
132132
! Bin edges match Pincus et al. 2023 observational data (doi:10.5194/essd-15-2483-2023)
133+
! Additional Re bins to capture all simulated clouds
133134
integer :: i,j
134135
integer,parameter :: &
135-
nReffLiq = 6, & ! Number of ReffLiq bins for tau/ReffLiq and LWP/ReffLiq joint-histogram
136-
nReffIce = 6 ! Number of ReffIce bins for tau/ReffICE and IWP/ReffIce joint-histogram
136+
nReffLiq = 8, & ! Number of ReffLiq bins for tau/ReffLiq and LWP/ReffLiq joint-histogram
137+
nReffIce = 8 ! Number of ReffIce bins for tau/ReffICE and IWP/ReffIce joint-histogram
137138
real(wp),parameter,dimension(nReffLiq+1) :: &
138-
reffLIQ_binBounds = (/4.0e-6, 8e-6, 1.0e-5, 1.25e-5, 1.5e-5, 2.0e-5, 3.0e-5/)
139+
reffLIQ_binBounds = (/0.0, 4.0e-6, 8e-6, 1.0e-5, 1.25e-5, 1.5e-5, 2.0e-5, 3.0e-5, 1.0e-2/)
139140
real(wp),parameter,dimension(nReffIce+1) :: &
140-
reffICE_binBounds = (/5.0e-6, 1.0e-5, 2.0e-5, 3.0e-5, 4.0e-5, 5.0e-5, 6.0e-5/)
141+
reffICE_binBounds = (/0.0,5.0e-6, 1.0e-5, 2.0e-5, 3.0e-5, 4.0e-5, 5.0e-5, 6.0e-5, 1.0e-2/)
141142
real(wp),parameter,dimension(2,nReffICE) :: &
142143
reffICE_binEdges = reshape(source=(/reffICE_binBounds(1),((reffICE_binBounds(k), &
143144
l=1,2),k=2,nReffICE),reffICE_binBounds(nReffICE+1)/), &

0 commit comments

Comments
 (0)