Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions qubed_meteo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ name = "qubed_meteo"
version = "0.1.0"
edition = "2024"

[workspace]
members = [
"../py_qubed_meteo",
]

[dependencies]
qubed = { path = "../qubed" }
serde = "1.0.228"
serde_json = "1.0.145"
rsfdb = { git = "https://github.com/ecmwf/rsfdb" , optional = true}
rsfdb = { git = "https://github.com/ecmwf/rsfdb", optional = true }

[features]
default = []
Expand Down
12 changes: 3 additions & 9 deletions qubed_meteo/src/adapters/fdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,10 @@ mod tests {

#[test]
#[cfg(feature = "rsfdb-support")]
#[ignore = "requires a live FDB; set FDB5_CONFIG_FILE before running"]
fn test_from_fdb_list_basic() {
// Ensure FDB config is set (adjust path for local environment if needed)
let config_path =
env::current_dir().unwrap().join("/Users/male/git/fdb-home/etc/fdb/config.yaml");
unsafe {
std::env::set_var(
"FDB5_CONFIG_FILE",
config_path.to_str().expect("Invalid config path"),
);
}
// FDB5_CONFIG_FILE must be set in the environment before running this test.
// Do not hardcode any local paths here.

let request_map = json!({
"class" : "od",
Expand Down
Loading
Loading