From 0dbc27bad0e71613a794d88ddddc4b07e01dacb9 Mon Sep 17 00:00:00 2001 From: Gildas Cambon <gildas.cambon@ird.fr> Date: Thu, 9 Feb 2023 12:43:40 +0100 Subject: [PATCH] Small cleaning : bug in some typos --- Aforc_ECMWF/ERA-Interim_request.py | 10 +++++----- crocotools_param.m | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Aforc_ECMWF/ERA-Interim_request.py b/Aforc_ECMWF/ERA-Interim_request.py index e50a0bf6..d4b8575d 100755 --- a/Aforc_ECMWF/ERA-Interim_request.py +++ b/Aforc_ECMWF/ERA-Interim_request.py @@ -98,10 +98,10 @@ lonmin = str(float(lonmin)-dl) lonmax = str(float(lonmax)+dl) latmin = str(float(latmin)-dl) latmax = str(float(latmax)+dl) -print 'lonmin-dl = ', lonmin -print 'lonmax+dl =', lonmax -print 'latmin-dl =', latmin -print 'latmax+dl =', latmax +print ('lonmin-dl = ', lonmin) +print ('lonmax+dl =', lonmax) +print ('latmin-dl =', latmin) +print ('latmax+dl =', latmax) ###################### @@ -171,7 +171,7 @@ for year in range(yearStart, yearEnd+1): date = str(yearBefore) + "-" + monthBefore2 + "-" + \ str(nDays) + "/to/" + str(yearNext) + "-" + monthNext2 + "-01" - print 'date=', date + print ('date=', date) # 1. Sea surface temperature filename = 'EI_ecmwf_SSTK_' + str(year) + str(month2) + '.nc' diff --git a/crocotools_param.m b/crocotools_param.m index f31b4c90..63b2704e 100644 --- a/crocotools_param.m +++ b/crocotools_param.m @@ -434,15 +434,15 @@ if strcmp(OGCM,'mercator') % For GLORYS 12 reanalysis extraction + download using python motuclient % ======================== raw_mercator_name = 'mercator'; - kdata="MONTHLY" ; % or DAILY + kdata='MONTHLY' ; % or DAILY motu_url_reana='http://my.cmems-du.eu/motu-web/Motu'; service_id_reana='GLOBAL_MULTIYEAR_PHY_001_030-TDS'; - if strcmp(kdata,"DAILY") + if strcmp(kdata,'DAILY') product_id_reana='cmems_mod_glo_phy_my_0.083_P1D-m'; - elseif strcmp(kdata,"MONTHLY") + elseif strcmp(kdata,'MONTHLY') product_id_reana='cmems_mod_glo_phy_my_0.083_P1M-m' else - disp("Please specify what reanalysis frequency you want (DAILY or MONTHLY)") + disp('Please specify what reanalysis frequency you want (DAILY or MONTHLY)') end end % -- GitLab