diff --git a/Aforc_ECMWF/ERA-Interim_request.py b/Aforc_ECMWF/ERA-Interim_request.py index e50a0bf6d5d745c44ae0c6ef8580559fb9417209..d4b8575d33b012fda65e99f47b4b6a7502357dfb 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 f31b4c90b17fb89a3b146ab2c49cd13d7b79b33c..63b2704ee4474d0d6dbd155492ed7494fb20f3a0 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 %