From c2f782f237e822491e5b19f2b0ba1102f58a1081 Mon Sep 17 00:00:00 2001 From: santiagoC Date: Tue, 8 Oct 2024 14:54:00 -0500 Subject: [PATCH] month --- src/aclimate_resampling/complete_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aclimate_resampling/complete_data.py b/src/aclimate_resampling/complete_data.py index 47a7940..9d22552 100644 --- a/src/aclimate_resampling/complete_data.py +++ b/src/aclimate_resampling/complete_data.py @@ -209,7 +209,7 @@ def download_era5_data(self,variables=["t_max","t_min","sol_rad"], test = False) 'variable': enum_variables[v]["name"], 'statistic': enum_variables[v]["statistics"], 'year': year, - 'month': [f"{month:02}"], + 'month': [f"{month:02d}"], 'day': days, 'version': self.cdsapi_version, },