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

Unexpected type changes #299

Open
danielfromearth opened this issue Oct 31, 2024 · 0 comments
Open

Unexpected type changes #299

danielfromearth opened this issue Oct 31, 2024 · 0 comments

Comments

@danielfromearth
Copy link
Collaborator

Summary


Alex discovered an unexpected change of an original file's data type after being consumed by l2ss-py.

Description


When using the subsetter to retrieve parts of granules from TEMPO_HCHO_L2_V02_20240801* scan 8 (S008), the "main_data_quality_flag" was converted to 32-bit float:

image

whereas in the original file it is a 16-bit integer:

image

Impact


Although plotting code was able to work with the output, this may either be an issue or an undocumented aspect. Also, for this case, processes dealing with the converted file are then using more memory than needed.

Desired change


The two pathways that come to mind are either:

  • L2SS can improve the documentation of this behavior
  • L2SS can ensure data types stay the same
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

1 participant