Skip to content

Clarifying the meaning of NA in .open_dataset docs #7914

Answered by andersy005
yutik-nn asked this question in Q&A
Discussion options

You must be logged in to vote

It is honestly extremely confusing. There is NA (which is clearly not a NaN). And there is a formula according to which FillValue is constructed.

apologies for the confusion, @yutik-nn. NA in this context is not a separate concept from NaN. the distinction can sometimes be a bit confusing because different libraries or contexts may use NA or NaN to mean slightly different things, but in the context of Xarray, they are used interchangeably to represent missing data.

Could anyone provide a clarification for this option, please?

  • _FillValue: This attribute specifies a value that should be used to represent missing or undefined data. This is similar to how you might use NaN in NumPy to i…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by andersy005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #7904 on June 12, 2023 23:49.