plot global variable with nans #5705
Answered
by
keewis
raybellwaves
asked this question in
Q&A
-
The default Here's is a file with u10 (u component of wind at 10 m) and swh (significant wave height)
AFAICT only difference is swh has NaNs Same behavior with pcolomesh
|
Beta Was this translation helpful? Give feedback.
Answered by
keewis
Aug 13, 2021
Replies: 1 comment 2 replies
-
there seems to be something wrong with your data: ds.swh.where(ds.swh.notnull(), drop=True).plot() results in the expected plot, but the latitude and longitude coordinates cover only 0 to 180 degrees on the northern hemisphere (despite the plot covering the whole globe). Maybe there's something wrong with the processing steps producing this dataset? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
raybellwaves
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there seems to be something wrong with your data:
results in the expected plot, but the latitude and longitude coordinates cover only 0 to 180 degrees on the northern hemisphere (despite the plot covering the whole globe).
Maybe there's something wrong with the processing steps producing this dataset?