Browse Source

Added new datasource for HYCOM

master
Michael Uleysky 1 month ago
parent
commit
2d46db5bea
  1. 6
      sources/HYCOM.h

6
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")

Loading…
Cancel
Save