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
  • #58

Closed
Open
Created Apr 07, 2020 by Oliver Kirsebom@kirsebomOwner

Bug in plot2D

Below attempt to call plot2D for a small geopgrahic regions fails. The problem seems to be that wind data is tabulated with resolution of only 0.5 degrees. Therefore, we only retrieve data for a single latitude (44 degrees). Then, plot2D attempts to interpolate using griddata, which leads to error. Perhaps changing from method 'linear' to 'nearest' can fix the problem?

from datetime import datetime
from kadlu.plot_util import plot2D

bounds = dict(
               south=43.53, north=44.29, west=-59.84, east=-58.48,
               start=datetime(2015,1,1), end=datetime(2015,1,2), 
               top=0, bottom=10000
             )

plot2D(var='bathy', source='chs', plot_wind='wwiii', **bounds)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking