-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
category: BugSomething isn't workingSomething isn't workingnever staleNever label this issue as staleNever label this issue as staletopic: RegriddingIssues pertaining to horizontal & vertical regriddingIssues pertaining to horizontal & vertical regridding
Milestone
Description
Name and Institution (Required)
Name: Melissa Sulprizio
Institution: Harvard
Description of your issue or question
When trying to create plots comparing 12-km (0.125x0.15625 degree) lat-lon grid to other resolutions, I am getting a similar error as reported in #313.
ValueError: operands could not be broadcast together with shapes (402,447) (402,416)
I am able to plot the 0.125x0.15625 output against itself, but I noticed the resolution string is incorrect. For example:

I added debug statements in grid.py for the longitude:
[-129.984 -129.8277 -129.6714... -60.5868 -60.4305 -60.2742]
which returns the longitude resolution of
0.15629999999998745
I suspect there's an issue with numerical roundoff happening and we haven't encountered it because previous resolution strings haven't extended beyond 4 decimal places.
Metadata
Metadata
Assignees
Labels
category: BugSomething isn't workingSomething isn't workingnever staleNever label this issue as staleNever label this issue as staletopic: RegriddingIssues pertaining to horizontal & vertical regriddingIssues pertaining to horizontal & vertical regridding