Skip to content

Commit

Permalink
feat: Add boundary_layer_height (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig authored Sep 13, 2024
1 parent 1c384e1 commit e605c73
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions csharp/openmeteo_sdk/Variable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public enum Variable : byte
cloud_base = 110,
cloud_top = 111,
mass_density = 112,
boundary_layer_height = 113,
};


Expand Down
3 changes: 2 additions & 1 deletion flatbuffers/weather_api.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ enum Variable: ubyte {
ocean_current_direction,
cloud_base,
cloud_top,
mass_density
mass_density,
boundary_layer_height
}

enum Aggregation: ubyte {
Expand Down
3 changes: 2 additions & 1 deletion java/com/openmeteo/sdk/Variable.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ private Variable() { }
public static final int cloud_base = 110;
public static final int cloud_top = 111;
public static final int mass_density = 112;
public static final int boundary_layer_height = 113;

public static final String[] names = { "undefined", "apparent_temperature", "cape", "cloud_cover", "cloud_cover_high", "cloud_cover_low", "cloud_cover_mid", "daylight_duration", "dew_point", "diffuse_radiation", "diffuse_radiation_instant", "direct_normal_irradiance", "direct_normal_irradiance_instant", "direct_radiation", "direct_radiation_instant", "et0_fao_evapotranspiration", "evapotranspiration", "freezing_level_height", "growing_degree_days", "is_day", "latent_heat_flux", "leaf_wetness_probability", "lifted_index", "lightning_potential", "precipitation", "precipitation_hours", "precipitation_probability", "pressure_msl", "rain", "relative_humidity", "runoff", "sensible_heat_flux", "shortwave_radiation", "shortwave_radiation_instant", "showers", "snow_depth", "snow_height", "snowfall", "snowfall_height", "snowfall_water_equivalent", "sunrise", "sunset", "soil_moisture", "soil_moisture_index", "soil_temperature", "surface_pressure", "surface_temperature", "temperature", "terrestrial_radiation", "terrestrial_radiation_instant", "total_column_integrated_water_vapour", "updraft", "uv_index", "uv_index_clear_sky", "vapour_pressure_deficit", "visibility", "weather_code", "wind_direction", "wind_gusts", "wind_speed", "vertical_velocity", "geopotential_height", "wet_bulb_temperature", "river_discharge", "wave_height", "wave_period", "wave_direction", "wind_wave_height", "wind_wave_period", "wind_wave_peak_period", "wind_wave_direction", "swell_wave_height", "swell_wave_period", "swell_wave_peak_period", "swell_wave_direction", "pm10", "pm2p5", "dust", "aerosol_optical_depth", "carbon_monoxide", "nitrogen_dioxide", "ammonia", "ozone", "sulphur_dioxide", "alder_pollen", "birch_pollen", "grass_pollen", "mugwort_pollen", "olive_pollen", "ragweed_pollen", "european_aqi", "european_aqi_pm2p5", "european_aqi_pm10", "european_aqi_nitrogen_dioxide", "european_aqi_ozone", "european_aqi_sulphur_dioxide", "us_aqi", "us_aqi_pm2p5", "us_aqi_pm10", "us_aqi_nitrogen_dioxide", "us_aqi_ozone", "us_aqi_sulphur_dioxide", "us_aqi_carbon_monoxide", "sunshine_duration", "convective_inhibition", "shortwave_radiation_clear_sky", "global_tilted_irradiance", "global_tilted_irradiance_instant", "ocean_current_velocity", "ocean_current_direction", "cloud_base", "cloud_top", "mass_density", };
public static final String[] names = { "undefined", "apparent_temperature", "cape", "cloud_cover", "cloud_cover_high", "cloud_cover_low", "cloud_cover_mid", "daylight_duration", "dew_point", "diffuse_radiation", "diffuse_radiation_instant", "direct_normal_irradiance", "direct_normal_irradiance_instant", "direct_radiation", "direct_radiation_instant", "et0_fao_evapotranspiration", "evapotranspiration", "freezing_level_height", "growing_degree_days", "is_day", "latent_heat_flux", "leaf_wetness_probability", "lifted_index", "lightning_potential", "precipitation", "precipitation_hours", "precipitation_probability", "pressure_msl", "rain", "relative_humidity", "runoff", "sensible_heat_flux", "shortwave_radiation", "shortwave_radiation_instant", "showers", "snow_depth", "snow_height", "snowfall", "snowfall_height", "snowfall_water_equivalent", "sunrise", "sunset", "soil_moisture", "soil_moisture_index", "soil_temperature", "surface_pressure", "surface_temperature", "temperature", "terrestrial_radiation", "terrestrial_radiation_instant", "total_column_integrated_water_vapour", "updraft", "uv_index", "uv_index_clear_sky", "vapour_pressure_deficit", "visibility", "weather_code", "wind_direction", "wind_gusts", "wind_speed", "vertical_velocity", "geopotential_height", "wet_bulb_temperature", "river_discharge", "wave_height", "wave_period", "wave_direction", "wind_wave_height", "wind_wave_period", "wind_wave_peak_period", "wind_wave_direction", "swell_wave_height", "swell_wave_period", "swell_wave_peak_period", "swell_wave_direction", "pm10", "pm2p5", "dust", "aerosol_optical_depth", "carbon_monoxide", "nitrogen_dioxide", "ammonia", "ozone", "sulphur_dioxide", "alder_pollen", "birch_pollen", "grass_pollen", "mugwort_pollen", "olive_pollen", "ragweed_pollen", "european_aqi", "european_aqi_pm2p5", "european_aqi_pm10", "european_aqi_nitrogen_dioxide", "european_aqi_ozone", "european_aqi_sulphur_dioxide", "us_aqi", "us_aqi_pm2p5", "us_aqi_pm10", "us_aqi_nitrogen_dioxide", "us_aqi_ozone", "us_aqi_sulphur_dioxide", "us_aqi_carbon_monoxide", "sunshine_duration", "convective_inhibition", "shortwave_radiation_clear_sky", "global_tilted_irradiance", "global_tilted_irradiance_instant", "ocean_current_velocity", "ocean_current_direction", "cloud_base", "cloud_top", "mass_density", "boundary_layer_height", };

public static String name(int e) { return names[e]; }
}
Expand Down
1 change: 1 addition & 0 deletions kotlin/com/openmeteo/sdk/Variable.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ class Variable private constructor() {
const val cloud_base: UByte = 110u
const val cloud_top: UByte = 111u
const val mass_density: UByte = 112u
const val boundary_layer_height: UByte = 113u
}
}
1 change: 1 addition & 0 deletions python/openmeteo_sdk/Variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,4 @@ class Variable(object):
cloud_base = 110
cloud_top = 111
mass_density = 112
boundary_layer_height = 113
3 changes: 2 additions & 1 deletion swift/Sources/OpenMeteoSdk/weather_api_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,9 @@ public enum openmeteo_sdk_Variable: UInt8, Enum, Verifiable {
case cloudBase = 110
case cloudTop = 111
case massDensity = 112
case boundaryLayerHeight = 113

public static var max: openmeteo_sdk_Variable { return .massDensity }
public static var max: openmeteo_sdk_Variable { return .boundaryLayerHeight }
public static var min: openmeteo_sdk_Variable { return .undefined }
}

Expand Down
3 changes: 2 additions & 1 deletion ts/variable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,6 @@ export enum Variable {
ocean_current_direction = 109,
cloud_base = 110,
cloud_top = 111,
mass_density = 112
mass_density = 112,
boundary_layer_height = 113
}

0 comments on commit e605c73

Please sign in to comment.