Changeset 5160 for LMDZ6/branches/Amaury_dev/libf/phylmd/cosp
- Timestamp:
- Aug 3, 2024, 2:56:58 PM (3 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmd/cosp
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/array_lib.F90
r5158 r5160 144 144 iloc = infind(xsort,xxarr(i),dist=d) 145 145 if (d > tol) then 146 print*, 'interpolation error'146 PRINT *, 'interpolation error' 147 147 stop 148 148 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/atmos_lib.F90
r5099 r5160 128 128 129 129 case default 130 print*, 'Must enter a profile type'130 PRINT *, 'Must enter a profile type' 131 131 stop 132 132 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/calc_Re.F90
r5099 r5160 97 97 vu = (1/(0.2714 + 0.00057145*Np*rho_a*1E-6))**2 ! units of Nt = Np*rhoa = #/cm^3 98 98 else 99 print*, 'Error: Must specify a value for Np in each volume', &99 PRINT *, 'Error: Must specify a value for Np in each volume', & 100 100 ' with Morrison/Martin Scheme.' 101 101 stop … … 111 111 ! vu isn't specified 112 112 113 print*, 'Error: Must specify a value for vu for Modified Gamma distribution'113 PRINT *, 'Error: Must specify a value for vu for Modified Gamma distribution' 114 114 stop 115 115 … … 130 130 local_Np = p1 ! total number concentration / pa --- units kg^-1 131 131 else 132 print*, 'Error: Must specify Np or default value ', &132 PRINT *, 'Error: Must specify Np or default value ', & 133 133 '(p1=Dm [um] or p2=Np [1/kg]) for ', & 134 134 'Modified Gamma distribution' … … 169 169 else 170 170 171 print*, 'Error: Must specify Np or default value ', &171 PRINT *, 'Error: Must specify Np or default value ', & 172 172 '(p1=No or p2=lambda) for Exponential distribution' 173 173 stop … … 191 191 if(Np>0) then 192 192 193 print*, 'Variable Np not supported for ', &193 PRINT *, 'Variable Np not supported for ', & 194 194 'Power Law distribution' 195 195 stop … … 205 205 206 206 if(Np>0) then 207 print*, 'Variable Np not supported for ', &207 PRINT *, 'Variable Np not supported for ', & 208 208 'Monodispersed distribution' 209 209 stop … … 225 225 log_sigma_g = local_p3 226 226 else 227 print*, 'Error: Must specify a value for sigma_g ', &227 PRINT *, 'Error: Must specify a value for sigma_g ', & 228 228 'when using a Log-Normal distribution' 229 229 stop … … 244 244 local_Np=p1 245 245 else 246 print*, 'Error: Must specify Np or default value ', &246 PRINT *, 'Error: Must specify Np or default value ', & 247 247 '(p2=Rg or p1=Np) for Log-Normal distribution' 248 248 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/cosp_read_otputkeys.F90
r5158 r5160 649 649 650 650 if (i /= N_OUT_LIST) then 651 print*, 'COSP_IO: wrong number of output diagnostics'652 print*, i,N_OUT_LIST651 PRINT *, 'COSP_IO: wrong number of output diagnostics' 652 PRINT *, i,N_OUT_LIST 653 653 stop 654 654 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/dsd.F90
r5158 r5160 127 127 vu = (1/(0.2714 + 0.00057145*Np*rho_a*1E-6))**2.0 ! units of Nt = Np*rhoa = #/cm^3 128 128 else 129 print*, 'Error: Must specify a value for Np in each volume', &129 PRINT *, 'Error: Must specify a value for Np in each volume', & 130 130 ' with Morrison/Martin Scheme.' 131 131 stop … … 141 141 ! vu isn't specified 142 142 143 print*, 'Error: Must specify a value for vu for Modified Gamma distribution'143 PRINT *, 'Error: Must specify a value for vu for Modified Gamma distribution' 144 144 stop 145 145 … … 185 185 else 186 186 187 print*, 'Error: No default value for Dm or Np provided! '187 PRINT *, 'Error: No default value for Dm or Np provided! ' 188 188 stop 189 189 … … 255 255 256 256 if(Re>0) then 257 print*, 'Variable Re not supported for ', &257 PRINT *, 'Variable Re not supported for ', & 258 258 'Power-Law distribution' 259 259 stop 260 260 elseif(Np>0) then 261 print*, 'Variable Np not supported for ', &261 PRINT *, 'Variable Np not supported for ', & 262 262 'Power-Law distribution' 263 263 stop … … 319 319 enddo 320 320 321 ! print*,'test=',ahp,bhp,ahp/(rho_a*Q),D(100),N(100),bpm,dmin_mm,dmax_mm321 ! PRINT *,'test=',ahp,bhp,ahp/(rho_a*Q),D(100),N(100),bpm,dmin_mm,dmax_mm 322 322 323 323 ! ---------------------------------------------------------! … … 388 388 else 389 389 390 print*, 'Error: Must specify a value for sigma_g'390 PRINT *, 'Error: Must specify a value for sigma_g' 391 391 stop 392 392 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/lidar_simulator.F90
r5158 r5160 248 248 249 249 if ( npart .ne. 4 ) then 250 print*,'Error in lidar_simulator, npart should be 4, not',npart250 PRINT *,'Error in lidar_simulator, npart should be 4, not',npart 251 251 stop 252 252 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/math_lib.F90
r5158 r5160 152 152 path_integral = sumo 153 153 endif 154 ! print*, sumo154 ! PRINT *, sumo 155 155 156 156 return -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/mod_cosp.F90
r5158 r5160 141 141 if ((.not. gbx%use_reff) .and. (reff_zero)) then ! No Reff in radar. Default in lidar 142 142 gbx%Reff = DEFAULT_LIDAR_REFF 143 print*, '---------- COSP WARNING ------------'144 print*, ''145 print*, 'Using default Reff in lidar simulations'146 print*, ''147 print*, '----------------------------------'143 PRINT *, '---------- COSP WARNING ------------' 144 PRINT *, '' 145 PRINT *, 'Using default Reff in lidar simulations' 146 PRINT *, '' 147 PRINT *, '----------------------------------' 148 148 endif 149 149 … … 153 153 if (Ncolumns == 1) then 154 154 if (gbx%use_precipitation_fluxes) then 155 print*, '---------- COSP ERROR ------------'156 print*, ''157 print*, 'Use of precipitation fluxes not supported in CRM mode (Ncolumns=1)'158 print*, ''159 print*, '----------------------------------'155 PRINT *, '---------- COSP ERROR ------------' 156 PRINT *, '' 157 PRINT *, 'Use of precipitation fluxes not supported in CRM mode (Ncolumns=1)' 158 PRINT *, '' 159 PRINT *, '----------------------------------' 160 160 stop 161 161 endif 162 162 if ((maxval(gbx%dtau_c) > 0.0).or.(maxval(gbx%dem_c) > 0.0)) then 163 print*, '---------- COSP ERROR ------------'164 print*, ''165 print*, ' dtau_c > 0.0 or dem_c > 0.0. In CRM mode (Ncolumns=1), '166 print*, ' the optical depth (emmisivity) of all clouds must be '167 print*, ' passed through dtau_s (dem_s)'168 print*, ''169 print*, '----------------------------------'163 PRINT *, '---------- COSP ERROR ------------' 164 PRINT *, '' 165 PRINT *, ' dtau_c > 0.0 or dem_c > 0.0. In CRM mode (Ncolumns=1), ' 166 PRINT *, ' the optical depth (emmisivity) of all clouds must be ' 167 PRINT *, ' passed through dtau_s (dem_s)' 168 PRINT *, '' 169 PRINT *, '----------------------------------' 170 170 stop 171 171 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/mod_cosp_simulator.F90
r5099 r5160 90 90 ! enddo 91 91 ! enddo 92 ! if (inconsistent) print*, '%%%% COSP_SIMULATOR: inconsistency in mr_hydro and Reff'92 ! if (inconsistent) PRINT *, '%%%% COSP_SIMULATOR: inconsistency in mr_hydro and Reff' 93 93 94 94 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/mod_cosp_types.F90
r5158 r5160 1400 1400 type(cosp_gridbox),intent(in) :: x 1401 1401 1402 print*, '%%%%----- Information on COSP_GRIDBOX ------'1402 PRINT *, '%%%%----- Information on COSP_GRIDBOX ------' 1403 1403 ! Scalars and dimensions 1404 print*, x%Npoints1405 print*, x%Nlevels1406 print*, x%Ncolumns1407 print*, x%Nhydro1408 print*, x%Nprmts_max_hydro1409 print*, x%Naero1410 print*, x%Nprmts_max_aero1411 print*, x%Npoints_it1404 PRINT *, x%Npoints 1405 PRINT *, x%Nlevels 1406 PRINT *, x%Ncolumns 1407 PRINT *, x%Nhydro 1408 PRINT *, x%Nprmts_max_hydro 1409 PRINT *, x%Naero 1410 PRINT *, x%Nprmts_max_aero 1411 PRINT *, x%Npoints_it 1412 1412 1413 1413 ! Time [days] 1414 print*, x%time1414 PRINT *, x%time 1415 1415 1416 1416 ! Radar ancillary info 1417 print*, x%radar_freq, &1417 PRINT *, x%radar_freq, & 1418 1418 x%k2 1419 print*, x%surface_radar, &1419 PRINT *, x%surface_radar, & 1420 1420 x%use_mie_tables, & 1421 1421 x%use_gas_abs, & … … 1423 1423 x%melt_lay 1424 1424 1425 ! print*, 'shape(x%): ',shape(x%)1425 ! PRINT *, 'shape(x%): ',shape(x%) 1426 1426 1427 1427 ! type(class_param) :: hp ! structure used by radar simulator to store Ze and N scaling constants and other information 1428 1428 ! type(mie):: mt ! structure used by radar simulator to store mie LUT information 1429 print*, x%nsizes1429 PRINT *, x%nsizes 1430 1430 1431 1431 ! Lidar 1432 print*, x%lidar_ice_type1432 PRINT *, x%lidar_ice_type 1433 1433 1434 1434 ! Radar 1435 print*, x%use_precipitation_fluxes1436 print*, x%use_reff1435 PRINT *, x%use_precipitation_fluxes 1436 PRINT *, x%use_reff 1437 1437 1438 1438 ! Geolocation (Npoints) 1439 print*, 'shape(x%longitude): ',shape(x%longitude)1440 print*, 'shape(x%latitude): ',shape(x%latitude)1439 PRINT *, 'shape(x%longitude): ',shape(x%longitude) 1440 PRINT *, 'shape(x%latitude): ',shape(x%latitude) 1441 1441 ! Gridbox information (Npoints,Nlevels) 1442 print*, 'shape(x%zlev): ',shape(x%zlev)1443 print*, 'shape(x%zlev_half): ',shape(x%zlev_half)1444 print*, 'shape(x%dlev): ',shape(x%dlev)1445 print*, 'shape(x%p): ',shape(x%p)1446 print*, 'shape(x%ph): ',shape(x%ph)1447 print*, 'shape(x%T): ',shape(x%T)1448 print*, 'shape(x%q): ',shape(x%q)1449 print*, 'shape(x%sh): ',shape(x%sh)1450 print*, 'shape(x%dtau_s): ',shape(x%dtau_s)1451 print*, 'shape(x%dtau_c): ',shape(x%dtau_c)1452 print*, 'shape(x%dem_s): ',shape(x%dem_s)1453 print*, 'shape(x%dem_c): ',shape(x%dem_c)1454 print*, 'shape(x%mr_ozone): ',shape(x%mr_ozone)1442 PRINT *, 'shape(x%zlev): ',shape(x%zlev) 1443 PRINT *, 'shape(x%zlev_half): ',shape(x%zlev_half) 1444 PRINT *, 'shape(x%dlev): ',shape(x%dlev) 1445 PRINT *, 'shape(x%p): ',shape(x%p) 1446 PRINT *, 'shape(x%ph): ',shape(x%ph) 1447 PRINT *, 'shape(x%T): ',shape(x%T) 1448 PRINT *, 'shape(x%q): ',shape(x%q) 1449 PRINT *, 'shape(x%sh): ',shape(x%sh) 1450 PRINT *, 'shape(x%dtau_s): ',shape(x%dtau_s) 1451 PRINT *, 'shape(x%dtau_c): ',shape(x%dtau_c) 1452 PRINT *, 'shape(x%dem_s): ',shape(x%dem_s) 1453 PRINT *, 'shape(x%dem_c): ',shape(x%dem_c) 1454 PRINT *, 'shape(x%mr_ozone): ',shape(x%mr_ozone) 1455 1455 1456 1456 ! Point information (Npoints) 1457 print*, 'shape(x%land): ',shape(x%land)1458 print*, 'shape(x%psfc): ',shape(x%psfc)1459 print*, 'shape(x%sunlit): ',shape(x%sunlit)1460 print*, 'shape(x%skt): ',shape(x%skt)1461 print*, 'shape(x%u_wind): ',shape(x%u_wind)1462 print*, 'shape(x%v_wind): ',shape(x%v_wind)1457 PRINT *, 'shape(x%land): ',shape(x%land) 1458 PRINT *, 'shape(x%psfc): ',shape(x%psfc) 1459 PRINT *, 'shape(x%sunlit): ',shape(x%sunlit) 1460 PRINT *, 'shape(x%skt): ',shape(x%skt) 1461 PRINT *, 'shape(x%u_wind): ',shape(x%u_wind) 1462 PRINT *, 'shape(x%v_wind): ',shape(x%v_wind) 1463 1463 1464 1464 ! TOTAL and CONV cloud fraction for SCOPS 1465 print*, 'shape(x%tca): ',shape(x%tca)1466 print*, 'shape(x%cca): ',shape(x%cca)1465 PRINT *, 'shape(x%tca): ',shape(x%tca) 1466 PRINT *, 'shape(x%cca): ',shape(x%cca) 1467 1467 ! Precipitation fluxes on model levels 1468 print*, 'shape(x%rain_ls): ',shape(x%rain_ls)1469 print*, 'shape(x%rain_cv): ',shape(x%rain_cv)1470 print*, 'shape(x%snow_ls): ',shape(x%snow_ls)1471 print*, 'shape(x%snow_cv): ',shape(x%snow_cv)1472 print*, 'shape(x%grpl_ls): ',shape(x%grpl_ls)1468 PRINT *, 'shape(x%rain_ls): ',shape(x%rain_ls) 1469 PRINT *, 'shape(x%rain_cv): ',shape(x%rain_cv) 1470 PRINT *, 'shape(x%snow_ls): ',shape(x%snow_ls) 1471 PRINT *, 'shape(x%snow_cv): ',shape(x%snow_cv) 1472 PRINT *, 'shape(x%grpl_ls): ',shape(x%grpl_ls) 1473 1473 ! Hydrometeors concentration and distribution parameters 1474 print*, 'shape(x%mr_hydro): ',shape(x%mr_hydro)1475 print*, 'shape(x%dist_prmts_hydro): ',shape(x%dist_prmts_hydro)1474 PRINT *, 'shape(x%mr_hydro): ',shape(x%mr_hydro) 1475 PRINT *, 'shape(x%dist_prmts_hydro): ',shape(x%dist_prmts_hydro) 1476 1476 ! Effective radius [m]. (Npoints,Nlevels,Nhydro) 1477 print*, 'shape(x%Reff): ',shape(x%Reff)1478 print*, 'shape(x%Np): ',shape(x%Np) ! added by roj with Quickbeam V31477 PRINT *, 'shape(x%Reff): ',shape(x%Reff) 1478 PRINT *, 'shape(x%Np): ',shape(x%Np) ! added by roj with Quickbeam V3 1479 1479 ! Aerosols concentration and distribution parameters 1480 print*, 'shape(x%conc_aero): ',shape(x%conc_aero)1481 print*, 'shape(x%dist_type_aero): ',shape(x%dist_type_aero)1482 print*, 'shape(x%dist_prmts_aero): ',shape(x%dist_prmts_aero)1480 PRINT *, 'shape(x%conc_aero): ',shape(x%conc_aero) 1481 PRINT *, 'shape(x%dist_type_aero): ',shape(x%dist_type_aero) 1482 PRINT *, 'shape(x%dist_prmts_aero): ',shape(x%dist_prmts_aero) 1483 1483 ! ISCCP simulator inputs 1484 print*, x%isccp_top_height1485 print*, x%isccp_top_height_direction1486 print*, x%isccp_overlap1487 print*, x%isccp_emsfc_lw1484 PRINT *, x%isccp_top_height 1485 PRINT *, x%isccp_top_height_direction 1486 PRINT *, x%isccp_overlap 1487 PRINT *, x%isccp_emsfc_lw 1488 1488 1489 1489 ! RTTOV inputs/options 1490 print*, x%plat1491 print*, x%sat1492 print*, x%inst1493 print*, x%Nchan1494 print*, 'shape(x%Ichan): ',x%Ichan1495 print*, 'shape(x%Surfem): ',x%Surfem1496 print*, x%ZenAng1497 print*, x%co2,x%ch4,x%n2o,x%co1490 PRINT *, x%plat 1491 PRINT *, x%sat 1492 PRINT *, x%inst 1493 PRINT *, x%Nchan 1494 PRINT *, 'shape(x%Ichan): ',x%Ichan 1495 PRINT *, 'shape(x%Surfem): ',x%Surfem 1496 PRINT *, x%ZenAng 1497 PRINT *, x%co2,x%ch4,x%n2o,x%co 1498 1498 1499 1499 END SUBROUTINE COSP_GRIDBOX_PRINT … … 1502 1502 type(cosp_misr),intent(in) :: x 1503 1503 1504 print*, '%%%%----- Information on COSP_MISR ------'1504 PRINT *, '%%%%----- Information on COSP_MISR ------' 1505 1505 1506 1506 ! Dimensions 1507 print*, x%Npoints1508 print*, x%Ntau1509 print*, x%Nlevels1507 PRINT *, x%Npoints 1508 PRINT *, x%Ntau 1509 PRINT *, x%Nlevels 1510 1510 1511 1511 ! --- (npoints,ntau,nlevels) 1512 1512 ! the fraction of the model grid box covered by each of the MISR cloud types 1513 print*, 'shape(x%fq_MISR): ',shape(x%fq_MISR)1513 PRINT *, 'shape(x%fq_MISR): ',shape(x%fq_MISR) 1514 1514 1515 1515 ! --- (npoints) 1516 print*, 'shape(x%MISR_meanztop): ',shape(x%MISR_meanztop)1517 print*, 'shape(x%MISR_cldarea): ',shape(x%MISR_cldarea)1516 PRINT *, 'shape(x%MISR_meanztop): ',shape(x%MISR_meanztop) 1517 PRINT *, 'shape(x%MISR_cldarea): ',shape(x%MISR_cldarea) 1518 1518 ! --- (npoints,nlevels) 1519 print*, 'shape(x%MISR_dist_model_layertops): ',shape(x%MISR_dist_model_layertops)1519 PRINT *, 'shape(x%MISR_dist_model_layertops): ',shape(x%MISR_dist_model_layertops) 1520 1520 1521 1521 END SUBROUTINE COSP_MISR_PRINT … … 1524 1524 type(cosp_isccp),intent(in) :: x 1525 1525 1526 print*, x%Npoints1527 print*, x%Ncolumns1528 print*, x%Nlevels1529 1530 print*, '%%%%----- Information on COSP_ISCCP ------'1531 1532 print*, 'shape(x%fq_isccp): ',shape(x%fq_isccp)1533 print*, 'shape(x%totalcldarea): ',shape(x%totalcldarea)1534 print*, 'shape(x%meantb): ',shape(x%meantb)1535 print*, 'shape(x%meantbclr): ',shape(x%meantbclr)1526 PRINT *, x%Npoints 1527 PRINT *, x%Ncolumns 1528 PRINT *, x%Nlevels 1529 1530 PRINT *, '%%%%----- Information on COSP_ISCCP ------' 1531 1532 PRINT *, 'shape(x%fq_isccp): ',shape(x%fq_isccp) 1533 PRINT *, 'shape(x%totalcldarea): ',shape(x%totalcldarea) 1534 PRINT *, 'shape(x%meantb): ',shape(x%meantb) 1535 PRINT *, 'shape(x%meantbclr): ',shape(x%meantbclr) 1536 1536 1537 print*, 'shape(x%meanptop): ',shape(x%meanptop)1538 print*, 'shape(x%meantaucld): ',shape(x%meantaucld)1539 print*, 'shape(x%meanalbedocld): ',shape(x%meanalbedocld)1540 print*, 'shape(x%boxtau): ',shape(x%boxtau)1541 print*, 'shape(x%boxptop): ',shape(x%boxptop)1537 PRINT *, 'shape(x%meanptop): ',shape(x%meanptop) 1538 PRINT *, 'shape(x%meantaucld): ',shape(x%meantaucld) 1539 PRINT *, 'shape(x%meanalbedocld): ',shape(x%meanalbedocld) 1540 PRINT *, 'shape(x%boxtau): ',shape(x%boxtau) 1541 PRINT *, 'shape(x%boxptop): ',shape(x%boxptop) 1542 1542 END SUBROUTINE COSP_ISCCP_PRINT 1543 1543 … … 1545 1545 type(cosp_vgrid),intent(in) :: x 1546 1546 1547 print*, '%%%%----- Information on COSP_VGRID ------'1548 print*, x%use_vgrid1549 print*, x%csat_vgrid1550 print*, x%Npoints1551 print*, x%Ncolumns1552 print*, x%Nlevels1553 print*, x%Nlvgrid1547 PRINT *, '%%%%----- Information on COSP_VGRID ------' 1548 PRINT *, x%use_vgrid 1549 PRINT *, x%csat_vgrid 1550 PRINT *, x%Npoints 1551 PRINT *, x%Ncolumns 1552 PRINT *, x%Nlevels 1553 PRINT *, x%Nlvgrid 1554 1554 ! Array with dimensions (Nlvgrid) 1555 print*, 'shape(x%z): ',shape(x%z)1556 print*, 'shape(x%zl): ',shape(x%zl)1557 print*, 'shape(x%zu): ',shape(x%zu)1555 PRINT *, 'shape(x%z): ',shape(x%z) 1556 PRINT *, 'shape(x%zl): ',shape(x%zl) 1557 PRINT *, 'shape(x%zu): ',shape(x%zu) 1558 1558 ! Array with dimensions (Nlevels) 1559 print*, 'shape(x%mz): ',shape(x%mz)1560 print*, 'shape(x%mzl): ',shape(x%mzl)1561 print*, 'shape(x%mzu): ',shape(x%mzu)1559 PRINT *, 'shape(x%mz): ',shape(x%mz) 1560 PRINT *, 'shape(x%mzl): ',shape(x%mzl) 1561 PRINT *, 'shape(x%mzu): ',shape(x%mzu) 1562 1562 END SUBROUTINE COSP_VGRID_PRINT 1563 1563 … … 1565 1565 type(cosp_sglidar),intent(in) :: x 1566 1566 1567 print*, '%%%%----- Information on COSP_SGLIDAR ------'1567 PRINT *, '%%%%----- Information on COSP_SGLIDAR ------' 1568 1568 ! Dimensions 1569 print*, x%Npoints1570 print*, x%Ncolumns1571 print*, x%Nlevels1572 print*, x%Nhydro1573 print*, x%Nrefl1569 PRINT *, x%Npoints 1570 PRINT *, x%Ncolumns 1571 PRINT *, x%Nlevels 1572 PRINT *, x%Nhydro 1573 PRINT *, x%Nrefl 1574 1574 ! Arrays with dimensions (Npoints,Nlevels) 1575 print*, 'shape(x%beta_mol): ',shape(x%beta_mol)1575 PRINT *, 'shape(x%beta_mol): ',shape(x%beta_mol) 1576 1576 ! Arrays with dimensions (Npoints,Ncolumns,Nlevels) 1577 print*, 'shape(x%beta_tot): ',shape(x%beta_tot)1578 print*, 'shape(x%tau_tot): ',shape(x%tau_tot)1577 PRINT *, 'shape(x%beta_tot): ',shape(x%beta_tot) 1578 PRINT *, 'shape(x%tau_tot): ',shape(x%tau_tot) 1579 1579 ! Arrays with dimensions (Npoints,Ncolumns,Nrefl) 1580 print*, 'shape(x%refl): ',shape(x%refl)1580 PRINT *, 'shape(x%refl): ',shape(x%refl) 1581 1581 END SUBROUTINE COSP_SGLIDAR_PRINT 1582 1582 … … 1584 1584 type(cosp_sgradar),intent(in) :: x 1585 1585 1586 print*, '%%%%----- Information on COSP_SGRADAR ------'1587 print*, x%Npoints1588 print*, x%Ncolumns1589 print*, x%Nlevels1590 print*, x%Nhydro1586 PRINT *, '%%%%----- Information on COSP_SGRADAR ------' 1587 PRINT *, x%Npoints 1588 PRINT *, x%Ncolumns 1589 PRINT *, x%Nlevels 1590 PRINT *, x%Nhydro 1591 1591 ! output vertical levels: spaceborne radar -> from TOA to SURFACE 1592 1592 ! Arrays with dimensions (Npoints,Nlevels) 1593 print*, 'shape(x%att_gas): ', shape(x%att_gas)1593 PRINT *, 'shape(x%att_gas): ', shape(x%att_gas) 1594 1594 ! Arrays with dimensions (Npoints,Ncolumns,Nlevels) 1595 print*, 'shape(x%Ze_tot): ', shape(x%Ze_tot)1595 PRINT *, 'shape(x%Ze_tot): ', shape(x%Ze_tot) 1596 1596 END SUBROUTINE COSP_SGRADAR_PRINT 1597 1597 … … 1599 1599 type(cosp_radarstats),intent(in) :: x 1600 1600 1601 print*, '%%%%----- Information on COSP_SGRADAR ------'1602 print*, x%Npoints1603 print*, x%Ncolumns1604 print*, x%Nlevels1605 print*, x%Nhydro1606 print*, 'shape(x%cfad_ze): ',shape(x%cfad_ze)1607 print*, 'shape(x%radar_lidar_tcc): ',shape(x%radar_lidar_tcc)1608 print*, 'shape(x%lidar_only_freq_cloud): ',shape(x%lidar_only_freq_cloud)1601 PRINT *, '%%%%----- Information on COSP_SGRADAR ------' 1602 PRINT *, x%Npoints 1603 PRINT *, x%Ncolumns 1604 PRINT *, x%Nlevels 1605 PRINT *, x%Nhydro 1606 PRINT *, 'shape(x%cfad_ze): ',shape(x%cfad_ze) 1607 PRINT *, 'shape(x%radar_lidar_tcc): ',shape(x%radar_lidar_tcc) 1608 PRINT *, 'shape(x%lidar_only_freq_cloud): ',shape(x%lidar_only_freq_cloud) 1609 1609 END SUBROUTINE COSP_RADARSTATS_PRINT 1610 1610 … … 1612 1612 type(cosp_lidarstats),intent(in) :: x 1613 1613 1614 print*, '%%%%----- Information on COSP_SGLIDAR ------'1615 print*, x%Npoints1616 print*, x%Ncolumns1617 print*, x%Nlevels1618 print*, x%Nhydro1619 print*, x%Nrefl1614 PRINT *, '%%%%----- Information on COSP_SGLIDAR ------' 1615 PRINT *, x%Npoints 1616 PRINT *, x%Ncolumns 1617 PRINT *, x%Nlevels 1618 PRINT *, x%Nhydro 1619 PRINT *, x%Nrefl 1620 1620 1621 1621 ! Arrays with dimensions (SR_BINS) 1622 print*, 'shape(x%srbval): ',shape(x%srbval)1622 PRINT *, 'shape(x%srbval): ',shape(x%srbval) 1623 1623 ! Arrays with dimensions (Npoints,SR_BINS,Nlevels) 1624 print*, 'shape(x%cfad_sr): ',shape(x%cfad_sr)1624 PRINT *, 'shape(x%cfad_sr): ',shape(x%cfad_sr) 1625 1625 ! ! Arrays with dimensions (Npoints,Ncolumns,Nlevels) !TIBO 1626 ! print*, 'shape(x%profSR): ',shape(x%profSR) !TIBO1626 ! PRINT *, 'shape(x%profSR): ',shape(x%profSR) !TIBO 1627 1627 ! Arrays with dimensions (Npoints,Nlevels,Ncolumns) !TIBO2 1628 print*, 'shape(x%profSR): ',shape(x%profSR) !TIBO21628 PRINT *, 'shape(x%profSR): ',shape(x%profSR) !TIBO2 1629 1629 ! Arrays with dimensions (Npoints,Nlevels) 1630 print*, 'shape(x%lidarcld): ',shape(x%lidarcld)1631 print*, 'shape(x%proftemp): ',shape(x%proftemp) !TIBO1630 PRINT *, 'shape(x%lidarcld): ',shape(x%lidarcld) 1631 PRINT *, 'shape(x%proftemp): ',shape(x%proftemp) !TIBO 1632 1632 ! Arrays with dimensions (Npoints,LIDAR_NCAT) 1633 print*, 'shape(x%cldlayer): ',shape(x%cldlayer)1633 PRINT *, 'shape(x%cldlayer): ',shape(x%cldlayer) 1634 1634 ! Arrays with dimensions (Npoints,LIDAR_NTYPE) !OPAQ 1635 print*, 'shape(x%cldtype): ',shape(x%cldtype) !OPAQ1635 PRINT *, 'shape(x%cldtype): ',shape(x%cldtype) !OPAQ 1636 1636 ! Arrays with dimensions (Npoints,PARASOL_NREFL) 1637 print*, 'shape(x%parasolrefl): ',shape(x%parasolrefl)1637 PRINT *, 'shape(x%parasolrefl): ',shape(x%parasolrefl) 1638 1638 ! Arrays with dimensions (Npoints,Nlevels,Nphase) 1639 print*, 'shape(x%lidarcldphase): ',shape(x%lidarcldphase)1639 PRINT *, 'shape(x%lidarcldphase): ',shape(x%lidarcldphase) 1640 1640 ! Arrays with dimensions (Npoints,Nlevels,LIDAR_NTYPE+1) !OPAQ 1641 print*, 'shape(x%lidarcldtype): ',shape(x%lidarcldtype) !OPAQ1641 PRINT *, 'shape(x%lidarcldtype): ',shape(x%lidarcldtype) !OPAQ 1642 1642 ! Arrays with dimensions (Npoints,LIDAR_NCAT,Nphase) 1643 print*, 'shape(x%cldlayerphase): ',shape(x%cldlayerphase)1643 PRINT *, 'shape(x%cldlayerphase): ',shape(x%cldlayerphase) 1644 1644 ! Arrays with dimensions (Npoints,Ntemps,Nphase) 1645 print*, 'shape(x%lidarcldphase): ',shape(x%lidarcldtmp)1645 PRINT *, 'shape(x%lidarcldphase): ',shape(x%lidarcldtmp) 1646 1646 1647 1647 END SUBROUTINE COSP_LIDARSTATS_PRINT … … 1650 1650 type(cosp_subgrid),intent(in) :: x 1651 1651 1652 print*, '%%%%----- Information on COSP_SUBGRID ------'1653 print*, x%Npoints1654 print*, x%Ncolumns1655 print*, x%Nlevels1656 print*, x%Nhydro1657 1658 print*, 'shape(x%prec_frac): ',shape(x%prec_frac)1659 print*, 'shape(x%frac_out): ',shape(x%frac_out)1652 PRINT *, '%%%%----- Information on COSP_SUBGRID ------' 1653 PRINT *, x%Npoints 1654 PRINT *, x%Ncolumns 1655 PRINT *, x%Nlevels 1656 PRINT *, x%Nhydro 1657 1658 PRINT *, 'shape(x%prec_frac): ',shape(x%prec_frac) 1659 PRINT *, 'shape(x%frac_out): ',shape(x%frac_out) 1660 1660 END SUBROUTINE COSP_SUBGRID_PRINT 1661 1661 … … 1663 1663 type(cosp_sghydro),intent(in) :: x 1664 1664 1665 print*, '%%%%----- Information on COSP_SGHYDRO ------'1666 print*, x%Npoints1667 print*, x%Ncolumns1668 print*, x%Nlevels1669 print*, x%Nhydro1670 1671 print*, 'shape(x%mr_hydro): ',shape(x%mr_hydro)1672 print*, 'shape(x%Reff): ',shape(x%Reff)1673 print*, 'shape(x%Np): ',shape(x%Np) ! added by roj with Quickbeam V31665 PRINT *, '%%%%----- Information on COSP_SGHYDRO ------' 1666 PRINT *, x%Npoints 1667 PRINT *, x%Ncolumns 1668 PRINT *, x%Nlevels 1669 PRINT *, x%Nhydro 1670 1671 PRINT *, 'shape(x%mr_hydro): ',shape(x%mr_hydro) 1672 PRINT *, 'shape(x%Reff): ',shape(x%Reff) 1673 PRINT *, 'shape(x%Np): ',shape(x%Np) ! added by roj with Quickbeam V3 1674 1674 END SUBROUTINE COSP_SGHYDRO_PRINT 1675 1675 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/mod_cosp_utils.F90
r5158 r5160 273 273 endif 274 274 275 if (l_min) print*,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val276 if (l_max) print*,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val275 if (l_min) PRINT *,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val 276 if (l_max) PRINT *,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val 277 277 END SUBROUTINE COSP_CHECK_INPUT_1D 278 278 !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 308 308 endif 309 309 310 if (l_min) print*,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val311 if (l_max) print*,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val310 if (l_min) PRINT *,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val 311 if (l_max) PRINT *,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val 312 312 END SUBROUTINE COSP_CHECK_INPUT_2D 313 313 !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 343 343 endif 344 344 345 if (l_min) print*,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val346 if (l_max) print*,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val345 if (l_min) PRINT *,'----- WARNING: '//trim(pro_name)//': minimum value of '//trim(vname)//' set to: ',min_val 346 if (l_max) PRINT *,'----- WARNING: '//trim(pro_name)//': maximum value of '//trim(vname)//' set to: ',max_val 347 347 END SUBROUTINE COSP_CHECK_INPUT_3D 348 348 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/mod_lmd_ipsl_stats.F90
r5158 r5160 372 372 373 373 if ( Ncat .ne. 4 ) then 374 print*,'Error in lmd_ipsl_stats.cosp_cldfrac, Ncat must be 4, not',Ncat374 PRINT *,'Error in lmd_ipsl_stats.cosp_cldfrac, Ncat must be 4, not',Ncat 375 375 stop 376 376 endif … … 918 918 enddo 919 919 checkcldlayerphase2=cldlayer(i,iz)-checkcldlayerphase 920 if( (checkcldlayerphase2.gt.0.01).or.(checkcldlayerphase2.lt.-0.01) ) print*, checkcldlayerphase,cldlayer(i,iz)920 if( (checkcldlayerphase2.gt.0.01).or.(checkcldlayerphase2.lt.-0.01) ) PRINT *, checkcldlayerphase,cldlayer(i,iz) 921 921 922 922 endif … … 962 962 963 963 if(checktemp.NE.lidarcldtemp(i,itemp,1))then 964 print*, i,itemp965 print*, lidarcldtemp(i,itemp,1:4)964 PRINT *, i,itemp 965 PRINT *, lidarcldtemp(i,itemp,1:4) 966 966 endif 967 967 -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/optics_lib.F90
r5158 r5160 512 512 alam=3E5/freq 513 513 if((alam < wlmin) .or. (alam > wlmax)) then 514 print*, 'm_ice: wavelength out of bounds'514 PRINT *, 'm_ice: wavelength out of bounds' 515 515 stop 516 516 endif -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/phys_cosp.F90
r5158 r5160 223 223 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 224 224 ! AI mars 2017 225 ! print*, 'Allocating memory for gridbox type...'225 ! PRINT *, 'Allocating memory for gridbox type...' 226 226 227 227 ! Surafce emissivity … … 240 240 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 241 241 242 ! print*, 'Populating input structure...'242 ! PRINT *, 'Populating input structure...' 243 243 gbx%longitude = lon 244 244 gbx%latitude = lat … … 324 324 ! Define new vertical grid 325 325 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 326 ! print*, 'Defining new vertical grid...'326 ! PRINT *, 'Defining new vertical grid...' 327 327 call construct_cosp_vgrid(gbx,Nlr,use_vgrid,csat_vgrid,vgrid) 328 328 … … 330 330 ! Allocate memory for other types 331 331 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 332 ! print*, 'Allocating memory for other types...'332 ! PRINT *, 'Allocating memory for other types...' 333 333 call construct_cosp_subgrid(Npoints, Ncolumns, Nlevels, sgx) 334 334 call construct_cosp_sgradar(cfg,Npoints,Ncolumns,Nlevels,N_HYDRO,sgradar) … … 347 347 348 348 !$OMP MASTER 349 ! print*, ' Open outpts files and define axis'349 ! PRINT *, ' Open outpts files and define axis' 350 350 call cosp_output_open(Nlevlmdz, Ncolumns, presnivs, dtime, freq_cosp, & 351 351 ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, ok_all_xml, & … … 358 358 ! Call simulator 359 359 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 360 ! print*, 'Calling simulator...'360 ! PRINT *, 'Calling simulator...' 361 361 !! AI 362 362 ! call cosp(overlap,Ncolumns,cfg,vgrid,gbx,sgx,sgradar,sglidar,isccp,misr,stradar,stlidar) … … 371 371 !!!!!!!!!!!!!!!!!! Ecreture des sorties Cosp !!!!!!!!!!!!!!r!!!!!!:!!!!! 372 372 373 ! print*, 'Calling write output'373 ! PRINT *, 'Calling write output' 374 374 if (.NOT. debut_cosp) call cosp_output_write(Nlevlmdz, Npoints, Ncolumns, itap, dtime, freq_COSP, missing_val, & 375 375 cfg, gbx, vgrid, sglidar, sgradar, stlidar, stradar, & … … 379 379 ! Deallocate memory in derived types 380 380 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 381 ! print*, 'Deallocating memory...'381 ! PRINT *, 'Deallocating memory...' 382 382 call free_cosp_gridbox(gbx) 383 383 call free_cosp_subgrid(sgx) … … 397 397 ! Time in s. Only for testing purposes 398 398 ! call system_clock(t1,count_rate,count_max) 399 ! print*,(t1-t0)*1.0/count_rate399 ! PRINT *,(t1-t0)*1.0/count_rate 400 400 if (debut_cosp) then 401 401 debut_cosp=.false. -
LMDZ6/branches/Amaury_dev/libf/phylmd/cosp/radar_simulator.F90
r5158 r5160 213 213 else 214 214 if (Np_matrix(tp,pr,k)>0) then 215 print*, 'Warning: Re and Np set for the same ', &215 PRINT *, 'Warning: Re and Np set for the same ', & 216 216 'volume & hydrometeor type. Np is being ignored.' 217 217 endif
Note: See TracChangeset
for help on using the changeset viewer.