Skip to content

Commit

Permalink
update biasCorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Sep 11, 2024
1 parent 56bdbe0 commit de6b675
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 154 deletions.
21 changes: 0 additions & 21 deletions DATA/PROJECT/testHighlanderBias/testHighlanderBiasSettings.ini

This file was deleted.

2 changes: 1 addition & 1 deletion agrolib/criteriaOutput/criteriaOutputProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ int CriteriaOutputProject::initializeProject(const QString &settingsFileName, co
return ERROR_SETTINGS_WRONGFILENAME;
}

if (!readSettings())
if (! readSettings())
{
projectError = "Read settings: " + projectError;
return ERROR_SETTINGS_MISSINGDATA;
Expand Down
2 changes: 2 additions & 0 deletions agrolib/dbMeteoGrid/dbMeteoGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3062,6 +3062,7 @@ bool Crit3DMeteoGridDbHandler::saveListHourlyData(QString *errorStr, QString met
return true;
}


bool Crit3DMeteoGridDbHandler::saveListDailyData(QString *errorStr, QString meteoPointID, QDate firstDate, meteoVariable meteoVar, QList<float> values, bool reverseOrder)
{
QSqlQuery qry(_db);
Expand Down Expand Up @@ -3111,6 +3112,7 @@ bool Crit3DMeteoGridDbHandler::saveListDailyData(QString *errorStr, QString mete
return false;
}
}

return true;
}

Expand Down
4 changes: 3 additions & 1 deletion agrolib/utilities/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ Logger::Logger()

bool Logger::setLog(QString path, QString fileName, bool addDateTime)
{
if (!QDir(path + "log").exists())
if (! QDir(path + "log").exists())
{
QDir().mkdir(path + "log");
}

m_showDate = true;
if (!fileName.isEmpty())
Expand Down
Loading

0 comments on commit de6b675

Please sign in to comment.