Changeset 10547
- Timestamp:
- 2019-01-18T15:42:27+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_obs_oper_update_fabm_fix/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90
r10388 r10547 908 908 USE par_fabm ! FABM parameters 909 909 USE fabm, ONLY: & 910 & fabm_get_ bulk_diagnostic_data910 & fabm_get_interior_diagnostic_data 911 911 #endif 912 912 #if defined key_spm … … 1176 1176 CALL wrk_alloc( jpi, jpj, zsurfvar ) 1177 1177 CALL wrk_alloc( jpi, jpj, zsurfmask ) 1178 #if defined key_fabm 1179 CALL wrk_alloc( jpi, jpj, jpk, pco2_3d ) 1180 #endif 1178 1181 1179 1182 DO jtype = 1, nsurftypes … … 1418 1421 #elif defined key_fabm 1419 1422 ! First, get pCO2 from FABM 1420 pco2_3d(:,:,:) = fabm_get_ bulk_diagnostic_data(model, jp_fabm_o3pc)1423 pco2_3d(:,:,:) = fabm_get_interior_diagnostic_data(model, jp_fabm_o3pc) 1421 1424 zsurfvar(:,:) = pco2_3d(:,:,1) 1422 1425 ! Now, convert pCO2 to fCO2, based on SST in K. This follows the standard methodology of: … … 1457 1460 zsurfvar(:,:) = f2_pco2w(:,:) 1458 1461 #elif defined key_fabm 1459 pco2_3d(:,:,:) = fabm_get_ bulk_diagnostic_data(model, jp_fabm_o3pc)1462 pco2_3d(:,:,:) = fabm_get_interior_diagnostic_data(model, jp_fabm_o3pc) 1460 1463 zsurfvar(:,:) = pco2_3d(:,:,1) 1461 1464 #else … … 1491 1494 CALL wrk_dealloc( jpi, jpj, zsurfvar ) 1492 1495 CALL wrk_dealloc( jpi, jpj, zsurfmask ) 1496 #if defined key_fabm 1497 CALL wrk_dealloc( jpi, jpj, jpk, pco2_3d ) 1498 #endif 1493 1499 1494 1500 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.