You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#931
In the set_forcing_type.c file, line 132-139,
if (strcasecmp("MISSING", ncvarname) != 0) {
strcpy(param_set.TYPE[type].varname, ncvarname);
}
else {
log_err(
"Must supply netCDF variable name for %s forcing file number %d",
optstr, file_num + 1);
}
Is there an error in the phrase, should it be changed to:
if (strcasecmp("MISSING", ncvarname) == 0) {
strcpy(param_set.TYPE[type].varname, ncvarname);
}
else {
log_err(
"Must supply netCDF variable name for %s forcing file number %d",
optstr, file_num + 1);
}
The text was updated successfully, but these errors were encountered:
ZhengWang1003
changed the title
Can't Run vic_image.exe -g global,txt, and the error occured in the file of set_forcing_type.c
Resloved--Can't Run vic_image.exe -g global,txt, and the error occured in the file of set_forcing_type.c
Mar 18, 2023
I fixed this problem by checking my domain.nc, the variables in nc file was wrong, making nc with an extra variable: mouth, delete it, and solved, but a new error happened, #932
#931
In the set_forcing_type.c file, line 132-139,
if (strcasecmp("MISSING", ncvarname) != 0) {
strcpy(param_set.TYPE[type].varname, ncvarname);
}
else {
log_err(
"Must supply netCDF variable name for %s forcing file number %d",
optstr, file_num + 1);
}
Is there an error in the phrase, should it be changed to:
if (strcasecmp("MISSING", ncvarname) == 0) {
strcpy(param_set.TYPE[type].varname, ncvarname);
}
else {
log_err(
"Must supply netCDF variable name for %s forcing file number %d",
optstr, file_num + 1);
}
The text was updated successfully, but these errors were encountered: