Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kadlu kadlu
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • kadlukadlu
  • Issues
  • #68

Closed
Open
Created Aug 14, 2020 by Jillian Anderson@jilliana

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
Assignee
Assign to
Time tracking