314 subroutine read_mp_table_parameters(errmsg, errflg)
317 character(len=*),
intent(out) :: errmsg
318 integer,
intent(out) :: errflg
321 character(len=256) :: dataset_identifier
322 character(len=256) :: veg_dataset_description
323 logical :: file_named
324 integer :: ierr, ik, im
325 integer :: nveg, isurban, iswater, isbarren, isice, iscrop, eblforest, natural
326 integer :: lcz_1, lcz_2, lcz_3, lcz_4, lcz_5, lcz_6, lcz_7, lcz_8, lcz_9, lcz_10, lcz_11
327 real (kind=kind_phys),
dimension(mvt) :: sai_jan, sai_feb, sai_mar, sai_apr, sai_may, sai_jun, sai_jul, sai_aug, &
328 sai_sep, sai_oct, sai_nov, sai_dec, lai_jan, lai_feb, lai_mar, lai_apr, &
329 lai_may, lai_jun, lai_jul, lai_aug, lai_sep, lai_oct, lai_nov, lai_dec, &
330 rhol_vis, rhol_nir, rhos_vis, rhos_nir, taul_vis, taul_nir, taus_vis, taus_nir,&
331 ch2op, dleaf, z0mvt, hvt, hvb, z0mhvt, &
332 den, rc, mfsno, scffac, cbiom, xl, cwpvt, c3psn, kc25, &
333 akc, ko25, ako, avcmx, aqe, ltovrc, dilefc, dilefw, rmf25, sla, fragr, tmin, &
334 vcmx25, tdlef, bp, mp, qe25, rms25, rmr25, arm, folnmx, wdpool, wrrat, mrp, &
335 nroot, rgl, rs, hs, topt, rsmax, rtovrc, rswoodc, bf, wstrc, laimin, &
336 xsamin, eps1, eps2, eps3, eps4, eps5
337 namelist / noahmp_usgs_veg_categories / veg_dataset_description, nveg
338 namelist / noahmp_usgs_parameters / isurban, iswater, isbarren, isice, iscrop, eblforest, natural, &
339 lcz_1, lcz_2, lcz_3, lcz_4, lcz_5, lcz_6, lcz_7, lcz_8, lcz_9, lcz_10, lcz_11, &
340 ch2op, dleaf, z0mvt, hvt, hvb, z0mhvt, &
341 den, rc, mfsno, scffac, cbiom, xl, cwpvt, c3psn, kc25, &
342 akc, ko25, ako, avcmx, aqe, ltovrc, dilefc, dilefw, rmf25, sla, fragr, tmin, &
343 vcmx25, tdlef, bp, mp, qe25, rms25, rmr25, arm, folnmx, wdpool, wrrat, mrp, &
344 nroot, rgl, rs, hs, topt, rsmax, rtovrc, rswoodc, bf, wstrc, laimin, &
345 xsamin, sai_jan, sai_feb, sai_mar, sai_apr, sai_may, &
346 sai_jun, sai_jul, sai_aug, sai_sep, sai_oct, sai_nov, sai_dec, lai_jan, &
347 lai_feb, lai_mar, lai_apr, lai_may, lai_jun, lai_jul, lai_aug, lai_sep, &
348 lai_oct, lai_nov, lai_dec, rhol_vis, rhol_nir, rhos_vis, rhos_nir, taul_vis, &
349 taul_nir, taus_vis, taus_nir, eps1, eps2, eps3, eps4, eps5
350 namelist / noahmp_modis_veg_categories / veg_dataset_description, nveg
351 namelist / noahmp_modis_parameters / isurban, iswater, isbarren, isice, iscrop, eblforest, natural, &
352 lcz_1, lcz_2, lcz_3, lcz_4, lcz_5, lcz_6, lcz_7, lcz_8, lcz_9, lcz_10, lcz_11, &
353 ch2op, dleaf, z0mvt, hvt, hvb, z0mhvt, &
354 den, rc, mfsno, scffac, cbiom, xl, cwpvt, c3psn, kc25, &
355 akc, ko25, ako, avcmx, aqe, ltovrc, dilefc, dilefw, rmf25, sla, fragr, tmin, &
356 vcmx25, tdlef, bp, mp, qe25, rms25, rmr25, arm, folnmx, wdpool, wrrat, mrp, &
357 nroot, rgl, rs, hs, topt, rsmax, rtovrc, rswoodc, bf, wstrc, laimin, &
358 xsamin, sai_jan, sai_feb, sai_mar, sai_apr, sai_may, &
359 sai_jun, sai_jul, sai_aug, sai_sep, sai_oct, sai_nov, sai_dec, lai_jan, &
360 lai_feb, lai_mar, lai_apr, lai_may, lai_jun, lai_jul, lai_aug, lai_sep, &
361 lai_oct, lai_nov, lai_dec, rhol_vis, rhol_nir, rhos_vis, rhos_nir, taul_vis, &
362 taul_nir, taus_vis, taus_nir, eps1, eps2, eps3, eps4, eps5
364 character(len=256) :: message
365 character(len=10) :: sltype
367 real (kind=kind_phys),
dimension(max_soiltyp) :: bb, drysmc, maxsmc, refsmc, satpsi, satdk, satdw, wltsmc, qtz, &
368 bvic, axaj, bxaj, xxaj, bdvic, bbvic, gdvic, hc
369 namelist / noahmp_stas_soil_categories / sltype, slcats
370 namelist / noahmp_soil_stas_parameters / bb, drysmc, maxsmc, refsmc, satpsi, satdk, satdw, wltsmc, qtz, &
371 bvic, axaj, bxaj, xxaj, bdvic, bbvic, gdvic
372 namelist / noahmp_soil_stas_ruc_parameters / bb, drysmc, hc, maxsmc, refsmc, satpsi, satdk, satdw, wltsmc, qtz, &
373 bvic, axaj, bxaj, xxaj, bdvic, bbvic, gdvic
376 real (kind=kind_phys) :: csoil_data, refdk_data, refkdt_data, frzk_data, zbot_data, czil_data
377 real (kind=kind_phys),
dimension(num_slope) :: slope_data
378 namelist / noahmp_general_parameters / slope_data, csoil_data, refdk_data, refkdt_data, frzk_data, zbot_data, &
382 real (kind=kind_phys) :: betads, betais, eice
383 real (kind=kind_phys),
dimension(mband) :: albice, alblak, omegas
384 real (kind=kind_phys),
dimension(2) :: eg
385 real (kind=kind_phys),
dimension(msc) :: albsat_vis, albsat_nir, albdry_vis, albdry_nir
386 namelist / noahmp_rad_parameters / albsat_vis, albsat_nir, albdry_vis, albdry_nir, albice, alblak, omegas, &
387 betads, betais, eg, eice
390 real (kind=kind_phys) :: co2, o2, timean, fsatmx, z0sno, ssi, snow_ret_fac ,snow_emis, swemx, tau0, &
391 grain_growth, extra_growth, dirt_soot, bats_cosz, bats_vis_new, &
392 bats_nir_new, bats_vis_age, bats_nir_age, bats_vis_dir, bats_nir_dir, &
393 rsurf_snow, rsurf_exp, c2_snowcompact, c3_snowcompact, c4_snowcompact, &
394 c5_snowcompact, dm_snowcompact, eta0_snowcompact, snliqmaxfrac, swemaxgla, &
395 wslmax, rous, cmic, snowden_max, class_alb_ref, class_sno_age, class_alb_new,&
396 psiwlt, z0soil, z0lake
397 namelist / noahmp_global_parameters / co2, o2, timean, fsatmx, z0sno, ssi, snow_ret_fac ,snow_emis, swemx, tau0, &
398 grain_growth, extra_growth, dirt_soot, bats_cosz, bats_vis_new, &
399 bats_nir_new, bats_vis_age, bats_nir_age, bats_vis_dir, bats_nir_dir, &
400 rsurf_snow, rsurf_exp, c2_snowcompact, c3_snowcompact, c4_snowcompact, &
401 c5_snowcompact, dm_snowcompact, eta0_snowcompact, snliqmaxfrac, swemaxgla, &
402 wslmax, rous, cmic, snowden_max, class_alb_ref, class_sno_age, class_alb_new,&
403 psiwlt, z0soil, z0lake
407 real (kind=kind_phys) :: irr_frac, irr_lai, irr_mad, filoss, sprir_rate, micir_rate, firtfac, ir_rain
408 namelist / noahmp_irrigation_parameters / irr_frac, irr_har, irr_lai, irr_mad, filoss, sprir_rate, micir_rate, firtfac,&
412 integer :: default_crop
413 integer ,
dimension(ncrop) :: pltday, hsday
414 real (kind=kind_phys),
dimension(ncrop) :: plantpop, irri, gddtbase, gddtcut, gdds1, gdds2, gdds3, gdds4, gdds5, c3psni,&
415 kc25i, akci, ko25i, akoi, avcmxi, vcmx25i, bpi, mpi, folnmxi, qe25i, aref, &
416 psnrf, i2par, tassim0, tassim1, tassim2, k, epsi, q10mr, lefreez, &
417 dile_fc_s1, dile_fc_s2, dile_fc_s3, dile_fc_s4, dile_fc_s5, dile_fc_s6, &
418 dile_fc_s7, dile_fc_s8, dile_fw_s1, dile_fw_s2, dile_fw_s3, dile_fw_s4, &
419 dile_fw_s5, dile_fw_s6, dile_fw_s7, dile_fw_s8, fra_gr, lf_ovrc_s1, &
420 lf_ovrc_s2, lf_ovrc_s3, lf_ovrc_s4, lf_ovrc_s5, lf_ovrc_s6, lf_ovrc_s7, &
421 lf_ovrc_s8, st_ovrc_s1, st_ovrc_s2, st_ovrc_s3, st_ovrc_s4, st_ovrc_s5, &
422 st_ovrc_s6, st_ovrc_s7, st_ovrc_s8, rt_ovrc_s1, rt_ovrc_s2, rt_ovrc_s3, &
423 rt_ovrc_s4, rt_ovrc_s5, rt_ovrc_s6, rt_ovrc_s7, rt_ovrc_s8, lfmr25, stmr25, &
424 rtmr25, grainmr25, lfpt_s1, lfpt_s2, lfpt_s3, lfpt_s4, lfpt_s5, lfpt_s6, &
425 lfpt_s7, lfpt_s8, stpt_s1, stpt_s2, stpt_s3, stpt_s4, stpt_s5, stpt_s6, &
426 stpt_s7, stpt_s8, rtpt_s1, rtpt_s2, rtpt_s3, rtpt_s4, rtpt_s5, rtpt_s6, &
427 rtpt_s7, rtpt_s8, grainpt_s1, grainpt_s2, grainpt_s3, grainpt_s4, grainpt_s5,&
428 grainpt_s6, grainpt_s7, grainpt_s8, lfct_s1, lfct_s2, lfct_s3, lfct_s4, &
429 lfct_s5, lfct_s6, lfct_s7, lfct_s8, stct_s1, stct_s2, stct_s3, stct_s4, &
430 stct_s5, stct_s6, stct_s7, stct_s8, rtct_s1, rtct_s2, rtct_s3, rtct_s4, &
431 rtct_s5, rtct_s6, rtct_s7, rtct_s8, bio2lai
432 namelist / noahmp_crop_parameters / default_crop, pltday, hsday, plantpop, irri, gddtbase, gddtcut, gdds1, gdds2,&
433 gdds3, gdds4, gdds5, c3psni, kc25i, akci, ko25i, akoi, avcmxi, vcmx25i, bpi, &
434 mpi, folnmxi, qe25i, aref, psnrf, i2par, tassim0, tassim1, tassim2, k, &
435 epsi,q10mr, lefreez, dile_fc_s1, dile_fc_s2, dile_fc_s3, dile_fc_s4, &
436 dile_fc_s5, dile_fc_s6, dile_fc_s7, dile_fc_s8, dile_fw_s1, dile_fw_s2, &
437 dile_fw_s3, dile_fw_s4, dile_fw_s5, dile_fw_s6, dile_fw_s7, dile_fw_s8, &
438 fra_gr, lf_ovrc_s1, lf_ovrc_s2, lf_ovrc_s3, lf_ovrc_s4, lf_ovrc_s5, &
439 lf_ovrc_s6, lf_ovrc_s7, lf_ovrc_s8, st_ovrc_s1, st_ovrc_s2, st_ovrc_s3, &
440 st_ovrc_s4, st_ovrc_s5, st_ovrc_s6, st_ovrc_s7, st_ovrc_s8, rt_ovrc_s1, &
441 rt_ovrc_s2, rt_ovrc_s3, rt_ovrc_s4, rt_ovrc_s5, rt_ovrc_s6, rt_ovrc_s7, &
442 rt_ovrc_s8, lfmr25, stmr25, rtmr25, grainmr25, lfpt_s1, lfpt_s2, lfpt_s3, &
443 lfpt_s4, lfpt_s5, lfpt_s6, lfpt_s7, lfpt_s8, stpt_s1, stpt_s2, stpt_s3, &
444 stpt_s4, stpt_s5, stpt_s6, stpt_s7, stpt_s8, rtpt_s1, rtpt_s2, rtpt_s3, &
445 rtpt_s4, rtpt_s5, rtpt_s6, rtpt_s7, rtpt_s8, grainpt_s1, grainpt_s2, &
446 grainpt_s3, grainpt_s4, grainpt_s5, grainpt_s6, grainpt_s7, grainpt_s8, &
447 lfct_s1, lfct_s2, lfct_s3, lfct_s4, lfct_s5, lfct_s6, lfct_s7, lfct_s8, &
448 stct_s1, stct_s2, stct_s3, stct_s4, stct_s5, stct_s6, stct_s7, stct_s8, &
449 rtct_s1, rtct_s2, rtct_s3, rtct_s4, rtct_s5, rtct_s6, rtct_s7, rtct_s8, &
453 integer :: nsoiltype, drain_layer_opt
454 integer ,
dimension(max_soiltyp) :: td_depth
455 real (kind=kind_phys),
dimension(max_soiltyp) :: tdsmc_fac, td_dc, td_dcoef, td_d, td_adepth, td_radi, td_spac, &
457 namelist / noahmp_tiledrain_parameters / nsoiltype, drain_layer_opt, tdsmc_fac, td_depth, td_dc, td_dcoef, td_d,&
458 td_adepth, td_radi, td_spac, td_ddrain, klat_fac
461 real (kind=kind_phys) :: sr2006_theta_1500t_a, sr2006_theta_1500t_b, sr2006_theta_1500t_c, &
462 sr2006_theta_1500t_d, sr2006_theta_1500t_e, sr2006_theta_1500t_f, &
463 sr2006_theta_1500t_g, sr2006_theta_1500_a , sr2006_theta_1500_b, &
464 sr2006_theta_33t_a, sr2006_theta_33t_b, sr2006_theta_33t_c, &
465 sr2006_theta_33t_d, sr2006_theta_33t_e, sr2006_theta_33t_f, &
466 sr2006_theta_33t_g, sr2006_theta_33_a, sr2006_theta_33_b, &
467 sr2006_theta_33_c, sr2006_theta_s33t_a, sr2006_theta_s33t_b, &
468 sr2006_theta_s33t_c, sr2006_theta_s33t_d, sr2006_theta_s33t_e, &
469 sr2006_theta_s33t_f, sr2006_theta_s33t_g, sr2006_theta_s33_a, &
470 sr2006_theta_s33_b, sr2006_psi_et_a, sr2006_psi_et_b, sr2006_psi_et_c, &
471 sr2006_psi_et_d, sr2006_psi_et_e, sr2006_psi_et_f, sr2006_psi_et_g, &
472 sr2006_psi_e_a, sr2006_psi_e_b, sr2006_psi_e_c, sr2006_smcmax_a, &
474 namelist / noahmp_optional_parameters / sr2006_theta_1500t_a, sr2006_theta_1500t_b, sr2006_theta_1500t_c, &
475 sr2006_theta_1500t_d, sr2006_theta_1500t_e, sr2006_theta_1500t_f, &
476 sr2006_theta_1500t_g, sr2006_theta_1500_a, sr2006_theta_1500_b, &
477 sr2006_theta_33t_a, sr2006_theta_33t_b, sr2006_theta_33t_c, &
478 sr2006_theta_33t_d, sr2006_theta_33t_e, sr2006_theta_33t_f, &
479 sr2006_theta_33t_g, sr2006_theta_33_a, sr2006_theta_33_b, &
480 sr2006_theta_33_c, sr2006_theta_s33t_a, sr2006_theta_s33t_b, &
481 sr2006_theta_s33t_c, sr2006_theta_s33t_d, sr2006_theta_s33t_e, &
482 sr2006_theta_s33t_f, sr2006_theta_s33t_g, sr2006_theta_s33_a, &
483 sr2006_theta_s33_b, sr2006_psi_et_a, sr2006_psi_et_b, sr2006_psi_et_c, &
484 sr2006_psi_et_d, sr2006_psi_et_e, sr2006_psi_et_f, sr2006_psi_et_g, &
485 sr2006_psi_e_a, sr2006_psi_e_b, sr2006_psi_e_c, sr2006_smcmax_a, &
493 isurban_table = -99999
494 iswater_table = -99999
495 isbarren_table = -99999
497 iscrop_table = -99999
498 eblforest_table = -99999
499 natural_table = -99999
509 lcz_10_table = -99999
510 lcz_11_table = -99999
511 ch2op_table = -1.0e36
512 dleaf_table = -1.0e36
513 z0mvt_table = -1.0e36
516 z0mhvt_table = -1.0e36
519 mfsno_table = -1.0e36
520 scffac_table = -1.0e36
521 cbiom_table = -1.0e36
527 cwpvt_table = -1.0e36
528 c3psn_table = -1.0e36
533 avcmx_table = -1.0e36
535 ltovrc_table = -1.0e36
536 dilefc_table = -1.0e36
537 dilefw_table = -1.0e36
538 rmf25_table = -1.0e36
540 fragr_table = -1.0e36
542 vcmx25_table = -1.0e36
543 tdlef_table = -1.0e36
547 rms25_table = -1.0e36
548 rmr25_table = -1.0e36
550 folnmx_table = -1.0e36
551 wdpool_table = -1.0e36
552 wrrat_table = -1.0e36
556 nroot_table = -1.0e36
561 rsmax_table = -1.0e36
573 smcdry_table = -1.0e36
575 smcmax_table = -1.0e36
576 smcref_table = -1.0e36
577 psisat_table = -1.0e36
578 dksat_table = -1.0e36
579 dwsat_table = -1.0e36
580 smcwlt_table = -1.0e36
581 quartz_table = -1.0e36
586 bdvic_table = -1.0e36
587 gdvic_table = -1.0e36
588 bbvic_table = -1.0e36
591 slope_table = -1.0e36
592 csoil_table = -1.0e36
593 refdk_table = -1.0e36
594 refkdt_table = -1.0e36
600 albsat_table = -1.0e36
601 albdry_table = -1.0e36
602 albice_table = -1.0e36
603 alblak_table = -1.0e36
604 omegas_table = -1.0e36
605 betads_table = -1.0e36
606 betais_table = -1.0e36
613 timean_table = -1.0e36
614 fsatmx_table = -1.0e36
615 z0sno_table = -1.0e36
617snow_ret_fac_table = -1.0e36
618 snow_emis_table = -1.0e36
619 swemx_table = -1.0e36
621grain_growth_table = -1.0e36
622extra_growth_table = -1.0e36
623 dirt_soot_table = -1.0e36
624 bats_cosz_table = -1.0e36
625bats_vis_new_table = -1.0e36
626bats_nir_new_table = -1.0e36
627bats_vis_age_table = -1.0e36
628bats_nir_age_table = -1.0e36
629bats_vis_dir_table = -1.0e36
630bats_nir_dir_table = -1.0e36
631rsurf_snow_table = -1.0e36
632 rsurf_exp_table = -1.0e36
654 irr_har_table = -99999
655 irr_frac_table = -1.0e36
656 irr_lai_table = -1.0e36
657 irr_mad_table = -1.0e36
658 filoss_table = -1.0e36
659 sprir_rate_table = -1.0e36
660 micir_rate_table = -1.0e36
661 firtfac_table = -1.0e36
662 ir_rain_table = -1.0e36
665 default_crop_table = -99999
666 pltday_table = -99999
668 plantpop_table = -1.0e36
670 gddtbase_table = -1.0e36
671 gddtcut_table = -1.0e36
672 gdds1_table = -1.0e36
673 gdds2_table = -1.0e36
674 gdds3_table = -1.0e36
675 gdds4_table = -1.0e36
676 gdds5_table = -1.0e36
677 c3psni_table = -1.0e36
678 kc25i_table = -1.0e36
680 ko25i_table = -1.0e36
682 avcmxi_table = -1.0e36
683 vcmx25i_table = -1.0e36
686 folnmxi_table = -1.0e36
687 qe25i_table = -1.0e36
690 psnrf_table = -1.0e36
691 i2par_table = -1.0e36
692 tassim0_table = -1.0e36
693 tassim1_table = -1.0e36
694 tassim2_table = -1.0e36
697 q10mr_table = -1.0e36
698 foln_mx_table = -1.0e36
699 lefreez_table = -1.0e36
700 dile_fc_table = -1.0e36
701 dile_fw_table = -1.0e36
702 fra_gr_table = -1.0e36
703 lf_ovrc_table = -1.0e36
704 st_ovrc_table = -1.0e36
705 rt_ovrc_table = -1.0e36
706 lfmr25_table = -1.0e36
707 stmr25_table = -1.0e36
708 rtmr25_table = -1.0e36
709 grainmr25_table = -1.0e36
713 grainpt_table = -1.0e36
717 bio2lai_table = -1.0e36
721 drain_layer_opt_table = -99999
722 td_depth_table = -99999
723 tdsmc_fac_table = -1.0e36
724 td_dc_table = -1.0e36
725 td_dcoef_table = -1.0e36
727 td_adepth_table = -1.0e36
728 td_radi_table = -1.0e36
729 td_spac_table = -1.0e36
730 td_ddrain_table = -1.0e36
731 klat_fac_table = -1.0e36
781 dataset_identifier =
"modified_igbp_modis_noah"
783 inquire( file=
'noahmptable.tbl', exist=file_named )
784 if ( file_named )
then
785 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
787 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
789 if ( ierr /= 0 )
then
790 errmsg =
'warning: cannot find file noahmptable.tbl'
796 if ( trim(dataset_identifier) ==
"usgs" )
then
797 read(15, noahmp_usgs_veg_categories)
798 read(15, noahmp_usgs_parameters)
799 elseif ( trim(dataset_identifier) ==
"modified_igbp_modis_noah" )
then
800 read(15,noahmp_modis_veg_categories)
801 read(15,noahmp_modis_parameters)
803 write(*,
'("warning: unrecognized dataset_identifier in subroutine readnoahmptable")')
804 write(*,
'("warning: dataset_identifier = ''", a, "''")') trim(dataset_identifier)
810 isurban_table = isurban
811 iswater_table = iswater
812 isbarren_table = isbarren
814 iscrop_table = iscrop
815 eblforest_table = eblforest
816 natural_table = natural
826 lcz_10_table = lcz_10
827 lcz_11_table = lcz_11
828 ch2op_table(1:nveg) = ch2op(1:nveg)
829 dleaf_table(1:nveg) = dleaf(1:nveg)
830 z0mvt_table(1:nveg) = z0mvt(1:nveg)
831 hvt_table(1:nveg) = hvt(1:nveg)
832 hvb_table(1:nveg) = hvb(1:nveg)
833 z0mhvt_table(1:nveg) = z0mhvt(1:nveg)
834 den_table(1:nveg) = den(1:nveg)
835 rc_table(1:nveg) = rc(1:nveg)
836 mfsno_table(1:nveg) = mfsno(1:nveg)
837 scffac_table(1:nveg) = scffac(1:nveg)
838 cbiom_table(1:nveg) = cbiom(1:nveg)
839 xl_table(1:nveg) = xl(1:nveg)
840 cwpvt_table(1:nveg) = cwpvt(1:nveg)
841 c3psn_table(1:nveg) = c3psn(1:nveg)
842 kc25_table(1:nveg) = kc25(1:nveg)
843 akc_table(1:nveg) = akc(1:nveg)
844 ko25_table(1:nveg) = ko25(1:nveg)
845 ako_table(1:nveg) = ako(1:nveg)
846 avcmx_table(1:nveg) = avcmx(1:nveg)
847 aqe_table(1:nveg) = aqe(1:nveg)
848 ltovrc_table(1:nveg) = ltovrc(1:nveg)
849 dilefc_table(1:nveg) = dilefc(1:nveg)
850 dilefw_table(1:nveg) = dilefw(1:nveg)
851 rmf25_table(1:nveg) = rmf25(1:nveg)
852 sla_table(1:nveg) = sla(1:nveg)
853 fragr_table(1:nveg) = fragr(1:nveg)
854 tmin_table(1:nveg) = tmin(1:nveg)
855 vcmx25_table(1:nveg) = vcmx25(1:nveg)
856 tdlef_table(1:nveg) = tdlef(1:nveg)
857 bp_table(1:nveg) = bp(1:nveg)
858 mp_table(1:nveg) = mp(1:nveg)
859 qe25_table(1:nveg) = qe25(1:nveg)
860 rms25_table(1:nveg) = rms25(1:nveg)
861 rmr25_table(1:nveg) = rmr25(1:nveg)
862 arm_table(1:nveg) = arm(1:nveg)
863 folnmx_table(1:nveg) = folnmx(1:nveg)
864 wdpool_table(1:nveg) = wdpool(1:nveg)
865 wrrat_table(1:nveg) = wrrat(1:nveg)
866 mrp_table(1:nveg) = mrp(1:nveg)
867 nroot_table(1:nveg) = nroot(1:nveg)
868 rgl_table(1:nveg) = rgl(1:nveg)
869 rs_table(1:nveg) = rs(1:nveg)
870 hs_table(1:nveg) = hs(1:nveg)
871 topt_table(1:nveg) = topt(1:nveg)
872 rsmax_table(1:nveg) = rsmax(1:nveg)
880 saim_table(1:nveg, 1) = sai_jan(1:nveg)
881 saim_table(1:nveg, 2) = sai_feb(1:nveg)
882 saim_table(1:nveg, 3) = sai_mar(1:nveg)
883 saim_table(1:nveg, 4) = sai_apr(1:nveg)
884 saim_table(1:nveg, 5) = sai_may(1:nveg)
885 saim_table(1:nveg, 6) = sai_jun(1:nveg)
886 saim_table(1:nveg, 7) = sai_jul(1:nveg)
887 saim_table(1:nveg, 8) = sai_aug(1:nveg)
888 saim_table(1:nveg, 9) = sai_sep(1:nveg)
889 saim_table(1:nveg,10) = sai_oct(1:nveg)
890 saim_table(1:nveg,11) = sai_nov(1:nveg)
891 saim_table(1:nveg,12) = sai_dec(1:nveg)
892 laim_table(1:nveg, 1) = lai_jan(1:nveg)
893 laim_table(1:nveg, 2) = lai_feb(1:nveg)
894 laim_table(1:nveg, 3) = lai_mar(1:nveg)
895 laim_table(1:nveg, 4) = lai_apr(1:nveg)
896 laim_table(1:nveg, 5) = lai_may(1:nveg)
897 laim_table(1:nveg, 6) = lai_jun(1:nveg)
898 laim_table(1:nveg, 7) = lai_jul(1:nveg)
899 laim_table(1:nveg, 8) = lai_aug(1:nveg)
900 laim_table(1:nveg, 9) = lai_sep(1:nveg)
901 laim_table(1:nveg,10) = lai_oct(1:nveg)
902 laim_table(1:nveg,11) = lai_nov(1:nveg)
903 laim_table(1:nveg,12) = lai_dec(1:nveg)
904 rhol_table(1:nveg,1) = rhol_vis(1:nveg)
905 rhol_table(1:nveg,2) = rhol_nir(1:nveg)
906 rhos_table(1:nveg,1) = rhos_vis(1:nveg)
907 rhos_table(1:nveg,2) = rhos_nir(1:nveg)
908 taul_table(1:nveg,1) = taul_vis(1:nveg)
909 taul_table(1:nveg,2) = taul_nir(1:nveg)
910 taus_table(1:nveg,1) = taus_vis(1:nveg)
911 taus_table(1:nveg,2) = taus_nir(1:nveg)
914 inquire( file=
'noahmptable.tbl', exist=file_named )
915 if ( file_named )
then
916 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
918 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
920 if ( ierr /= 0 )
then
921 errmsg =
'warning: cannot find file noahmptable.tbl'
926 read(15, noahmp_stas_soil_categories)
927 if ( trim(sltype) ==
"stas" )
then
928 read(15, noahmp_soil_stas_parameters)
929 elseif ( trim(sltype) ==
"stas_ruc" )
then
930 read(15, noahmp_soil_stas_ruc_parameters)
932 write(*,
'("warning: unrecognized soiltype in subroutine readnoahmptable")')
933 write(*,
'("warning: dataset_identifier = ''", a, "''")') trim(sltype)
939 bexp_table(1:slcats) = bb(1:slcats)
940 smcdry_table(1:slcats) = drysmc(1:slcats)
941 smcmax_table(1:slcats) = maxsmc(1:slcats)
942 smcref_table(1:slcats) = refsmc(1:slcats)
943 psisat_table(1:slcats) = satpsi(1:slcats)
944 dksat_table(1:slcats) = satdk(1:slcats)
945 dwsat_table(1:slcats) = satdw(1:slcats)
946 smcwlt_table(1:slcats) = wltsmc(1:slcats)
947 quartz_table(1:slcats) = qtz(1:slcats)
948 bvic_table(1:slcats) = bvic(1:slcats)
949 axaj_table(1:slcats) = axaj(1:slcats)
950 bxaj_table(1:slcats) = bxaj(1:slcats)
951 xxaj_table(1:slcats) = xxaj(1:slcats)
952 bdvic_table(1:slcats) = bdvic(1:slcats)
953 gdvic_table(1:slcats) = gdvic(1:slcats)
954 bbvic_table(1:slcats) = bbvic(1:slcats)
957 inquire( file=
'noahmptable.tbl', exist=file_named )
958 if ( file_named )
then
959 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
961 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
963 if ( ierr /= 0 )
then
964 errmsg =
'warning: cannot find file noahmptable.tbl'
969 read(15, noahmp_general_parameters)
973 slope_table(1:num_slope) = slope_data(1:num_slope)
974 csoil_table = csoil_data
975 refdk_table = refdk_data
976 refkdt_table = refkdt_data
977 frzk_table = frzk_data
978 zbot_table = zbot_data
979 czil_table = czil_data
982 inquire( file=
'noahmptable.tbl', exist=file_named )
983 if ( file_named )
then
984 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
986 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
989 errmsg =
'warning: cannot find file noahmptable.tbl'
994 read(15,noahmp_rad_parameters)
998 albsat_table(:,1) = albsat_vis
999 albsat_table(:,2) = albsat_nir
1000 albdry_table(:,1) = albdry_vis
1001 albdry_table(:,2) = albdry_nir
1002 albice_table = albice
1003 alblak_table = alblak
1004 omegas_table = omegas
1005 betads_table = betads
1006 betais_table = betais
1011 inquire( file=
'noahmptable.tbl', exist=file_named )
1012 if ( file_named )
then
1013 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1015 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1018 errmsg =
'warning: cannot find file noahmptable.tbl'
1023 read(15,noahmp_global_parameters)
1029 timean_table = timean
1030 fsatmx_table = fsatmx
1033 snow_ret_fac_table = snow_ret_fac
1034 snow_emis_table = snow_emis
1037 grain_growth_table = grain_growth
1038 extra_growth_table = extra_growth
1039 dirt_soot_table = dirt_soot
1040 bats_cosz_table = bats_cosz
1041 bats_vis_new_table = bats_vis_new
1042 bats_nir_new_table = bats_nir_new
1043 bats_vis_age_table = bats_vis_age
1044 bats_nir_age_table = bats_nir_age
1045 bats_vis_dir_table = bats_vis_dir
1046 bats_nir_dir_table = bats_nir_dir
1047 rsurf_snow_table = rsurf_snow
1048 rsurf_exp_table = rsurf_exp
1069 inquire( file=
'noahmptable.tbl', exist=file_named )
1070 if ( file_named )
then
1071 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1073 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1076 errmsg =
'warning: cannot find file noahmptable.tbl'
1081 read(15,noahmp_irrigation_parameters)
1085 irr_frac_table = irr_frac
1086 irr_har_table = irr_har
1087 irr_lai_table = irr_lai
1088 irr_mad_table = irr_mad
1089 filoss_table = filoss
1090 sprir_rate_table = sprir_rate
1091 micir_rate_table = micir_rate
1092 firtfac_table = firtfac
1093 ir_rain_table = ir_rain
1096 inquire( file=
'noahmptable.tbl', exist=file_named )
1097 if ( file_named )
then
1098 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1100 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1103 errmsg =
'warning: cannot find file noahmptable.tbl'
1108 read(15,noahmp_crop_parameters)
1112 default_crop_table = default_crop
1113 pltday_table = pltday
1115 plantpop_table = plantpop
1117 gddtbase_table = gddtbase
1118 gddtcut_table = gddtcut
1124 c3psni_table(1:5) = c3psni(1:5)
1125 kc25i_table(1:5) = kc25i(1:5)
1126 akci_table(1:5) = akci(1:5)
1127 ko25i_table(1:5) = ko25i(1:5)
1128 akoi_table(1:5) = akoi(1:5)
1129 avcmxi_table(1:5) = avcmxi(1:5)
1130 vcmx25i_table(1:5) = vcmx25i(1:5)
1131 bpi_table(1:5) = bpi(1:5)
1132 mpi_table(1:5) = mpi(1:5)
1133 folnmxi_table(1:5) = folnmxi(1:5)
1134 qe25i_table(1:5) = qe25i(1:5)
1138 tassim0_table = tassim0
1139 tassim1_table = tassim1
1140 tassim2_table = tassim2
1144 lefreez_table = lefreez
1145 fra_gr_table = fra_gr
1146 lfmr25_table = lfmr25
1147 stmr25_table = stmr25
1148 rtmr25_table = rtmr25
1149 grainmr25_table = grainmr25
1150 bio2lai_table = bio2lai
1151 dile_fc_table(:,1) = dile_fc_s1
1152 dile_fc_table(:,2) = dile_fc_s2
1153 dile_fc_table(:,3) = dile_fc_s3
1154 dile_fc_table(:,4) = dile_fc_s4
1155 dile_fc_table(:,5) = dile_fc_s5
1156 dile_fc_table(:,6) = dile_fc_s6
1157 dile_fc_table(:,7) = dile_fc_s7
1158 dile_fc_table(:,8) = dile_fc_s8
1159 dile_fw_table(:,1) = dile_fw_s1
1160 dile_fw_table(:,2) = dile_fw_s2
1161 dile_fw_table(:,3) = dile_fw_s3
1162 dile_fw_table(:,4) = dile_fw_s4
1163 dile_fw_table(:,5) = dile_fw_s5
1164 dile_fw_table(:,6) = dile_fw_s6
1165 dile_fw_table(:,7) = dile_fw_s7
1166 dile_fw_table(:,8) = dile_fw_s8
1167 lf_ovrc_table(:,1) = lf_ovrc_s1
1168 lf_ovrc_table(:,2) = lf_ovrc_s2
1169 lf_ovrc_table(:,3) = lf_ovrc_s3
1170 lf_ovrc_table(:,4) = lf_ovrc_s4
1171 lf_ovrc_table(:,5) = lf_ovrc_s5
1172 lf_ovrc_table(:,6) = lf_ovrc_s6
1173 lf_ovrc_table(:,7) = lf_ovrc_s7
1174 lf_ovrc_table(:,8) = lf_ovrc_s8
1175 st_ovrc_table(:,1) = st_ovrc_s1
1176 st_ovrc_table(:,2) = st_ovrc_s2
1177 st_ovrc_table(:,3) = st_ovrc_s3
1178 st_ovrc_table(:,4) = st_ovrc_s4
1179 st_ovrc_table(:,5) = st_ovrc_s5
1180 st_ovrc_table(:,6) = st_ovrc_s6
1181 st_ovrc_table(:,7) = st_ovrc_s7
1182 st_ovrc_table(:,8) = st_ovrc_s8
1183 rt_ovrc_table(:,1) = rt_ovrc_s1
1184 rt_ovrc_table(:,2) = rt_ovrc_s2
1185 rt_ovrc_table(:,3) = rt_ovrc_s3
1186 rt_ovrc_table(:,4) = rt_ovrc_s4
1187 rt_ovrc_table(:,5) = rt_ovrc_s5
1188 rt_ovrc_table(:,6) = rt_ovrc_s6
1189 rt_ovrc_table(:,7) = rt_ovrc_s7
1190 rt_ovrc_table(:,8) = rt_ovrc_s8
1191 lfpt_table(:,1) = lfpt_s1
1192 lfpt_table(:,2) = lfpt_s2
1193 lfpt_table(:,3) = lfpt_s3
1194 lfpt_table(:,4) = lfpt_s4
1195 lfpt_table(:,5) = lfpt_s5
1196 lfpt_table(:,6) = lfpt_s6
1197 lfpt_table(:,7) = lfpt_s7
1198 lfpt_table(:,8) = lfpt_s8
1199 stpt_table(:,1) = stpt_s1
1200 stpt_table(:,2) = stpt_s2
1201 stpt_table(:,3) = stpt_s3
1202 stpt_table(:,4) = stpt_s4
1203 stpt_table(:,5) = stpt_s5
1204 stpt_table(:,6) = stpt_s6
1205 stpt_table(:,7) = stpt_s7
1206 stpt_table(:,8) = stpt_s8
1207 rtpt_table(:,1) = rtpt_s1
1208 rtpt_table(:,2) = rtpt_s2
1209 rtpt_table(:,3) = rtpt_s3
1210 rtpt_table(:,4) = rtpt_s4
1211 rtpt_table(:,5) = rtpt_s5
1212 rtpt_table(:,6) = rtpt_s6
1213 rtpt_table(:,7) = rtpt_s7
1214 rtpt_table(:,8) = rtpt_s8
1215 grainpt_table(:,1) = grainpt_s1
1216 grainpt_table(:,2) = grainpt_s2
1217 grainpt_table(:,3) = grainpt_s3
1218 grainpt_table(:,4) = grainpt_s4
1219 grainpt_table(:,5) = grainpt_s5
1220 grainpt_table(:,6) = grainpt_s6
1221 grainpt_table(:,7) = grainpt_s7
1222 grainpt_table(:,8) = grainpt_s8
1223 lfct_table(:,1) = lfct_s1
1224 lfct_table(:,2) = lfct_s2
1225 lfct_table(:,3) = lfct_s3
1226 lfct_table(:,4) = lfct_s4
1227 lfct_table(:,5) = lfct_s5
1228 lfct_table(:,6) = lfct_s6
1229 lfct_table(:,7) = lfct_s7
1230 lfct_table(:,8) = lfct_s8
1231 stct_table(:,1) = stct_s1
1232 stct_table(:,2) = stct_s2
1233 stct_table(:,3) = stct_s3
1234 stct_table(:,4) = stct_s4
1235 stct_table(:,5) = stct_s5
1236 stct_table(:,6) = stct_s6
1237 stct_table(:,7) = stct_s7
1238 stct_table(:,8) = stct_s8
1239 rtct_table(:,1) = rtct_s1
1240 rtct_table(:,2) = rtct_s2
1241 rtct_table(:,3) = rtct_s3
1242 rtct_table(:,4) = rtct_s4
1243 rtct_table(:,5) = rtct_s5
1244 rtct_table(:,6) = rtct_s6
1245 rtct_table(:,7) = rtct_s7
1246 rtct_table(:,8) = rtct_s8
1249 inquire( file=
'noahmptable.tbl', exist=file_named )
1250 if ( file_named )
then
1251 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1253 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1256 errmsg =
'warning: cannot find file noahmptable.tbl'
1261 read(15,noahmp_tiledrain_parameters)
1265 drain_layer_opt_table = drain_layer_opt
1266 tdsmc_fac_table(1:nsoiltype) = tdsmc_fac(1:nsoiltype)
1267 td_depth_table(1:nsoiltype) = td_depth(1:nsoiltype)
1268 td_dc_table(1:nsoiltype) = td_dc(1:nsoiltype)
1269 td_dcoef_table(1:nsoiltype) = td_dcoef(1:nsoiltype)
1270 td_d_table(1:nsoiltype) = td_d(1:nsoiltype)
1271 td_adepth_table(1:nsoiltype) = td_adepth(1:nsoiltype)
1272 td_radi_table(1:nsoiltype) = td_radi(1:nsoiltype)
1273 td_spac_table(1:nsoiltype) = td_spac(1:nsoiltype)
1274 td_ddrain_table(1:nsoiltype) = td_ddrain(1:nsoiltype)
1275 klat_fac_table(1:nsoiltype) = klat_fac(1:nsoiltype)
1278 inquire( file=
'noahmptable.tbl', exist=file_named )
1279 if ( file_named )
then
1280 open(15, file=
"noahmptable.tbl", status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1282 open(15, status=
'old', form=
'formatted', action=
'read', iostat=ierr)
1285 errmsg =
'warning: cannot find file noahmptable.tbl'
1290 read(15,noahmp_optional_parameters)