From ceab70f626b515b54d927d8525af455e96750ab3 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ipsl.fr> Date: Mon, 21 Oct 2024 18:31:57 +0200 Subject: [PATCH] Add default values to arguments Add default values to arguments of function `plot_velocity`. --- Inst_eddies/Analysis/plot_velocity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inst_eddies/Analysis/plot_velocity.py b/Inst_eddies/Analysis/plot_velocity.py index 0f5115b1..dcf70830 100755 --- a/Inst_eddies/Analysis/plot_velocity.py +++ b/Inst_eddies/Analysis/plot_velocity.py @@ -15,7 +15,7 @@ import netCDF4 import wind_cartopy -def plot_velocity(input_file, window, undefined, scale): +def plot_velocity(input_file, window=None, undefined=False, scale=20): with netCDF4.Dataset(input_file) as f: if "lon" in f.variables: lon = "lon" -- GitLab