Changeset 4266
- Timestamp:
- Sep 21, 2022, 10:16:20 AM (2 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/dynetat0.F90
r4265 r4266 136 136 var = tracers(iq)%name 137 137 oldVar = new2oldName(var) 138 lOldHNO3 = lOldHNO3 .AND. (var == 'HNO3' .OR. var == 'HNO3_g') 138 139 !-------------------------------------------------------------------------------------------------------------------------- 139 140 IF(NF90_INQ_VARID(fID, var, vID) == NF90_NoErr .AND. .NOT.lOldHNO3) THEN !=== REGULAR CASE … … 145 146 !-------------------------------------------------------------------------------------------------------------------------- 146 147 #ifdef REPROBUS 147 ELSE IF(NF90_INQ_VARID(fID, 'HNO3_g', vID) == NF90_NoErr .AND. lOldHNO3 .AND.var=='HNO3') THEN148 ELSE IF(NF90_INQ_VARID(fID, 'HNO3_g', vID) == NF90_NoErr .AND. lOldHNO3 .AND. var == 'HNO3' ) THEN 148 149 CALL msg('Tracer <HNO3_g> is used for <HNO3> (old convention)', modname) !=== REPROBUS: HNO3_g INSTEAD OF HNO3 149 150 CALL err(NF90_GET_VAR(fID,vID,q(:,:,:,iq)),"get",var) 150 ELSE IF(NF90_INQ_VARID(fID, 'HNO3', vID)lOldHNO3 .AND. var == 'HNO3tot') THEN151 ELSE IF(NF90_INQ_VARID(fID, 'HNO3', vID) == NF90_NoErr .AND. lOldHNO3 .AND. var == 'HNO3tot') THEN 151 152 CALL msg('Tracer <HNO3> is used for <HNO3tot> (old convention)', modname) !=== REPROBUS: HNO3 INSTEAD OF HNO3tot 152 153 CALL err(NF90_GET_VAR(fID,vID,q(:,:,:,iq)),"get",var) -
LMDZ6/trunk/libf/dyn3dmem/dynetat0_loc.F90
r4265 r4266 160 160 var = tracers(iq)%name 161 161 oldVar = new2oldName(var) 162 lOldHNO3 = lOldHNO3 .AND. (var == 'HNO3' .OR. var == 'HNO3_g') 162 163 !-------------------------------------------------------------------------------------------------------------------------- 163 164 IF(NF90_INQ_VARID(fID, var, vID) == NF90_NoErr .AND. .NOT.lOldHNO3) THEN !=== REGULAR CASE
Note: See TracChangeset
for help on using the changeset viewer.