Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masked data in time series #45

Open
jfigui opened this issue Jun 14, 2023 · 1 comment
Open

Masked data in time series #45

jfigui opened this issue Jun 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jfigui
Copy link
Collaborator

jfigui commented Jun 14, 2023

This issue concerns the process_point_measurement function in process_timeseries.py.

The function stores the data at the point of interest but ignores the mask. Masked data will therefore take an arbitrary value but information about the data being masked will be lost. On the other hand, if we get the actual masked value, which is "--" we have to be careful to convert it to an arbitrary float when writing the .csv file of time series in function write_ts_polar_data of PLOT_AND_WRITE_POINT and reconvert bug to a masked value in function read_timeseries to be able to perform the right time series plot.

@wolfidan, what do you thing we should do?

@jfigui jfigui added the bug Something isn't working label Jun 14, 2023
@wolfidan
Copy link
Collaborator

Hi @jfigui , couldn't we just use NaN ?

I know that pandas digests NaN both in reading and writing, but I know that we don't use pandas for these particular functions. I will check on monday how we could do it, but I would prefer NaN than any arbitrary float.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants