mirror of https://github.com/ecmwf/eccodes.git
Parameters: Fix cfName for legacy ECMWF parameters (discipline 192)
This commit is contained in:
parent
93b0fa9ada
commit
a9ecad64c7
|
@ -545,6 +545,8 @@ static char* get_legacy_param_info(const char* key_name, long paramId)
|
|||
if (strcmp(key_name, "name")==0) return "Surface net thermal radiation, clear sky";
|
||||
if (strcmp(key_name, "cfVarName")==0) return "strc";
|
||||
if (strcmp(key_name, "cfName")==0) return "surface_net_downward_longwave_flux_assuming_clear_sky";
|
||||
} else if (paramId == 228051 || paramId == 228053 || paramId == 228057 || paramId == 228058 || paramId == 228059 || paramId == 228060) {
|
||||
if (strcmp(key_name, "cfName")==0) return "unknown";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue