Skip to content

Commit

Permalink
fix: Forgot to register UKMO seamless (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Aug 7, 2024
1 parent e8f3a78 commit 75305e7
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/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public enum Model : byte
ecmwf_ifs_analysis_long_window = 79,
ukmo_global_deterministic_10km = 80,
ukmo_uk_deterministic_2km = 81,
ukmo_seamless = 82,
};


Expand Down
3 changes: 2 additions & 1 deletion flatbuffers/weather_api.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ enum Model: ubyte {
ecmwf_ifs_long_window,
ecmwf_ifs_analysis_long_window,
ukmo_global_deterministic_10km,
ukmo_uk_deterministic_2km
ukmo_uk_deterministic_2km,
ukmo_seamless
}

enum Variable: ubyte {
Expand Down
3 changes: 2 additions & 1 deletion java/com/openmeteo/sdk/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ private Model() { }
public static final int ecmwf_ifs_analysis_long_window = 79;
public static final int ukmo_global_deterministic_10km = 80;
public static final int ukmo_uk_deterministic_2km = 81;
public static final int ukmo_seamless = 82;

public static final String[] names = { "undefined", "best_match", "gfs_seamless", "gfs_global", "gfs_hrrr", "meteofrance_seamless", "meteofrance_arpege_seamless", "meteofrance_arpege_world", "meteofrance_arpege_europe", "meteofrance_arome_seamless", "meteofrance_arome_france", "meteofrance_arome_france_hd", "jma_seamless", "jma_msm", "jms_gsm", "jma_gsm", "gem_seamless", "gem_global", "gem_regional", "gem_hrdps_continental", "icon_seamless", "icon_global", "icon_eu", "icon_d2", "ecmwf_ifs04", "metno_nordic", "era5_seamless", "era5", "cerra", "era5_land", "ecmwf_ifs", "gwam", "ewam", "glofas_seamless_v3", "glofas_forecast_v3", "glofas_consolidated_v3", "glofas_seamless_v4", "glofas_forecast_v4", "glofas_consolidated_v4", "gfs025", "gfs05", "CMCC_CM2_VHR4", "FGOALS_f3_H_highresSST", "FGOALS_f3_H", "HiRAM_SIT_HR", "MRI_AGCM3_2_S", "EC_Earth3P_HR", "MPI_ESM1_2_XR", "NICAM16_8S", "cams_europe", "cams_global", "cfsv2", "era5_ocean", "cma_grapes_global", "bom_access_global", "bom_access_global_ensemble", "arpae_cosmo_seamless", "arpae_cosmo_2i", "arpae_cosmo_2i_ruc", "arpae_cosmo_5m", "ecmwf_ifs025", "ecmwf_aifs025", "gfs013", "gfs_graphcast025", "ecmwf_wam025", "meteofrance_wave", "meteofrance_currents", "ecmwf_wam025_ensemble", "ncep_gfswave025", "ncep_gefswave025", "knmi_seamless", "knmi_harmonie_arome_europe", "knmi_harmonie_arome_netherlands", "dmi_seamless", "dmi_harmonie_arome_europe", "metno_seamless", "era5_ensemble", "ecmwf_ifs_analysis", "ecmwf_ifs_long_window", "ecmwf_ifs_analysis_long_window", "ukmo_global_deterministic_10km", "ukmo_uk_deterministic_2km", };
public static final String[] names = { "undefined", "best_match", "gfs_seamless", "gfs_global", "gfs_hrrr", "meteofrance_seamless", "meteofrance_arpege_seamless", "meteofrance_arpege_world", "meteofrance_arpege_europe", "meteofrance_arome_seamless", "meteofrance_arome_france", "meteofrance_arome_france_hd", "jma_seamless", "jma_msm", "jms_gsm", "jma_gsm", "gem_seamless", "gem_global", "gem_regional", "gem_hrdps_continental", "icon_seamless", "icon_global", "icon_eu", "icon_d2", "ecmwf_ifs04", "metno_nordic", "era5_seamless", "era5", "cerra", "era5_land", "ecmwf_ifs", "gwam", "ewam", "glofas_seamless_v3", "glofas_forecast_v3", "glofas_consolidated_v3", "glofas_seamless_v4", "glofas_forecast_v4", "glofas_consolidated_v4", "gfs025", "gfs05", "CMCC_CM2_VHR4", "FGOALS_f3_H_highresSST", "FGOALS_f3_H", "HiRAM_SIT_HR", "MRI_AGCM3_2_S", "EC_Earth3P_HR", "MPI_ESM1_2_XR", "NICAM16_8S", "cams_europe", "cams_global", "cfsv2", "era5_ocean", "cma_grapes_global", "bom_access_global", "bom_access_global_ensemble", "arpae_cosmo_seamless", "arpae_cosmo_2i", "arpae_cosmo_2i_ruc", "arpae_cosmo_5m", "ecmwf_ifs025", "ecmwf_aifs025", "gfs013", "gfs_graphcast025", "ecmwf_wam025", "meteofrance_wave", "meteofrance_currents", "ecmwf_wam025_ensemble", "ncep_gfswave025", "ncep_gefswave025", "knmi_seamless", "knmi_harmonie_arome_europe", "knmi_harmonie_arome_netherlands", "dmi_seamless", "dmi_harmonie_arome_europe", "metno_seamless", "era5_ensemble", "ecmwf_ifs_analysis", "ecmwf_ifs_long_window", "ecmwf_ifs_analysis_long_window", "ukmo_global_deterministic_10km", "ukmo_uk_deterministic_2km", "ukmo_seamless", };

public static String name(int e) { return names[e]; }
}
Expand Down
1 change: 1 addition & 0 deletions kotlin/com/openmeteo/sdk/Model.kt
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@ class Model private constructor() {
const val ecmwf_ifs_analysis_long_window: UByte = 79u
const val ukmo_global_deterministic_10km: UByte = 80u
const val ukmo_uk_deterministic_2km: UByte = 81u
const val ukmo_seamless: UByte = 82u
}
}
1 change: 1 addition & 0 deletions python/openmeteo_sdk/Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ class Model(object):
ecmwf_ifs_analysis_long_window = 79
ukmo_global_deterministic_10km = 80
ukmo_uk_deterministic_2km = 81
ukmo_seamless = 82
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 @@ -141,8 +141,9 @@ public enum openmeteo_sdk_Model: UInt8, Enum, Verifiable {
case ecmwfIfsAnalysisLongWindow = 79
case ukmoGlobalDeterministic10km = 80
case ukmoUkDeterministic2km = 81
case ukmoSeamless = 82

public static var max: openmeteo_sdk_Model { return .ukmoUkDeterministic2km }
public static var max: openmeteo_sdk_Model { return .ukmoSeamless }
public static var min: openmeteo_sdk_Model { return .undefined }
}

Expand Down
3 changes: 2 additions & 1 deletion ts/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ export enum Model {
ecmwf_ifs_long_window = 78,
ecmwf_ifs_analysis_long_window = 79,
ukmo_global_deterministic_10km = 80,
ukmo_uk_deterministic_2km = 81
ukmo_uk_deterministic_2km = 81,
ukmo_seamless = 82
}

0 comments on commit 75305e7

Please sign in to comment.