Last active
April 28, 2021 23:45
-
-
Save hot007/2e482b951603670f24ee03b4e7de4b9f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that the input netCDF data contains a "scale factor", which for significant wave height
hs
is 0.002. Xarray is netCDF-aware and knows what to do with this, which is why when we plot the data it comes out in the range 0-2.5m.It may be possible to do area extraction not only point, I recommend point here to avoid hitting THREDDS server limits. It's fine to experiment with area extraction but unintuitive errors may result.
Although I ran this on an HPC interactive node, this code could be executed on a laptop and it shouldn't take much longer - we're not taking advantage of the HPC here.