From 109b72992a9f60c1cd7b927400c6774f61aefcfd Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Mon, 14 Oct 2024 18:03:53 +0100 Subject: [PATCH] change ~ to not --- pvnet_app/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pvnet_app/app.py b/pvnet_app/app.py index 9450cd5..802c0c8 100644 --- a/pvnet_app/app.py +++ b/pvnet_app/app.py @@ -186,10 +186,10 @@ def app( # Download NWP data logger.info("Downloading NWP data") - download_all_nwp_data(download_ukv=~use_ecmwf_only) + download_all_nwp_data(download_ukv=not use_ecmwf_only) # Preprocess the NWP data - preprocess_nwp_data(use_ukv=~use_ecmwf_only) + preprocess_nwp_data(use_ukv=not use_ecmwf_only) # --------------------------------------------------------------------------- # 2. Set up models