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

saving null timeseries values #105

Open
Enovotny opened this issue Oct 21, 2024 · 1 comment
Open

saving null timeseries values #105

Enovotny opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@Enovotny
Copy link
Collaborator

Enovotny commented Oct 21, 2024

To save a missing/null timeseries value using CDA the values needs to be
value = -340282346638528859811704183484516925440
quality code = 5

changes to CDA are being made to change this. Steps for task

  1. check the new behavior in CDA
  2. incorporate the new behavior into the timeseries_df_to_json function to convert null values to the required values
  3. add a parameter such as write_null that if true with convert null values to missing in the databases. If false it will remove null values before saving to the database.
@Enovotny Enovotny self-assigned this Oct 21, 2024
@MikeNeilson
Copy link

NOTE: null is now an acceptable value. quality should be set to 5, but with null it is not required by the default database configuration.

specifically

values: [
  [ 1234439, null, 5]
]

null without quotes is a normal and expected value in JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants