Solar

  • OcnAlb model coupler cmeps

    CMEPS ocean albedo component (stage 2 of the EqESM project): the pointwise laws of med_phases_ocnalb_run in mediator/med_phases_ocnalb_mod.F90 (the CESM mediator, cesm3.0-alphabranch checkout) transcribed exactly, with the solar-geometry and albedo expression templates of ./cmeps_templates.esm imported by reference. The traced configuration (the C_JRA_t62 DATM+SICE+MOM6 case, stage1/dumps/cmeps/cmeps_ocnalb.csv, 288 rows = 12 traced ocean cells x 24 coupling steps of the instrumented run 12134714): ocean_albedo_scheme = 0 (use_briegleb = .true., the Briegleb et al. (1986) scheme), orb_iyear = 2000 fixed orbit (the med_phases_ocnalb_orbital_update values: eccen = 0.0167036603927656034, obliqr = 0.409101122579778931 rad, lambm0 = -0.0324724956615293284 rad, mvelpp = 4.93745779048815780 rad), albdif = 0.06, albdir = 0.07, no ocean_albedo_limit (min_albedo = 0, use_min_albedo = .false.), flux_albav = .false., use_nextswcday = .true. (nextsw_cday from the atm scalar) and nextsw_cday = 1.04166666666666674 day throughout (the run starts 2003-01-01 01:00:00). Structure, in the order of the Fortran: (a) the orbital geometry of shr_orb_decl (share/src/shr_orb_mod.F90:736-814, the Berger (1978) mean-longitude series): solar_declination delta and earth_sun_distance_factor eccf; (b) the pointwise solar zenith cosine of shr_orb_cosz (shr_orb_mod.F90:110-159) at the cell latitude/longitude; (c) the albedo law of F90:453-518: ocean_albedo_visible anidr (the scheme selection with the flux_albav flat-albdir branch, the use_min_albedo max-clamp and the dark-side 1.0) and ocean_albedo_nearinfrared anidf, with the avsdr = anidr / avsdf = anidf aliases of F90:510-512. The traced run pins the Briegleb day-side branch only: all 288 rows have use_briegleb = 1, flux_albav = 0, use_min_albedo = 0 and cosz > 0 (cosz range 0.03600..0.69511 at 69.5S in January, delta range -0.40296..-0.40166 rad); the Taylor scheme, the flux_albav branch, the use_min_albedo clamp and the dark-side branch are transcribed but unpinned (documented in the template descriptions). The ifrac/ofrac/ifrad/ofrad columns of the dump are context (the FBFrac(compocn) fractions at the dump point; the phase copies ifrac/ofrac into ifrad/ofrad AFTER the albedo loop, so the dumped ifrad/ofrad lag the current step by one coupling step - ifrad(k) = ifrac(k-1), verified for all 288 rows - and they are consumed by the cmeps_merge component, not by this one). The nextsw_cday >= -0.5 guard of F90:467 is always true in the traced run. Reference: stage1/EqESM-cesm-cmeps/components/cmeps/mediator/med_phases_ocnalb_mod.F90 and share/src/shr_orb_mod.F90.