Skip to content

Commit

Permalink
meteorology-bz-forecast: fix missing data types
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Nov 22, 2023
1 parent 281ca44 commit 027d743
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ public void collectForecastData()
SimpleRecordDto absPrecMin = new SimpleRecordDto(modelTimestamp, dto.info.absPrecMin, dataC.period12h);

modelMeasurements.addRecord(dto.info.model, ModelDataTypes.airTemperatureMax.key, absTempMax);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.airTemperatureMax.key, absTempMin);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.airTemperatureMax.key, absPrecMax);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.airTemperatureMax.key, absPrecMin);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.airTemperatureMin.key, absTempMin);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.precipitationMax.key, absPrecMax);
modelMeasurements.addRecord(dto.info.model, ModelDataTypes.precipitationMin.key, absPrecMin);

////////////////////
// Forecast Data
Expand Down Expand Up @@ -150,7 +150,7 @@ public void collectForecastData()

// temperature min 24 hours
for (ForecastDouble data : municipality.tempMin24.data) {
addDoubleRecord(measurements, municipality.code, data, DataTypes.airTemperatureMax.key,
addDoubleRecord(measurements, municipality.code, data, DataTypes.airTemperatureMin.key,
dataC.period24h);
}
// temperature max 24 hours
Expand Down

0 comments on commit 027d743

Please sign in to comment.