|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Noah-MP's canopy-resistance parameters, roughness length and monthly leaf area index by land-use category, for the two-stream surface energy balance (erf.radiation.seb_vegetation_type). More...
#include <AMReX_REAL.H>#include <cstdio>#include <string>

Go to the source code of this file.
Classes | |
| struct | NoahMPVegetationParams |
Functions | |
| const NoahMPVegetationParams * | noahmp_vegetation_params (int category) noexcept |
The parameters of MODIS land-use category category (1-20), as Noah-MP reads them. More... | |
| amrex::Real | noahmp_leaf_area_index (const NoahMPVegetationParams ¶ms, amrex::Real day, amrex::Real days_in_year, bool southern) noexcept |
Leaf area index of params on day of year day, interpolated between the monthly values as Noah-MP does for its table-LAI options (PhenologyMainMod): month index 12 * day / days_in_year, linear between the two nearest months, wrapping December to January. In the southern hemisphere Noah-MP shifts the day by half a year first; pass southern = true for that. More... | |
| bool | noahmp_day_of_year (const std::string &datetime, amrex::Real &day, amrex::Real &days_in_year) |
| The day of the year, as Noah-MP counts it, of a date "YYYY-MM-DD[ HH:MM[:SS]]" (ERF's start_datetime). More... | |
Variables | |
| constexpr int | noahmp_num_vegetation_categories = 20 |
Noah-MP's canopy-resistance parameters, roughness length and monthly leaf area index by land-use category, for the two-stream surface energy balance (erf.radiation.seb_vegetation_type).
The 20 categories of the modified IGBP MODIS land-use dataset and their values in &noahmp_modis_parameters of Submodules/Noah-MP/parameters/NoahmpTable.TBL – the table Noah-MP itself reads – copied here so the balance can use them in builds without Noah-MP. The CTest NoahMPSoilTable_MatchesSubmodule (Tests/check_noahmp_soil_table.py) fails if the two drift apart.
|
inline |
The day of the year, as Noah-MP counts it, of a date "YYYY-MM-DD[ HH:MM[:SS]]" (ERF's start_datetime).
The day is Noah-MP's DayJulianInYear, which PhenologyMainMod takes as 0 <= day < days_in_year. It is 0 at 00:00 on 1 January, and the time of day is added as a fraction. days_in_year is 365 or 366.
Referenced by RadChoice::init_params().

|
inlinenoexcept |
Leaf area index of params on day of year day, interpolated between the monthly values as Noah-MP does for its table-LAI options (PhenologyMainMod): month index 12 * day / days_in_year, linear between the two nearest months, wrapping December to January. In the southern hemisphere Noah-MP shifts the day by half a year first; pass southern = true for that.
Referenced by RadChoice::init_params().

|
inlinenoexcept |
The parameters of MODIS land-use category category (1-20), as Noah-MP reads them.
Referenced by RadChoice::init_params(), TwoStreamRadiation::seb_surface_moisture(), and ERF::set_surface_layer_skin().

|
inlineconstexpr |
Number of MODIS land-use categories; categories are numbered from 1, as in Noah-MP.
Referenced by noahmp_vegetation_params().