Changeset 5252 for LMDZ6/trunk/libf/dyn3d
- Timestamp:
- Oct 22, 2024, 2:09:45 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/dynetat0.F90
r5251 r5252 25 25 #endif 26 26 USE iso_params_mod ! tnat_* and alpha_ideal_* 27 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA 27 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS 28 USE strings_mod, ONLY: strIdx 28 29 29 30 IMPLICIT NONE … … 47 48 CHARACTER(LEN=maxlen) :: mesg, var, modname, oldVar 48 49 INTEGER, PARAMETER :: length=100 49 INTEGER :: iq, fID, vID, idecal, iqParent, iName, iZone, iPhase 50 INTEGER :: iq, fID, vID, idecal, iqParent, iName, iZone, iPhase, ix 50 51 REAL :: time, tnat, alpha_ideal, tab_cntrl(length) !--- RUN PARAMS TABLE 51 52 LOGICAL :: lSkip, ll, ltnat1 … … 136 137 !--- Tracers 137 138 ll=.FALSE. 138 #ifdef REPROBUS 139 IF (CPPKEY_REPROBUS) THEN 139 140 ll = NF90_INQ_VARID(fID, 'HNO3tot', vID) /= NF90_NoErr !--- DETECT OLD REPRO start.nc FILE 140 #endif 141 END IF 141 142 ltnat1 = .TRUE.; CALL getin('tnateq1', ltnat1) 142 143 DO iq=1,nqtot … … 144 145 oldVar = new2oldH2O(var) 145 146 lSkip = ll .AND. var == 'HNO3' !--- FORCE "HNO3_g" READING FOR "HNO3" 146 #ifdef REPROBUS 147 IF (CPPKEY_REPROBUS) THEN 147 148 ix = strIdx(newHNO3, var); IF(ix /= 0) oldVar = oldHNO3(ix) !--- REPROBUS HNO3 exceptions 148 #endif 149 END IF 149 150 IF (CPPKEY_INCA) THEN 150 151 IF(var == 'O3') oldVar = 'OX' !--- DEAL WITH INCA OZONE EXCEPTION
Note: See TracChangeset
for help on using the changeset viewer.