Learn R Programming

ropenmeteo (version 0.1.1)

convert_to_efi_standard: Convert units and names to CF and Ecological Forecasting Initiative standard

Description

Output units:

  • air_temperature: K

  • relative_humidity: proportion

  • surface_downwelling_longwave_flux_in_air: W m-2

  • surface_downwelling_shortwave_flux_in_air: W m-2

  • precipitation_flux: kg m-2 s-1

  • wind_speed: m s-1

  • air_pressure: Pa

  • cloud_cover: proportion

Usage

convert_to_efi_standard(df)

Value

data frame

Arguments

df

data frame output by get_ensemble_forecast

Examples

Run this code
file <- system.file("extdata", "test-data.csv", package="ropenmeteo")
df <- readr::read_csv(file, show_col_types = FALSE)
df  |>
  add_longwave() |>
  convert_to_efi_standard()

Run the code above in your browser using DataLab