Parameters: Fix cfName for legacy ECMWF parameters (discipline 192)

This commit is contained in:
Shahram Najm 2019-09-30 13:13:37 +01:00
parent 93b0fa9ada
commit a9ecad64c7
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}