@@ -754,17 +754,6 @@ subroutine cosp_rttov_construct_profiles(rttovIN, &
754754 else
755755 inst_profiles(j)% skin% surftype = surftype_seaice
756756 end if
757-
758- ! land-sea mask (lsmask) indicates proportion of land in grid (not in CESM implementation! just a binary mask there)
759- ! if (rttovIN%lsmask(i) < 0.5) then
760- ! inst_profiles(j)%skin%surftype = surftype_sea
761- ! else
762- ! inst_profiles(j)%skin%surftype = surftype_land
763- ! endif
764- ! sea-ice fraction
765- ! if (rttovIN%icefrac(i) >= 0.5) then
766- ! inst_profiles(j)%skin%surftype = surftype_seaice
767- ! endif
768757
769758 ! dar: hard-coded to 1 (=ocean water) in rttov 9 int
770759 inst_profiles(j)% skin% watertype = 1
@@ -781,12 +770,12 @@ subroutine cosp_rttov_construct_profiles(rttovIN, &
781770 ! Convert to ppmv over dry air
782771 inst_profiles(j)% s2m% q = (inst_profiles(j)% s2m% q / (1.0 - inst_profiles(j)% s2m% q)) * mdry / mH2O * 1.e6
783772 inst_profiles(j)% q(:) = (inst_profiles(j)% q(:) / (1.0 - inst_profiles(j)% q(:))) * mdry / mH2O * 1.e6
784- inst_profiles(j)% o3(:) = inst_profiles(j)% o3(:) * mdry / mO3 * 1.e6
785- inst_profiles(j)% co2(:) = inst_profiles(j)% co2(:) * mdry / mCO2 * 1.e6
786- inst_profiles(j)% ch4(:) = inst_profiles(j)% ch4(:) * mdry / mCH4 * 1.e6
787- inst_profiles(j)% n2o(:) = inst_profiles(j)% n2o(:) * mdry / mN2O * 1.e6
788- inst_profiles(j)% co(:) = inst_profiles(j)% co(:) * mdry / mCO * 1.e6
789- inst_profiles(j)% so2(:) = inst_profiles(j)% so2(:) * mdry / mSO2 * 1.e6
773+ if (Ldo_o3) inst_profiles(j)% o3(:) = inst_profiles(j)% o3(:) * mdry / mO3 * 1.e6
774+ if (Ldo_co2) inst_profiles(j)% co2(:) = inst_profiles(j)% co2(:) * mdry / mCO2 * 1.e6
775+ if (Ldo_ch4) inst_profiles(j)% ch4(:) = inst_profiles(j)% ch4(:) * mdry / mCH4 * 1.e6
776+ if (Ldo_n2o) inst_profiles(j)% n2o(:) = inst_profiles(j)% n2o(:) * mdry / mN2O * 1.e6
777+ if (Ldo_co) inst_profiles(j)% co(:) = inst_profiles(j)% co(:) * mdry / mCO * 1.e6
778+ if (Ldo_so2) inst_profiles(j)% so2(:) = inst_profiles(j)% so2(:) * mdry / mSO2 * 1.e6
790779 inst_profiles(j)% gas_units = 0
791780 else
792781 inst_profiles(j)% gas_units = inst_gas_units
0 commit comments