Skip to content

Commit

Permalink
WG2D
Browse files Browse the repository at this point in the history
  • Loading branch information
voltAntonio committed Jan 22, 2019
1 parent 3901657 commit d04ab89
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion weatherGenerator2D/wg2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,19 @@ void weatherGenerator2D::precipitationP00P10()
if (obsDataD[idStation][i+1].prec <= parametersModel.precipitationThreshold)
occurrence00[month-1]++;
}
if (month == 1)
{
printf("%d/%d/%d ",obsDataD[idStation][i].date.day,obsDataD[idStation][i].date.month,obsDataD[idStation][i].date.year);
printf("month %d n10 %d n00 %d \n",month,occurrence10[month-1],occurrence00[month-1]);
pressEnterToContinue();
}
}
}
}
}
for (int month=0;month<12;month++)
{
printf("month %d n00 %d \n",month,occurrence00[month]);
printf("month %d n10 %d n00 %d \n",month,occurrence10[month],occurrence00[month]);
}
pressEnterToContinue();
for (int month=0;month<12;month++)
Expand Down

0 comments on commit d04ab89

Please sign in to comment.