convert_to_efi_standard: Convert units and names to CF and Ecological Forecasting...

View source: R/convert_to_efi_standard.R

convert_to_efi_standardR Documentation

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)

Arguments

df

data frame output by get_ensemble_forecast

Value

data frame

Examples

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()


ropenmeteo documentation built on Sept. 11, 2024, 7:52 p.m.