Commit 9c85e116 authored by Pierre Cazenave's avatar Pierre Cazenave

Add new data sets from the HYCOM server (post-2014).

parent b8bacc91
......@@ -68,6 +68,7 @@ function data = get_HYCOM_forcing(Mobj, modelTime, varargin)
% though the reanalysis exists up to 2012.
% 2016-01-04 Add support for the three hourly output data for the 19.0
% and 19.1 experiments.
% 2016-07-06 Add new data sets from the HYCOM server (post-2014).
%
%==========================================================================
......@@ -477,8 +478,12 @@ elseif time >= greg2mjulian(2009, 5, 7, 0, 0, 0) && time < greg2mjulian(2011, 1,
url = 'http://tds.hycom.org/thredds/dodsC/GLBa0.08/expt_90.8?';
elseif time >= greg2mjulian(2011, 1, 3, 0, 0, 0) && time < greg2mjulian(2013, 8, 21, 0, 0, 0)
url = 'http://tds.hycom.org/thredds/dodsC/GLBa0.08/expt_90.9?';
elseif time >= greg2mjulian(2013, 8, 21, 0, 0, 0) && time <= greg2mjulian(t1, t2, t3, t4, t5, t6)
elseif time >= greg2mjulian(2013, 8, 21, 0, 0, 0) && time < greg2mjulian(2014, 4, 21, 0, 0, 0):
url = 'http://tds.hycom.org/thredds/dodsC/GLBa0.08/expt_91.0?';
elseif time >= greg2mjulian(2014, 4, 21, 0, 0, 0) && time < greg2mjulian(2016, 4, 18, 0, 0, 0):
url = 'http://tds.hycom.org/thredds/dodsC/GLBa0.08/expt_91.1?';
elseif time >= greg2mjulian(2016, 4, 18, 0, 0, 0) && time <= greg2mjulian(t1, t2, t3, t4, t5, t6):
url = 'http://tds.hycom.org/thredds/dodsC/GLBa0.08/expt_91.2?';
elseif time > greg2mjulian(t1, t2, t3, t4, t5, t6)
error('Given date is in the future.')
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment