Reference-Compatible Outdoor Wet Bulb Globe Temperature

Computes outdoor wet bulb globe temperature using the reference-compatible Liljegren numerical model described by Liljegren et al. (2008) . Provides dependency-free, vectorized access to the native calculation with explicit input units, per-row validation, and deterministic failure reporting.


lwbgt

lwbgt provides dependency-free, vectorized R access to the reference-compatible Liljegren outdoor wet bulb globe temperature kernel. Input names and units match the native and Python APIs.

Install the latest release from R-universe:

install.packages("lwbgt", repos = "https://zyf0717.r-universe.dev")

Or install the latest GitHub release directly from this repository's r/ subdirectory:

install.packages("remotes", repos = "https://cloud.r-project.org")
remotes::install_github("zyf0717/lwbgt/r@*release")
input <- lwbgt_input(
    year = 2024, month = 4, day = 15, hour = 14, minute = 30,
    gmt_offset_hours = 8, averaging_minutes = 60, urban = 1,
    latitude_deg_north = 1.3521, longitude_deg_east = 103.8198,
    solar_w_m2 = 742, pressure_hpa = 1008.4,
    air_temperature_c = 32.1, relative_humidity_percent = 68,
    wind_speed_m_s = 2.8, wind_height_m = 10,
    vertical_temperature_difference_c = 1
)
calculate(input)
esat(273.15)

Rows with missing, invalid, or non-convergent inputs return a nonzero status and NA numerical outputs without preventing other rows from being calculated.

The package contains a modified Liljegren WBGT v1.1 derivative. See the installed LICENSE, LICENSES/, and NOTICE files for redistribution terms and required acknowledgements. It is not affiliated with or endorsed by the original authors, UChicago Argonne, or the U.S. Department of Energy.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lwbgt")

1.0.1 by Yifei Zheng, 21 days ago


https://github.com/zyf0717/lwbgt, https://zyf0717.r-universe.dev/lwbgt


Report a bug at https://github.com/zyf0717/lwbgt/issues


Browse source code at https://github.com/cran/lwbgt


Authors: Yifei Zheng [aut, cre, cph] (ORCID: , James C. Liljegren [ctb] , Nels Larson [ctb] , UChicago Argonne , LLC [cph]


Documentation:   PDF Manual  


Apache License (== 2.0) license



See at CRAN