Skip to content

Commit

Permalink
pulizia commenti debugging interpolazione
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Volta authored and Antonio Volta committed Mar 12, 2024
1 parent 00c9d24 commit f3dccf6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pragaProject/pragaProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,7 @@ bool PragaProject::interpolationMeteoGrid(meteoVariable myVar, frequencyType myF
}
else
{

if (! interpolationGrid(myVar, myTime))
return false;
}
Expand Down
5 changes: 5 additions & 0 deletions project/project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2584,6 +2584,10 @@ bool Project::interpolationGrid(meteoVariable myVar, const Crit3DTime& myTime)

if (interpolationSettings.getUseLocalDetrending())
{
if (row == 80 && col == 67)
{
std::cout << "cella individuata" << std::endl;
}
std::vector <Crit3DInterpolationDataPoint> subsetInterpolationPoints;
localSelection(interpolationPoints, subsetInterpolationPoints, myX, myY, interpolationSettings);
preInterpolation(subsetInterpolationPoints, &interpolationSettings, meteoSettings, &climateParameters, meteoPoints, nrMeteoPoints, myVar, myTime);
Expand All @@ -2592,6 +2596,7 @@ bool Project::interpolationGrid(meteoVariable myVar, const Crit3DTime& myTime)
if (interpolatedValue > 9000)
{
std::cout << "valore sballato" << std::endl;
std::cout << "riga " << row << " colonna " << col << std::endl;
}
}
else
Expand Down

0 comments on commit f3dccf6

Please sign in to comment.