Skip to content
Snippets Groups Projects
Verified Commit 00b6c4f9 authored by David Hoese's avatar David Hoese
Browse files

Fix bug in NetCDF creation masking all values

parent eb11ac85
Branches
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ def _get_data(input_files):
def get_data(input_files):
frame = pd.DataFrame(_get_data(input_files))
frame = frame.set_index('stamp').mask(frame == -99999.).fillna(value=np.nan)
frame = frame.set_index('stamp')
frame = frame.mask(frame == -99999.).fillna(value=np.nan)
return frame
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment