ERA5 - wind_v doesn't appear to impact wind_uv
I noticed that the absolute values obtained from loading wind_u
and wind_uv
are the same, as thoughwind_uv
is simply the square root of wind_u
squared. To confirm, when I load wind_v
itself, there are reasonable looking values (e.g. not 0).
I haven't been able to track down where this problem is arising in the source code.
I am using Kadlu version 2.2.3 installed from PyPI on macOS Mojave (10.14.6) with the most recent version of Python (Anaconda 3.8.5).
The code block below provides a minimal example to reproduce this behavior, with the output of the cell being True
.
kw = dict(start=datetime(2016, 3, 9) , end=datetime(2016,3,11),
south=44.5541333 - ns_offset, west=-64.17682 - ew_offset,
north=44.5541333 + ns_offset, east=-64.17682 + ew_offset,
top=0, bottom=0)
(abs(kadlu.era5().load_wind_uv(**kw)) == abs(kadlu.era5().load_wind_u(**kw))).all()
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information