Skip to content
Snippets Groups Projects
Commit bfca5779 authored by Alexander Hinz's avatar Alexander Hinz
Browse files

dendro: adjustment in writing process

parent bc7cb930
No related branches found
No related tags found
3 merge requests!31Dendro,!28Dendro,!23Major rework of the entire pipeline
This commit is part of merge request !28. Comments created here will be created in the context of that merge request.
......@@ -175,9 +175,7 @@ def main(station, device, start_date, end_date, debug):
# corrections in index Order and not setted flags
final = final.sort_index()
for a, b, c in grouper(3, final):
final[a] = final[a].replace(np.nan, -9999)
final[b] = final[b].replace(np.nan, -9999)
final[c] = final[c].replace(np.nan, 92)
final = final.fillna({a: NODATA, b: NODATA, c: 92})
writeData(final, device)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment