From 2d46db5bea30525c53868bc1c02c9926cf094ca1 Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Wed, 20 Nov 2024 12:40:50 +1000 Subject: [PATCH] Added new datasource for HYCOM --- sources/HYCOM.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sources/HYCOM.h b/sources/HYCOM.h index 87194af..45453f2 100644 --- a/sources/HYCOM.h +++ b/sources/HYCOM.h @@ -8,6 +8,7 @@ class HYCOMData: public LayeredData TYPE_UNKNOWN, TYPE_REANALYSIS, TYPE_HINDCAST, + TYPE_NRT, TYPE_FORECAST }; @@ -24,7 +25,8 @@ class HYCOMData: public LayeredData { case(TYPE_REANALYSIS): return "GOFS 3.1: 41-layer HYCOM + NCODA Global 1/12 Reanalysis"; case(TYPE_HINDCAST): return "GOFS 3.1: 41-layer HYCOM + NCODA Global 1/12 Analysis Hindcast"; - case(TYPE_FORECAST): return "GOFS 3.1: 41-layer HYCOM + NCODA Global 1/12 Analysis Forecast"; + case(TYPE_NRT): return "ESPC-D-V02: Global 1/12 Analysis Archive"; + case(TYPE_FORECAST): return "ESPC-D-V02: Global 1/12 Forecast"; default: return "No title"; } } @@ -37,6 +39,8 @@ class HYCOMData: public LayeredData GPL.UsePrefix("HYCOM"); if(dataset == "Forecast") type = TYPE_FORECAST; + else if(dataset == "NRT") + type = TYPE_NRT; else if(dataset == "Hindcast") type = TYPE_HINDCAST; else if(dataset == "Reanalysis")