Skip to content

fdk_format_drivers works for rsofun pmodel, but not rsofun BiomeE model. #103

Description

@fabern

fdk_format_drivers() aims to generate a driver object for the rsofun package. This includes:

  • defining the time series forcing based on the FDK data
  • defining other constant parameters to run the rsofun model
    • for pmodel
    • for BiomeE

These additional parameters have previously been defined in the fdk_format_drivers() for the pmodel part of the rsofun package (params_siml), but not yet for the BiomeE part (requiring site_info, params_siml, params_tile, params_species, params_soil, init_cohort). Below a list of the quantitites that need to be defined.

  • To make it work with BiomE-model in a similar way, the following additional parameters would need to be defined, too:

    • site_info (needed, but passed as argument to fdk_format_drivers):
      • lon, lat, evl, year_start, year_end, classid, c4, whc, koeppen_code, igbp_land_use, plant_functional_type, date_start, and date_end
    • params_siml containing:
      • spinup, spinupyears, recycle, firstyeartrend, nyeartrend, steps_per_day, do_U_shaped_mortality, update_annualLAImax, do_closedN_run, method_photosynth, method_mortality
    • params_tile containing:
      • soiltype, FLDCAP, WILTPT, K1, K2, K_nitrogen, MLmixRatio, etaN, LMAmin, fsc_fine, fsc_wood, GR_factor, l_fract, retransN, f_initialBSW, f_N_add, tf_base, par_mort, par_mort_under
    • params_species containing:
      • lifeform, phenotype, pt, alpha_FR, rho_FR, root_r, root_zeta, Kw_root, leaf_size, Vmax, Vannual, wet_leaf_dreg, m_cond, alpha_phot, gamma_L, gamma_LN, gamma_SW, gamma_FR, tc_crit, tc_crit_on, gdd_crit, betaON, betaOFF, alphaHT, thetaHT, alphaCA, thetaCA, alphaBM, thetaBM, seedlingsize, maturalage, v_seed, mortrate_d_c, mortrate_d_u, LMA, leafLS, LNbase, CNleafsupport, rho_wood, taperfactor, lAImax, tauNSC, fNSNmax, phiCSA, CNleaf0, CNsw0, CNwood0, CNroot0, CNseed0, Nfixrate0, NfixCost0, internal_gap_frac, kphio, phiRL, LAI_light
    • params_soil containing:
      • type, GMD, GSD, vwc_sat, chb, psi_sat_ref, k_sat_ref, alphaSoil, heat_capacity_dry
    • init_cohort containing:
      • init_n_cohorts, init_cohort_species, init_cohort_nindivs, init_cohort_bl, init_cohort_br, init_cohort_bsw, init_cohort_bHW, init_cohort_seedC, init_cohort_nsc
    • init_soil containing:
      • init_fast_soil_C, init_slow_soil_C, init_Nmineral, N_input
  • Note that defining these default parameters creates a version dependency between FDK and rsofun. It might be more robust to define default parameters for rsofun in the rsofun package (e.g. creating a rsofun::biomee_default_params = list(params_sim = ..., params_species = ...)) and using them from within the FluxDataKit::fdk_format_drivers function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions